我继承了一块使用Google Feed API的JavaScript。 它调用此Feed并从TypePad返回XML: http://simplystated.realsimple.com/simplystated/adventores-in-chaos/ss.xml 如果我使用Firefox的视图源查看此源,我会看到底层的XML。有一个 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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top