WikiWebLog
From Meta, a Wikimedia project coordination wiki
Downloads
|
On August 19, 2006, WikiWebLog v2.1 was released. This release fixes long standing bugs with processing blog entries including a pipe (|) in the text. But as a result, the format for <blog> has changed and is not backwards compatible with prior versions.
WikiWebLog is an extension for MediaWiki (the software behind Wikipedia and this website) provides a rudimentary blogging interface through the wiki. Through WikiWebLog, this is also presented on the main page as an automatically updating news feed. Additionally, as of version 1.0, WikiWebLog is capable of publishing Atom and RSS feeds based on the blog data.
[edit] Installation
To install WikiWebLog, follow these directions:
- $WIKIROOT is the directory for the root of your MediaWiki installation.
- Copy the file above to $WIKIROOT/extensions
- Edit $WIKIROOT/LocalSettings.php to include this line:
include("extensions/wikiweblog-2.0.php");
[edit] Usage
To use WikiWebLog, include the tag <blog> to open the protected section. The protected section is then closed with </blog>
From there, multiple options are available:
- title - Set the blog entry title
- author - Set the author's name, currently ignored
- date - Set the date of the entry
- link - A URL the entry should link to
- body - Contains the main text of the article
Additionally, if title is empty, there is an additional option:
- limit - Set a limit on displayed entries
To enable Atom and RSS feeds for a particular blog page, you must wrap your <blog>-entries in <feed> and </feed>. For any page with <blog>-entries wrapped in <feed>, appending ?feed=atom or ?feed=rss will cause the page to generate a news feed.
[edit] Example
[edit] Source
<blog title="Search Engine" date="July 11, 2005" link="http://www.google.com"> This is a blog entry for the Google search engine. </blog> <blog title="Happy 4th of July" date="July 4, 2005" link="/WikiRaw"> This is a link to [http://www.mediawiki.com MediaWiki]. </blog>
[edit] View
Please see JamesHoward:WikiWebLog for this rendered.
[edit] Other Users
- FatBlog - From StoneCypher's website