Get RSS data

You can modify your API call to receive an RSS feed instead of the standard JSON. by adding rss to the API URL, like this:

https://www.kimonolabs.com/api/rss/{API_ID}?apikey={YOUR_API_KEY}

The HTTP header in the RSS response returns with an application/xml content type and conforms to the standard RSS 2.0 specification.

To build an RSS feed with kimono, you must make sure your API has only one collection, and that the collection contains at least a one property. If you want to populate your RSS feed with description, author, pubDate or comments, you must create properties on your API with the appropriate property names.

PropertyDescription
title  The title of the item (must also be a link to the content)
description The item synopsis
author Author of the item
category Category for the item
pubDate When the item was published
comments  Comments URL (must be a link to a comments page)

Once you've created an API with the appropriate property names, the output looks like this:

<rss version="2.0">
  <channel>
    <title>HackernewsPagination</title>
    <description>kimono RSS feed</description>
    <link>https://news.ycombinator.com/</link>
    <item>
      <title>Yes, The CIA Spied On Congress</title>
      <link>http://dish.andrewsullivan.com/2014/03/05/the-cia-spied/</link>
      <author>interpares</author>
      <comments>https://news.ycombinator.com/item?id=7351710</comments>
    </item>
    <item>
      <title>This website has a lot of unclosed h3 tags</title>
      <link>http://www.sewingandembroiderywarehouse.com/embtrb.htm</link>
      <author>austenallred</author>
      <comments>https://news.ycombinator.com/item?id=7351838</comments>
    </item>
    <item>
      <title>I am not an introvert. I am just busy</title>
      <link>http://blog.tabini.ca/i-am-not-an-introvert--i-am-just-busy-/</link>
      <author>mtabini</author>
      <comments>https://news.ycombinator.com/item?id=7351430</comments>
    </item>
  </channel>
</rss>
Powered by Zendesk