ribbons / RadioDownloader

An easy to use application for managing podcast subscriptions and downloads.
https://nerdoftheherd.com/tools/radiodld/
GNU General Public License v3.0
15 stars 11 forks source link

Complex HTML in podcast descriptions now converted into more readable text. #198

Closed ribbons closed 10 years ago

ribbons commented 10 years ago

If a podcast doesn't have an <itunes:summary> tag for an episode, the <description> tag is used instead which contains HTML. This is converted to plain text for display in Radio Downloader using some simple regular expressions and HttpUtility.HtmlDecode which works fine for simple HTML but fails with complex markup e.g. containing nested conditional comments.

This can be seen for example in http://alanoleary.libsyn.com/rss (looks like the description tag is generated in MS Word).