swerc

anselm's simpler werc fork
git clone git://git.suckless.org/swerc
Log | Files | Refs | README

commit 40d2983ef10052fc758b802bbae6b35407358319
parent 87f19c35a327e0861a1a6653f5baaef7ba884fd1
Author: uriel@soma <unknown>
Date:   Fri,  6 Mar 2009 00:15:26 +0000

Reverse the RSS/ATOM discovery tag order, make ATOM the default.
Diffstat:
Mapps/blagh/app.rc | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/apps/blagh/app.rc b/apps/blagh/app.rc @@ -31,8 +31,8 @@ fn blagh_init { handler_body_main=blagh_body u=$blagh_uri'index' extraHeaders=$"extraHeaders ^ \ -'<link rel="alternate" type="application/rss+xml" title="RSS" href="'$"u'.rss" /> -<link rel="alternate" type="application/atom+xml" title="ATOM" href="'$"u'.atom" />' +'<link rel="alternate" type="application/atom+xml" title="ATOM" href="'$"u'.atom" /> +<link rel="alternate" type="application/rss+xml" title="RSS" href="'$"u'.rss" />' } if not if(~ $req_path $blagh_uri^index.atom) blagh_setup_feed_handlers atom.tpl