Feed

This extension contains functions for using Atom and RSS feeds.  Related Links: Extension Overview, DekiScript Overview, Extension Demos.

Assembly: mindtouch.deki.services
SID: http://services.mindtouch.com/deki/draft/2007/06/feed
License: none

This service requires Deki Wiki 1.8.2 or later.

To enable this extension, follow these steps:

  1. Go to Service management in the Control Panel of your wiki.
  2. Under Add Service, click on Local, and select type Extension.
  3. Enter a description and the extension SID: http://services.mindtouch.com/deki/draft/2007/06/feed
  4. Add any additional configuration settings that are required by the extension (see below).
  5. Click on add service.

Functions:

  1. feed.list
  2. feed.table

feed.list(feed : uri, max : num) : xml

Show Atom/RSS feed as a list.

Parameters:

Name Type Description
feed uri
Feed URI (Atom or RSS)
max
num
Optional.  Max items to display (default: nil)

Samples:


Output

To embed the complete MindTouch feed as a list:

{{ feed.list("http://feeds.feedburner.com/Mindtouch") }} 

./CompleteFeedAsList.JPG

To embed only the 5 most recent stories from the MindTouch feed as a list:

{{ feed.list("http://feeds.feedburner.com/Mindtouch", 5) }} 

./Max5AsList.JPG


feed.table(feed : uri, max : num) : xml

Show Atom/RSS feed as a table.

Parameters:

Name Type Description
feed uri
Feed URI (Atom or RSS)
max
num
Optional.  Max items to display (default: nil)

Samples: 


Output

To embed the complete MindTouch feed as a table:

{{ feed.table("http://feeds.feedburner.com/Mindtouch") }} 

./CompleteFeedAsTable.JPG

To embed only the 5 most recent stories from the MindTouch feed as a table:

{{ feed.table("http://feeds.feedburner.com/Mindtouch", 5) }} 

./Max5AsTable.JPG

 

Tag page
You must login to post a comment.
Powered by MindTouch Deki v.8.08.2