|
Posted by SimpleT on 11/23/05 13:32
sample ... the CDATA and the <itms:artist> to output
thanks!!!!
<item>
<title>Hello Sir Records Split EP - Cinemechanica, Maserati & We Versus
the Shark</title>
<link>http://www.midnitejamm.com</link>
<description>Hello Sir Records Split EP by Cinemechanica, Maserati & We
Versus the Shark</description>
<pubDate>Wed, 23 Nov 2005 03:29:05 -800</pubDate>
- <content:encoded>
- <![CDATA[
<TABLE BORDER=0 WIDTH="100%"><TR><TD><table border="0" width="100%"
cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td ALIGN=CENTER WIDTH=166 VALIGN=TOP><a
href="http://www.midnitejamm.com"></a></td>
<td width="10"><img alt="" width="10" height="1"
src="/images/spacer.gif"></td>
<td width="95%"><B><a href="http://www.midnitejamm.com</a></B><br>
<a href="http://www.midnitejamm.com">Cinemechanica, Maserati & We
Versus the Shark</a><br><br>
<font size="3"
FACE="Helvetica,Arial,Geneva,Swiss,SunSans-Regular"><B>Release Date:</B>
November 23, 2005<br>
</font><font size="3"
FACE="Helvetica,Arial,Geneva,Swiss,SunSans-Regular"><B>Total Songs:</B>
6</font><br>
</tr>
</table></TD></TR>
</TABLE>
]]>
</content:encoded>
<itms:artist>Cinemechanica, Maserati & We Versus the Shark</itms:artist>
<itms:album>Hello Sir Records Split EP</itms:album>
<itms:albumPrice>$5.94</itms:albumPrice>
<itms:rights>2005 Hello Sir Records</itms:rights>
<itms:releasedate>November 23, 2005</itms:releasedate>
</item>
"Andrew @ Rockface" <andrew@rockface-records.co.uk> wrote in message
news:dm1jdu$b72$3@nwrdmz03.dmz.ncs.ea.ibs-infra.bt.com...
> SimpleT wrote:
>> thanks ... i thought it did ... have recent one ...
>>
>> "Two ways how to proceed CDATA information (get/strip CDATA content) "
>>
>> question is how to display/output it ...
>
>
> Depends on the format of the cdata. How about an example?
>
>
>> "Andrew @ Rockface" <andrew@rockface-records.co.uk> wrote in message
>> news:dm1g69$b72$2@nwrdmz03.dmz.ncs.ea.ibs-infra.bt.com...
>>
>>>SimpleT wrote:
>>>
>>>>Hello!
>>>>
>>>>I'm using lastrss for parsing RSS with PHP ... all good so far
>>>>(http://lastrss.webdot.cz/)
>>>>
>>>>Displaying items (see below) is fine. I am unable to display CDATA
>>>>within the RSS file, anyone have experience with this?
>>>>
>>>>// good ----------------------
>>>>foreach($rs['items'] as $item) {
>>>>echo $item['title'];
>>>>echo "<BR>";
>>>>echo $item['description'];
>>>>}
>>>> etc ....
>>>
>>>lastrss didn't use to parse cdata so check your version is the lastest.
>
> --
> Andrew @ Rockface
> np: 03 - Minor Threat - Seeing Red [stopped]
> www.rockface-records.co.uk
Navigation:
[Reply to this message]
|