I'm using PyRSS2Gen to generate a RSS feed and I'm trying to support PubSubHubbub, but I need to add link elements that break RSS. Here's what should work without requiring a rewrite as Atom:
<atom:link rel="hub" href="http://example.hub.com" xmlns:atom="http://www.w3.org/2005/Atom">
<atom:link rel="self" href="http://example.com" xmlns:atom="http://www.w3.org/2005/Atom">
Can I add arbitrary XML in PyRSS2Gen somehow? I don't think element_attrs or rss_attrs are enough to accomplish this, or are they? PyRSS2Gen.RSS2() expects at most 1 link element, so how can I do this?
Thank you,
Kimball