Posted by Andrew @ Rockface on 11/23/05 13:22
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]
|