Simple example (News)
Start with the "Basic RSS Source Template" from the Infinit.e.Manager - Sources GUI:
...
Code Block | ||
---|---|---|
| ||
{ "description": "A test RSS news feed, using OpenCalais", "extractType": "Feed", "isPublic": true, "mediaType": "News", "tags": [ "news", "england" ], "rss": {"waitTimeOverride_ms": 1000}, "title": "BBC News", "url": "http://feeds.bbci.co.uk/news/rss.xml?edition=uk", "useExtractor": "OpenCalais" } |
Complex example (Twitter)
By contrast the next example does not use any of the commercial extraction engines (in practice, "AlchemyAPI-metadata" could be used), instead it uses the custom scripting engine based on regex and Javascript.
...