Skip to content

Instantly share code, notes, and snippets.

@faried
Created August 29, 2010 17:51
Show Gist options
  • Save faried/556493 to your computer and use it in GitHub Desktop.
Save faried/556493 to your computer and use it in GitHub Desktop.
diff --git a/r2/r2/templates/base.xml b/r2/r2/templates/base.xml
index 8422b2d..11766a4 100644
--- a/r2/r2/templates/base.xml
+++ b/r2/r2/templates/base.xml
@@ -25,11 +25,13 @@
%>
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:media="http://search.yahoo.com/mrss">
+ xmlns:media="http://search.yahoo.com/mrss"
+ xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>${self.Title()}</title>
<link>${add_sr("/", force_hostname = True)}</link>
<description>${c.site.description or ''}</description>
+ <atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/>
<image>
<%
if g.css_killswitch or not c.site.header:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment