Paul Holbrook improves RSS truncation

Paul Holbrook takes a different approach to RSS truncation. He presents the entire lead paragraph, like so:

on firstPara(description, adrpost) {
return (html.getOneTagValue(description,"P"))}

The description is stored in HTML, so getOneTagValue conveniently does exactly what I want.

Of course, if the first tag in my description isn't a P, this won't do what I want it to do. I'll work on that another time. [ Paul Holbrook's Radio Weblog ]

I'm trying it now...yup, that's the ticket. Thanks, Paul!

Former URL: