You are here: Re: PHP parser for CDATA « All PHP « IT news, forums, messages
Re: PHP parser for CDATA

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация