shithub: werc

Download patch

ref: a29917444a1678c3a8596b3565ec33710e0cccf4
parent: 4e2295632b43a20510ebc6de211df55e307e3016
author: sl <[email protected]>
date: Thu Mar 5 19:15:26 EST 2009

Reverse the RSS/ATOM discovery tag order, make ATOM the default.

--- a/apps/blagh/app.rc
+++ b/apps/blagh/app.rc
@@ -31,8 +31,8 @@
             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