Not logged in. · Lost password · Register
Forum: General Help and Support Features and Functionality RSS
Point to a custom RSS feed [SOLVED]
Avatar
dmpop #1
Member since Jan 2007 · 18 posts
Group memberships: Members, Newsletter Team
Show profile · Link to this post
Subject: Point to a custom RSS feed [SOLVED]
Hello,

Thanks to Andi's tip, I successfully disabled DokuWiki's default RSS feeds (http://forum.dokuwiki.org/thread/179). Is there a similar simple trick to "point" DokuWiki to a custom RSS feed? For example, I have a "hand-made" RSS feed in the root of my web server, and I'd like to use it with DokuWiki.

Thank you!

Kind regards,
Dmitri
This post was edited on 2007-08-21, 19:08 by dmpop.
chi #2
Member since Jun 2006 · 1851 posts · Location: Munich Germany
Group memberships: Members, Super Mods, Wiki Managers
Show profile · Link to this post
Hi,

besides adding the feed link in the main.php of your template I think there`s no other way/trick (you could use an action plugin though).

chi
Please add [SOLVED] to the initial thread subject if you feel your question has been answered.
If my answer doesn't make sense maybe your question didn't either - just visit http://facepalm.org.
This post was edited on 2007-08-20, 17:20 by chi.
Avatar
dmpop #3
Member since Jan 2007 · 18 posts
Group memberships: Members, Newsletter Team
Show profile · Link to this post
Hi chi,

Thank you for your reply. I'd be grateful, if you could show me how to add a link to an RSS feed in main.php.

Action plugin? How?

Thank you!

Kind regards,
Dmitri
chi #4
Member since Jun 2006 · 1851 posts · Location: Munich Germany
Group memberships: Members, Super Mods, Wiki Managers
Show profile · Link to this post
To add a feed link to the main.php of your template you have to insert something along these lines between the <head> </head> section:

  1. <link rel="alternate" type="application/rss+xml" title="FEED TITLE" href="LINK-TO-YOUR-FEED" />

Using the action plugin method you could use the TPL_METAHEADER_OUTPUT event and modify the meta links before they get rendered (example: http://pastebin.com/m4ccb07f).
Please add [SOLVED] to the initial thread subject if you feel your question has been answered.
If my answer doesn't make sense maybe your question didn't either - just visit http://facepalm.org.
Avatar
dmpop #5
Member since Jan 2007 · 18 posts
Group memberships: Members, Newsletter Team
Show profile · Link to this post
Perfect! Thank you so much, chi!

Kind regards,
Dmitri
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-11-18, 19:05:07 (UTC +01:00)