문제

I am building an RSS Reader. Some of the existing ones out there (for example, Pulse News for iPhone/iPad) have a search box where you can search for some term (example - "sports") and it will return a list of feeds that match your search criteria. So in this example, you type in "sports", and it searches and then comes back with ESPN.com's news feed, Yahoo! Sports' news feed, etc. etc.

After initial research, I found out that Google feed API does the same. https://code.google.com/intl/fr/apis/ajaxfeeds/documentation/reference.html#findFeeds

However, I cant figure out how to use the google feed api. It returns the xml that i need to parse but the part I am confused is how to call the API and where to catch the xml response. Can some one post a tutorial or some help on how to integrate it.

도움이 되었습니까?

해결책

Found a suitable solution with "Google Feed API" itself. They also have a JSON API(wow!!) which returns the JSON file for any query fired.. Here is the link: https://ajax.googleapis.com/ajax/services/feed/find?v=1.0&q=

e.g: https://ajax.googleapis.com/ajax/services/feed/find?v=1.0&q=News

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top