AideRSSmantra

Feed ID

From AideRSS API Documentation

Contents

feed_id

http://api.aiderss.com/feed_id

Returns the internal ID for the URL specified or an error message if the URL is not found.

Parameters

HTTP GET

  • appkey=[string] : An Application Key (usually your domain name).
  • format=[xml|json|text] : The format to return data in.
  • link=[url] : The URL to return an internal ID for.
  • priority=[70-00] : (Optional) The priority to assign to the feed if it needs to be imported. 70 is most important, 100 is least important.
  • callback=[jsonp callback] : (Optional) Callback for JSONP data.

Returns

An ID or error.

Example Response

XML

http://api.aiderss.com/feed_id?appkey=aiderss.com&format=xml&url=http://aliasaria.ca/blog/feed/

Result
<?xml version="1.0" encoding="UTF-8"?>
<results>
	<link>http://aliasaria.ca/blog/feed/</link>
	<feed_id>99</feed_id>
</results>
Errors
<?xml version="1.0" encoding="UTF-8"?>
<results>
	<error>Collecting data</error>
	<progress>0</progress>
</results>

JSON

http://api.aiderss.com/feed_id?appkey=aiderss.com&format=json&url=http://aliasaria.ca/blog/feed/

Result
{"link":"http:\/\/aliasaria.ca\/blog\/feed","feed_id":99}
Errors
{ "error": "Collecting data", "progress": 0 }

Text

http://api.aiderss.com/feed_id?appkey=aiderss.com&format=text&url=http://aliasaria.ca/blog/feed/

Result
99
Errors
Collecting data