hi
i have rss sources
some of them does have the image link in the description !
{link saved}
or
{link saved}
how can i deal with that ?
Great it worked !
now i can get the images , but i will also need the description alone
how can i get the description ?
Hi fraizor,
As the image is included as HTML markup, you could use strip_tags() to return just the description text, for example:
print strip_tags($record["DESCRIPTION"]);
Cheers,
David
--
MagicParser.com
Hello fraizor,
You could try extracting the image src from the description with preg_match() - have a go with something like;
if (preg_match("/src=\"(.*)\"/U",$record["DESCRIPTION"],$matches))
{
$src = $matches[1];
print "<img src='".$src."' />";
}
Hope this helps!
Cheers,
David
--
MagicParser.com