From af9b8de44825de68333fc57e3b51a9d7d7701c39 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Fri, 4 Apr 2008 09:20:14 +0000 Subject: [PATCH] Blog page now triggers Firefox/IE rss feed autodetection. --- view/Main_page.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/view/Main_page.py b/view/Main_page.py index 4746d7b..e2f3d5c 100644 --- a/view/Main_page.py +++ b/view/Main_page.py @@ -108,6 +108,8 @@ class Main_page( Page ): self, title, Link( rel = u"stylesheet", type = u"text/css", href = u"/static/css/header.css" ), + ( notebook.name == u"Luminotes blog" ) \ + and Link( rel = u"alternate", type = u"application/rss+xml", title = u"Luminotes blog", href = "/blog?rss" ) or None, Script( type = u"text/javascript", src = u"/static/js/MochiKit.js" ) or None, Script( type = u"text/javascript", src = u"/static/js/Invoker.js" ) or None, Script( type = u"text/javascript", src = u"/static/js/Editor.js" ) or None,