Table of Contents
feedmod Plugin
Compatible with DokuWiki
- 2023-04-04 "Jack Jackrum" unknown
- 2022-07-31 "Igor" yes
- 2020-07-29 "Hogfather" unknown
- 2018-04-22 "Greebo" unknown
Action plugin which modifies parts of the full HTML feed to make it suitable for blogging with DokuWiki
Similar to news
Download | plugin-feedmod.tgz |
---|---|
Github URL | see above |
Donate
Support the ongoing development of DokuWiki Plugins and Templates and buy Gina/Michael a coffee resp. buy Rainer a coffee
Description
This Action Plugin modifies the content of DokuWiki's full HTML feed to make it suitable for blogging purposes. It removes the first headline from the feed item body and sets it as feed item title. It also detects if the page uses the discussion plugin and adds a link to the discussion section after the feed item. It has also support for a custom footer template which gets added to each feed item. This can be used to add links to social bookmarking services for example (see customization).
Note: The plugin modifies the feed only if two conditions are set, namely when the content
is set to html
and linkto
is set to direct
(see syndication).
I had to set the kind of feed to RSS1.0 to make it work — seb_1204 2010/05/04 21:49
Installation
Download the archive and unpack it into <dokuwiki>/lib/plugins
.
The plugin is also available via git.
% cd <dokuwiki>/lib/plugins % git clone git://github.com/kaufmannr/dokuwiki-plugin-feedmod.git feedmod
Customization
The plugin has support for a custom footer template which gets added to every feed item. To get it working you have to create a file named _footer.txt
below the plugin directory. The plugin contains a _footer.txt.dist
file which contains some examples. The following replacement patterns can be used in this file.
@URL@ | Full url to the feed item |
---|---|
@PAGE@ | Page id of the feed item |
@TITLE@ | Title (first headline) of the feed item |
@AUTHOR@ | Author of the feed item (wiki page) |
Here's a short example for social bookmarking services:
<a href="http://digg.com/submit?phase=2&url=@URL@" title="Digg this post">Digg this post</a> · <a href="http://www.stumbleupon.com/submit?url=@URL@" title="Digg this post">Stumble it</a> · <a href="http://del.icio.us/post/?url=@URL@" title="Save to del.icio.us">Save to del.icio.us</a>
Bugs / Feature Requests
Please report bugs and feature requests at the bug tracker.
Changelog
A complete changelog is available here
- Update VERSION (2023-02-04 20:07)
- Update action.php (2023-02-04 20:06)
- Update action.php (2023-02-02 13:35)
- Update README (2023-02-02 13:34)
- Update VERSION (2023-02-02 13:23)
- release preparations (2009-05-21 15:00)
- updated info in action.php (2009-05-20 20:32)
- updated README (2009-05-20 19:38)