Quantcast
Channel: How do I turn an RSS feed back into RSS? - Stack Overflow
Browsing all 5 articles
Browse latest View live

Answer by dbr for How do I turn an RSS feed back into RSS?

Appended is a not hugely-elegant, but working solution - it uses feedparser to parse the feed, you can then modify the entries, and it passes the data to PyRSS2Gen. It preserves most of the feed info...

View Article



Answer by Jon Cage for How do I turn an RSS feed back into RSS?

If you're looking to read in an XML feed, modify it and then output it again, there's a page on the main python wiki indicating that the RSS.py library might support what you're after (it reads most...

View Article

Answer by Jon Cage for How do I turn an RSS feed back into RSS?

As a method of making a feed, how about PyRSS2Gen? :)I've not played with FeedParser, but have you tried just doing str(yourFeedParserObject)? I've often been suprised by various modules that have str...

View Article

Answer by Andrea Ambu for How do I turn an RSS feed back into RSS?

from xml.dom import minidomdoc= minidom.parse('./your/file.xml')print doc.toxml()The only problem is that it do not download feeds from the internet.

View Article

How do I turn an RSS feed back into RSS?

According to the feedparser documentation, I can turn an RSS feed into a parsed object like this:import feedparserd = feedparser.parse('http://feedparser.org/docs/examples/atom10.xml')but I can't find...

View Article

Browsing all 5 articles
Browse latest View live




Latest Images