|
Posted by dawnerd on 08/10/06 06:42
amiri.arash@gmail.com wrote:
> 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_file("http://blog.myspace.com/blog/rss.cfm?friendID=70463944");
> $xsl = domxml_xslt_stylesheet_file("blogMySpace.xsl");
> $params = array();
> $result = $xsl->process($doc,$params,false);
>
> $wholepage = $result->dump_mem();
> print $wholepage;
> ?>
>
>
> I cant get rid of " " being displayed from the <description> tag.
>
> Anybody knows how to get rid of them?
>
> str_replace(' ',' ') doesnt work.
> a translate function in the xsl does not work as well....
>
> anybody got an idea?
>
> please help...
It's probably a problem on MySpace's side. I don't know too much about
xml, so I can't be of too much help.
Navigation:
[Reply to this message]
|