The bloglinks plugin displays links to the previous and the next blog entry above the entries in configured namespaces. Additionally, it marks these links semantically, using XHTMLs rel=“prev” and rel=“next” and also inserts corresponding meta-headers into the created XHTML output. It needs the blog plugin (or rather its helper component) to work.
In case you come across any bugs in this plugin, don't hesitate to report them.
The Darcs repository of the plugin can be found here.
Last updated: 2008/07/07
excluded_pages to exclude pages matching a given regex from showing the bloglinks link. Let the manager do the dirty work, just give him this link to eat: plugin-bloglinks.tar.gz
lib/plugins)
The bloglinks plugin is initially configured to show the blog links only in the blog namespace. Using the configuration manager1), you can enter other or additional namespaces (as a comma-separated list) for the plugin to be active in. Additionally, you can configure the text to be used for the generated links2).The following variables can be used in this configuration setting:
| Variable | replaced by |
|---|---|
@@TITLE@@ | the linked entries title |
@@AUTHOR@@ | the linked entries author |
@@DATE@@ | the linked entries creation date |
@@NAME@@ | a language specific name of the linked entries type (eg “Previous post”) |
Using a configurable regex3), you can exclude certain pages in the allowed namespaces from showing the bloglinks bar. If you for example want to maintain yearly and monthly archives of blogposts in a blog using the title prefix %Y:%m:, using the regex !^blog:\d{4}(:\d{2})?(:start)?$! would exclude these archive pages from displaying the bloglinks bar. The regex pattern has to be properly escaped and delimited. Examples for other useful regex patterns for common usecases are welcome, just add them in the comments.