Latest JAS v1.1.0
144 plugins online

RSS API

JAS already support RSS formats for parsing and rendering but it should also have an API. It will probably be limited to read-only and it will be somewhat different from the other APIs. The idea is to work with templates to have some flexibility in defining the message format. Additionally it should probably support default rendering for all modules. 

Modules

/api/rss/module name/ will generate an Atom 1.0 feed like so:
  • <title>Title field value</title>
  • <summary>Same as content tag but  stripped of all special characters and limited to X number of characters </summary>
  • <content type="html"> First non default field value </content>
  • <link href="First url field value or file/image link" />
  • <updated>Updated field value</updated>
  • <id>Database ID</id>

Template

/api/rss/t/template name/rss-2.0/ will generate a RSS 2.0 feed based on the template configuration (configRSS?):

  • <title>Title template, e.g. #subject#</title>
  • <description>Message template, e.g.  #message#<br/>#file# (#fileSize#) </description>
  • <link>Link template, e.g. http://example.com/blog/108/#subject replace(' ', _)# </link>
  • <guid>http://example.com/blog/108/ </guid>
  • <pubDate>Configured date/time field value</pubDate>

Note that the URLs will also need to support non-rewrite, e.g. /api/rss/?m=module name or /api/rss/?t=template name&format=rss-2.0
JAS15NOV003
Project
JAS Core (JAS)
Rank
3
Workflow
Version
Due in version

Updates (3)

Wednesday 25th of November 2015 at 13:26 :
Issue updated
Description: JAS already support RSS forma... => JAS already support RSS forma...
Wednesday 25th of November 2015 at 13:32 :
Issue updated
Description: JAS already support RSS forma... => JAS already support RSS forma...
Thursday 28th of April 2016 at 10:53 :
Issue updated
Due in version: 1.1.0 => 1.2.0

Files (0)

No files