Extension:News Channel

Purpose and usage
If you want to make a custom RSS 2.0 news channel on your wiki, you simply install this extension, create some category (e. g. ) and register it as news category. Then, if you want to publish a news item on your RSS channel, you create an article on your wiki, include it into that news category and save it. The article will be instantly published on the channel: it's title will be the headline and it's text will be the description of news item. Basic wiki markup is automatically removed from news pages during publication to make them readable in RSS format.

Installation

 * 1) Download the extension code.
 * 2) Unzip and save the code files in your wiki's   directory in a subdirectory.
 * 3) Changes your wiki's LocalSettings.php to include the line:

Configuration settings
All 12 configuration settings are set in variables in the beginning of NewsChannel_body.php file. Here are the sample settings and their description.

Channel title: var $channelTitle = 'MyWikiSite.com News'; Channel description, preferably just one sentence: var $channelDescription = 'The most hot IT news on MyWikiSite.com.'; Link to your site: var $channelSiteLink = 'http://www.mywikisite.com'; Channel language: var $channelLanguage = 'en-us'; Channel copyright: var $channelCopyright = 'Copyright © MyWikiSite.com. All rights reserved.'; Channel logo - only JPG, GIF or PNG formats are allowed; recommended default size is 88x31: var $channelLogoImage = 'http://www.mywikisite.com/rssicon.gif'; Time in minutes before channel cache invalidation occurs: var $channelUpdateSeconds = '10'; Default number of recent (most fresh) news to list on the channel var $channelNewsItems = '10'; E-mail of chief channel editor: var $channelEditorAddress = 'newseditor@mywikisite.com'; E-mail of channel webmaster: var $channelWebMasterAddress = 'webmaster@mywikisite.com'; Title of category, containing news articles: var $newsWikiCategory = 'News'; Optional prefix to remove from news article titles (to clean channel headlines): var $newsWikiArticlePrefix = 'News/';

Contacts
If you would like to report a bug, request a feature, or could help with localization (extension messages translation), please, send me a letter to [mailto:codedriller@gmail.com codedriller@gmail.com]. By the way, if you need advanced bot functionality for your wiki, take a look at free DotNetWikiBot Framework, that I maintain.