Google Feed APIがXMLタグを追加していますか?
-
15-11-2019 - |
質問
Google Feed APIを使用するJavaScriptを継承しました。
これはこのフィードを呼び出してTypePadからXMLを返します。
http://simplystated.realsimple.com/simplystated/adventures-in-chaos./rss.xml
Firefoxのビューソースを使用してこのフィードを表示すると、基礎となるXMLが表示されます。
APIを呼び出した後、結果.xmldocumentを見たとき、私は前にそこにない<著者>フィールドがあることに気付く。
Google Feed APIはフィードを正規化しますか?
解決
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.
所属していません StackOverflow