OCSupertones
05-09-2006, 11:25 PM
I'm using the RSS hack here (http://www.vbulletin.com/forum/showthread.php?t=158916)...
I have an arrow gif displayed before the code, but it is putting the arrow and the rss on the next line...see any reason in my code? here is the site it is on:
AfterHim Media (http://www.afterhimmedia.com)
Here is the pertinent section of my code:
function end_element($parser, $name)
{
global $is_item, $title, $author, $date, $time, $xml_output, $attribute, $forumlink;
if ($name == "THREAD")
{
$description = $author . " @ " . $time;
$xml_output .= "<img src=\"images/strelica2.gif\" width=\"6px\" height=\"5px\"/><a href='" . $forumlink . $attribute . "'>" . htmlspecialchars(trim($title)) . "</a><dd>" . htmlspecialchars(trim($description)) . "</dd>";
$title = "";
$author = "";
$date = "";
$time = "";
$attribute = "";
$is_item = false;
}
}
Any ideas?
I have an arrow gif displayed before the code, but it is putting the arrow and the rss on the next line...see any reason in my code? here is the site it is on:
AfterHim Media (http://www.afterhimmedia.com)
Here is the pertinent section of my code:
function end_element($parser, $name)
{
global $is_item, $title, $author, $date, $time, $xml_output, $attribute, $forumlink;
if ($name == "THREAD")
{
$description = $author . " @ " . $time;
$xml_output .= "<img src=\"images/strelica2.gif\" width=\"6px\" height=\"5px\"/><a href='" . $forumlink . $attribute . "'>" . htmlspecialchars(trim($title)) . "</a><dd>" . htmlspecialchars(trim($description)) . "</dd>";
$title = "";
$author = "";
$date = "";
$time = "";
$attribute = "";
$is_item = false;
}
}
Any ideas?