Permalink
Browse files

add PuSH link to atom.xml

  • Loading branch information...
1 parent fdb9141 commit 7c595c60f373bc65491368feb9a72a6ea187f528 @mdomsch mdomsch committed with Jun 15, 2010
Showing with 6 additions and 0 deletions.
  1. +6 −0 planet/splice.py
View
@@ -44,6 +44,12 @@ def splice():
link.setAttribute('type', "application/%s+xml" % config.feedtype())
feed.appendChild(link)
+ if config.pubsubhubbub_hub():
+ hub = doc.createElement('link')
+ hub.setAttribute('rel', 'hub')
+ hub.setAttribute('href', config.pubsubhubbub_hub())
+ feed.appendChild(hub)
+
if config.link():
link = doc.createElement('link')
link.setAttribute('rel', 'alternate')

0 comments on commit 7c595c6

Please sign in to comment.