Ticket #2506 (assigned enhancement)

Opened 2 years ago

Last modified 3 months ago

RSS support in template language for topics, authors, sections, etc.

Reported by: douglas Assigned to: mugur (accepted)
Priority: high Milestone: 3.5
Component: Template Engine Version:
Severity: feature Keywords:

Description (Last modified by mugur)

Campsite's current support for RSS is handled somewhat externally; Tamamtech's special template or set of templates must be used in order to get RSS feeds output from Campsite.

Ideally, though, RSS support would be handled directly in the template language.

RSS feeds should be generated automatically, taking advantage of the 3.0 use of caching to create static pages friendly to all RSS aggregators. (Some aggregators have a hard time with RSS feeds generated dynamically).

I'm not sure what the best way to handle this would be. One possible way would be to handle it the same way the URI object is used.

An automatically-generated RSS feed could look like this. (Please excuse my lack of Smarty syntax.)

<a href={{URI}}>{{ print topic name }}</a><a href={{RSS}}><img src="rss.png"></a>

Preferences for RSS/Atom feeds could be set in a tab in the admin interface. This could handle parameters like:

- the length of the feed item

- the type of feed (RSS 0.91, RSS 2.0 or Atom)

- link to a CSS stylesheet for formatting

- whether the posts should automatically include attachments (not sure how to resolve multiple attachments, though, as RSS only allows one attachment per post)

Development time estimation: 5 days

Change History

11/22/07 17:34:32 changed by douglas

  • description changed.

07/17/08 21:40:42 changed by sava

  • milestone set to 3.2.

07/17/08 23:09:40 changed by sava

  • priority changed from normal to high.

12/17/08 18:31:21 changed by mugur

  • owner changed from anonymous to mugur.
  • status changed from new to assigned.

12/23/08 19:01:26 changed by mugur

  • description changed.

12/23/08 19:54:16 changed by mugur

  • milestone changed from 3.2 to 3.3.

05/13/09 09:26:41 changed by mugur

  • version deleted.

05/13/09 18:03:37 changed by mugur

  • milestone changed from 3.3 to 3.4.

06/23/09 14:57:38 changed by mugur

  • milestone changed from 3.4 to 3.5.