Mozilla Download Links plugin for Wordpress
dijous, abril 15th, 2010Mozilla has a project called Mozilla Community Sites to help communities on building their websites. MCS is distributed in different flavours: Drupal, phpBB, MediaWiki and Wordpress.
I’m developing a Wordpress plug-in to ease the writing of articles about new versions of Mozilla software. The user may write the string [ mdl]product-version[/mdl] and it’ll be expanded to a title and download links for all platforms, as follows.
You can download it below. The subversion web interface isn’t configured yet, so for now nobody can follow the development.
|
|
download: Mozilla Download Links 1.0 (7.47KB) added: 14/04/2010 clicks: 761 description: First version of Mozilla Download Links plugin for Wordpress. |
Please, keep in mind that the plug-in is not finished. There are some pending tasks like encapsulating all the code in a class or reducing the number of hardcoded parameters.
If you wish to use the plug-in, you may want to change some details in the code, like the $preurl and $posturl variables, or you may want to remove the urlencode() function that wraps $link. This may be configurable via the Wordpress Control Panel in future versions.

