Google Feed API a-t-il ajouté des balises XML qui manquent?
-
15-11-2019 - |
Question
J'ai hérité d'un morceau de JavaScript qui utilise l'API Google Feed API.
Il appelle cette alimentation et retourne XML de TypePad:
http://simplystate.realsimple.com/simplystated/adventures-in-chaos/rss.xml
Si j'appuie ce flux à l'aide de la source de vue de Firefox, je vois le XML sous-jacent.Il y a un
Après avoir appelé l'API, lorsque je regarde les résultats.xmldocument, je remarque qu'il existe un champ
Est-ce que l'API Google Flow normalise l'alimentation?
La solution
The way I understand it, you don't get the original feed; you get a feed from Google's servers. Google loads the original feed and then feeds it back to you. Since you can even change the feed format (like to JSON or XML) I think it's safe to assume that Google will always transform and normalize it before giving it back to you.