10:54:01 AM Email translator update
Based on a few weeks' experience, I've come to realize that while email-newsletter-to-RSS is a fantastic idea, a more-or-less-direct regular expression approach is too cumbersome and fragile.
It's better to build a generic filtering and parsing system, and use custom regular expressions to tag the content types for each newsletter.
- item (title + text + link)
- list (multiple elements, each possibly with its own link)
- story (multi-line text block, may have no link or more than one link)
- ignore
- end-of-item
Another problem is that I ended up with a bazillion separate rules and RSS files. It would be much cleaner to have a single rule that looks up the parsing info from a table based on the particular email source.
The RSS specification (1.x, 2) only allows one channel per file.
Finally, it would be convenient to post the results directly to Radio Userland. |