2013-08-16, 22:36:24
Well, almost perfectly...
With simple text it works great. I did another test with bold text, underlined text, a link, a table, and a bulleted list. The generated <description> field in the RSS is:
Which renders as this in an RSS reader:
The rest of the post is cut off.
I may have some time to dig in again later today, but my guess is that strip_tags() is removing too much. I see that you can pass exceptions to it, so it may be a matter of figuring out what it's stripping which it should not.
With simple text it works great. I did another test with bold text, underlined text, a link, a table, and a bulleted list. The generated <description> field in the RSS is:
Code:
<description><p><strong>Let&#39;s try some bold text.</strong></p>
<p><u>And some Underlined text.</u>&</description>
Which renders as this in an RSS reader:
Code:
Test With a Link
Let's try some bold text.
And some Underlined text.&/description>
The rest of the post is cut off.
I may have some time to dig in again later today, but my guess is that strip_tags() is removing too much. I see that you can pass exceptions to it, so it may be a matter of figuring out what it's stripping which it should not.