Quote:
Originally Posted by KirbyDE
So you actually want to have parsed HTML?
Then use this:
PHP Code:
require_once('./includes/functions_bbcodeparse.php');
echo "\t\t<content:encoded><![CDATA[". htmlspecialchars_uni(parse_bbcode2($thread['preview'], false, true, false, true)) ."]]></content:encoded.\r\n";
|
Maybe I don't want parsed HTML.
What we want is the HTML straight out. For instance using the code above gives us:
PHP Code:
<b>Author: </b> <i>09/19/03</i><br />
<br />
<font size="3"><b>IP Tracker Issues</b></font><br />
<font size="2"><font color="DarkOrange"><br />
<b>The following in an email sent by
Contrast that to the PHPBB feed we were able to generate on our old forums:
PHP Code:
Author: <a href="http://veswebdev.mcilink.com/phpbb2/profile.php?mode=viewprofile&u=10" target="_blank">Me</a><br />
Subject: End of Shift-Me-07/15/04<br />
Posted: Thu Jul 15, 2004 1:22 pm (GMT -5)<br />
Topic Replies: 0<br /><br />
<span class="postbody"><span style="color: blue">Outstanding issues: </span>
<br />
<br />
None
<br />
<br />
<span style="color: blue">Accomplishments: </span>
<br />
<br />
-Monitored reps and tickets on the floor.
<br />
Notice the difference in the HTML? For some reason vbulletin is sending out ampersands instead of HTML.
Does that make sense?
Thanks again for your help!