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 Tag XML.

Après avoir appelé l'API, lorsque je regarde les résultats.xmldocument, je remarque qu'il existe un champ qui n'était pas là auparavant.

Est-ce que l'API Google Flow normalise l'alimentation?

Était-ce utile?

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top