"Feed it" (API) Was established to help web developers and programmers to take advantage of the "Feed it" services , the current version is 1.0 API and has one service
- feed-it service : to get the RSS link for custom website .
you can get three output formats as a result of the RSS-Link
1- Normal Text (text / plain) .
2- XML format .
3- JSON format .
two errors can happened :
- error 0:There is no RSS link for this site
- you request wrong website or the server of the website not response
to get the RSS link for custom website . and it's located at
http://feedit.shamekh.ws/api/1.0/feed-it/
Parameters :-
url = the website link that you want to get the RSS link for it .
format = the format of the result (you can use : xml , text , json)(text by default) .
Example :-
http://feedit.shamekh.ws/api/1.0/feed-it/?url=www.shamekh.ws&format=xml
result :-
-Text
http://shamekh.ws/?feed=rss2
-XML
-JSON
{"RSS-Link":"http:\/\/shamekh.ws\/?feed=rss2"}
when you request a website doesn't have RSS link you will get something like that
Text
XML
<response>
<error num="0">There is no RSS link for this site</error>
</response>
JSON
{"error":["0","There is no RSS link for this site"]}
Copyright © 2008 example.com. All Rights Reserved.
home | API