add PuSH link to atom.xml
This commit is contained in:
parent
fdb91411dc
commit
7c595c60f3
@ -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')
|
||||
|
Loading…
x
Reference in New Issue
Block a user