Django RSS feed aggregators

The plan — integrate RSS feeds into my crappy car website. Re-syndicating many feeds from (List of feeds)


On the Toyota page of my site, display snippets from the Toyota feed.


Mark Pilgrim’s Feed Parser

Django Reader


How-To customize Aggregator

BeautifulSoup - convert/decode HTML entity codes into regular python string

Dear BeautifulSoup users,

Use convertEntities=BeautifulSoup.HTML_ENTITIES to decode or convert HTML entity codes into regular python strings.


‘>’ converts to ‘>’
‘&’ decodes ‘&’.


I am working with an XML feed that has HTML embedded in it. By default BeautifulSoup will encodes characters into SGML (or XML or HTML) entities.

This is the XML message I receive.

<message><strong>Hello</strong> world</message>

Since BeautifulSoup automatically encodes the contents of the message to be safe for XML the string you get will be different from the raw XML I expected.

What I wanted

<strong>Hello</strong> world

Instead I got

&lt;strong&gt;Hello&lt;/strong&gt; world

Using convertEntites resolves the problem.

soup = BeautifulSoup(content, convertEntities=BeautifulSoup.HTML_ENTITIES)

Answer from StackOverflow

But available in BeautifulSoup Documentation I just didn’t understand their examples.


Useful examples on how to effectively use the Django-Tagging application (plugin?)

Installation is simple. I believe easy_install django-tagging works.

Django-tagging code and documentation

Introduction to using django-tagging

Use the django-tagging tag cloud

Use django-tagging built-in views

Syndicate content