RE: [PEAR] XML_RSS bug/usage error?
| From: | Darren Ehlers | Date: | Thu, 04 Aug 2005 21:01:16 +0000 |
| Subject: | RE: [PEAR] XML_RSS bug/usage error? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-20279@lists.php.net to get a copy of this message | ||
I'm not seeing any configuration options for "display_errors" anywhere.
I'm obviously missing something somewhere...
Darren Ehlers
EhlersConsulting.net
> -----Original Message-----
> From: Jeff MacDonald [mailto:jam@zoidtechnologies.com]
> Sent: Thursday, August 04, 2005 1:20 PM
> To: Darren Ehlers
> Cc: 'PEAR general'
> Subject: Re: [PEAR] XML_RSS bug/usage error?
>
>
> On Thu, Aug 04, 2005 at 11:41:07AM -0500, Darren Ehlers wrote:
> > I've got a problem when using the XML_RSS package. It appears to be
> > stripping the ampersands in the resulting URL links.
> >
> > For example:
> >
> > require_once ('Extras/XML/RSS.php');
> >
> > $rss =& new
> >
> > XML_RSS("http://www.microsite.reuters.com/rss/worldNews");
> > $rss->parse();
> >
> > foreach ($rss->getItems() as $item)
> > {
> > $news .= '<a class="top_ticker" target="_blank"
> >
> > href="'.$item['link'].'">"'.$item['title'].'</a>';
> > }
> >
> > The $item['link'] is missing the ampersands.
> >
> > Any ideas? Or what I may be doing wrong?
> >
>
> what is display_errors set to?
>
> regards,
> J
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>