Subject: | Allow adding extra XML elements |
I need to add pubsubhubbub links to my RSS 2.0 feeds. See https://pubsubhubbub.googlecode.com/git/pubsubhubbub-core-0.3.html#discovery
Also to remove the validator warning from my RSS 2.0 feed, I must add <atom:link href="$url" rel="self" type="application/rss+xml" /> as the first child of <channel>, and change <rss to <rss xmlns:atom="http://www.w3.org/2005/Atom" - Then my feed validates 100%.
Doing these changes with a regex could be fragile.
Therefore, I think it might be best if your module would somehow support them.
But maybe not. Feel free to close my ticket.