feedmap Service APIs

Here you can find the ("RESTful") feedmap APIs and corresponding documentation. If you have any issues or questions, use the feedmap Discussion list.

Service end-point:

http://www.feedmap.org/blogmap/services/rest.ashx

method: blogmap.getblogmap

Input parameters:

  • feed - feed url that is registered with feedmap.
  • width - width of the map image.
  • height - height of the map image.

Sample:
http://www.feedmap.org/blogmap/services/rest.ashx?method=blogmap.getblogmap&feed=http://www.csthota.com/blog/rss.aspx

Notes

  • When successful (stat=200), this method always returns a map url and blog details.
  • Blog "coords" attribute represents the pixel coordinates on the map image.
  • When not successful (stat=500), this method returns an error node.

method: blogmap.search

Input parameters:

  • place - input place as a string, around which blogs are searched for.
  • lat - input latitude coordinate, around which blogs are searched for.
  • lon - input longitude coordinate, around which blogs are searched for.
  • distance - distance from the center of the input place; all blogs within this distance are returned.
  • count - number of blogs you want the search to return.
  • width - width of the returned map image.
  • height - height of the returned map image.

Sample:

http://www.feedmap.org/blogmap/services/rest.ashx?method=blogmap.search&place=redmond,wa

http://www.feedmap.org/blogmap/services/rest.ashx?method=blogmap.search&lat=47&lon=-122&count=10

Notes

  • Either a place or lat/lon coordinates must be passed to this method.
  • When both place and lat/lon are passed, place is considered for searching.
  • When successful (stat=200), this method always returns a map url and blog details.
  • Blog "coords" attribute represents the pixel coordinates on the map image.
  • When not successful (stat=500), this method returns an error node.
  • Distance must be between 1 and 500 (miles). This parameter is optional. Default distance is 50 KM.
  • Count must be between 1 and 100; This parameter is optional. Maximum number of blogs returned per request are 100.
  • Both height and width of the map image are optional. Defailt h/w are 400/600 pixels.