Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Simple example (News)

Start with the "Basic RSS Source Template" from the source builder GUI:

 {
    "communityIds": ["4c927585d591d31d7b37097a"],
    "description": "Create a description of your source here.",
    "extractType": "Feed",
    "harvestBadSource": false,
    "isApproved": true,
    "isPublic": true,
    "mediaType": "Social",
    "tags": [
        "tag1",
        "tag2"
    ],
    "title": "Basic RSS Source Template",
    "url": "http://blahblahblah.com/blah.rss"
}

It is assumed you have obtained an OpenCalais or AlchemyAPI key and configured the Infinit.e properties file. If not do that first.

Then modify the title and description, and select a standard News RSS feed, eg:

Also add the field "useExtractor", and set it to:

  • "AlchemyAPI" if you have an AlchemyAPI key
  • "OpenCalais" if you have an OpenCalais key

This results in a source that looks something like (with ignored fields deleted):

  {
    "description": "A test RSS news feed, using OpenCalais",
    "extractType": "Feed",
    "isPublic": true,
    "mediaType": "News",
    "tags": [
        "news",
        "england"
    ],
    "title": "BBC News",
    "url": "http://feeds.bbci.co.uk/news/rss.xml?edition=uk",
    "useExtractor": "OpenCalais"
}

Complex example (Twitter)

TODO twitter

  • No labels