Utilisateur:Plyd/Category Feeds

Voici mon projet de Category Feeds proposé au Google Summer of Code.

Extrait de mon application

modifier

Here is my official application for category feeds (I've already sent a proposition on wiki-techl). It seems that the RSS part has been partly done yet, but it is not yet included in category pages, and the inclusion part is completely new.

[...]

I propose to add two main things:

  • RSS feed for every category, with a real description
  • An article-included category limited listing

The RSS feeds as article-inclusion could be sorted by their timestamp (already in db), or another index like date.

Another functionality is a line included in the article (in the [[Category:||] tag for example), that will be given with RSS feeds and could be used in articles.

Advantages:

  • RSS feeds by category and with a description
  • Wiki gets more automatic and repeated information mistakes are reduced
  • Automatic last articles on portals, news, etc.
  • Watch lists by categories (check new pages in categories), done in user pages for example
  • Get partly-automatic pages with different categories (like Wikinews, last news title and description are added together with the category inclusion)
  • Category-based featured article (just adding the category with the description could update it automatically)

Ideas:

  • Sub-Categories (deep level as a parameter, or not - to study in terms of database performance).
  • Sum ups of categories
  • Add a second index to sort articles differently that alphabetic order (example dates)

Inclusion example:

{{Category:IT news|sorted=lastadded|nbitems=5|subcategories=0|description=true|modelbefore=star|modelafter=newline}}

could give

{{star}} [[Google Summer of Code]] Google is again hosting a 'Summer of Code' program through which it will provide financial assistance to students to work on open-source software projects during their summer break. {{newline}} {{star}} [[Google Summer of Code]] Google is again hosting a 'Summer of Code' program through which it will provide financial assistance to students to work on open-source software projects during their summer break. {{newline}}

with this line in the article [[Google Summer of Code]] :

[[Category:Google Summer of Code||05/01/2006|Google is again hosting a 'Summer of Code' program through which it will provide financial assistance to students to work on open-source software projects during their summer break.]]


Update to do on mediawiki:

  • minor database changes (only to improve speed and server load)
  • php RSS generation (use of existing class or redevelop since it is really simple?)
  • minor parser evolution for [[Category:]] tags to allow second index and description
  • php feed generation for the new {{Category:}} tag.
  • evolution of Category: page