MantisBT: master a9becc6a

Author Committer Branch Timestamp Parent
vboctor master 2004-02-10 06:37 master f75873bc
Changeset

Fixed 0003548: Support RSS for news syndication.

M news_inc.php

  • Factored some common code into this include file. Didn't put it in API since they are mainly news specific print code.

A news.php

  • A page that displays one news item. The RSS links points to this page with the appropriate news id.

A news_rss.php

  • Page to generate RSS v2 files.

M main_page.php

  • Used refactored code from news_inc.php
  • Added a link to the news_rss.php page.

M core/news_api.php

  • Some formatting
  • news_get_limited_rows(): Gets the news rows that should be displayed in one page as per configuration.
  • news_get_field(): Get the field with the specified name for the specified news entry.
  • news_is_private(): Checks if the specified news is private or public.

M lang/strings_english.txt

  • Added "RSS"

A core/class.RSSBuilder.inc.php

  • RSSBuilder class by Michael Wimmer.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2336 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9

mod - doc/ChangeLog Diff File
add - news.php Diff File
mod - core/news_api.php Diff File
mod - lang/strings_english.txt Diff File
add - core/class.RSSBuilder.inc.php Diff File
mod - news_inc.php Diff File
add - news_rss.php Diff File
mod - main_page.php Diff File