Hi!
I want to feed the news section of my band - homepage with the mySpace
blog of our band (in order to keep redundancy low).
The band homepage is written in PHP.
I wrote an xsl-stylesheet that transforms the blog into my wanted
design.
Here is the code:
<?
$doc =
domxml_open_fil e("http://blog.myspace.co m/blog/rss.cfm?friendI D=70463944");
$xsl = domxml_xslt_sty lesheet_file("b logMySpace.xsl" );
$params = array();
$result = $xsl->process($doc,$ params,false);
$wholepage = $result->dump_mem();
print $wholepage;
?>
I cant get rid of " " being displayed from the <descriptiontag .
Anybody knows how to get rid of them?
str_replace('&n bsp;',' ') doesnt work.
a translate function in the xsl does not work as well....
anybody got an idea?
please help...
I want to feed the news section of my band - homepage with the mySpace
blog of our band (in order to keep redundancy low).
The band homepage is written in PHP.
I wrote an xsl-stylesheet that transforms the blog into my wanted
design.
Here is the code:
<?
$doc =
domxml_open_fil e("http://blog.myspace.co m/blog/rss.cfm?friendI D=70463944");
$xsl = domxml_xslt_sty lesheet_file("b logMySpace.xsl" );
$params = array();
$result = $xsl->process($doc,$ params,false);
$wholepage = $result->dump_mem();
print $wholepage;
?>
I cant get rid of " " being displayed from the <descriptiontag .
Anybody knows how to get rid of them?
str_replace('&n bsp;',' ') doesnt work.
a translate function in the xsl does not work as well....
anybody got an idea?
please help...
Comment