Google Feed API가 누락 된 XML 태그를 추가합니까?
-
15-11-2019 - |
문제
Google 피드 API를 사용하는 JavaScript를 상속 받았습니다.
이 피드를 호출하고 TypePad에서 XML을 반환합니다.
http://simplystated.realsimple.com/simplystated/adventures-in-chaos./rss.xml
Firefox의보기 소스를 사용 하여이 피드를 보면 기본 XML을 참조하십시오.
API를 호출 한 후에는 결과를 볼 때 필드가 <작성자> 필드가 있음을 알 수 있습니다.
Google 피드 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