intertwingly

It’s just data

HTMLifying and unHTMLifying


If you look around, you can find feeds with titles with escaped HTML markup, and content that is plain text.  However, your application may very well want plain text titles, and HTML content.  One of the basic premises of Atom is that such data will be unambiguously identified.

atomef.py extends lazydom.py with two methods:

wx3pa.py is an update to an earlier wx3pa.py demonstrating this support.  In particular, as titles are displayed in a list, they need to be plain text.  Also note the rendering of the word "façade" in this post.

While this was developed on, and targeted for, Python 2.3, two patches are included to enable this to run on Python 2.2.