[dev] Update to jonah/lib/News.php
Joe Wilson
joe.wilson at mindcandy.org
Sat May 3 18:16:40 PDT 2003
Actually, that code can be ignored. I was having a problem with Cache->call and
changed the quotes in the process. I should have pulled those from the diff
before sending it.
Joe
Quoting Marko Djukic <marko at oblo.com>:
> Quoting Joe Wilson <joe.wilson at mindcandy.org>:
>
> > Fixes errors in fetchExternalStories and _fetchExternalStories.
> >
> > Index: News.php
> > ===================================================================
> > RCS file: /usr/local/cvs/horde/jonah/lib/News.php,v
> > retrieving revision 1.7
> > diff -r1.7 News.php
> > 226,227c226
> > < $stories = $cache->getData($url,
> > "Horde_Serialize::serialize(Jonah_News::_fetchExternalStories('$url',
> > '$timestamp'), SERIALIZE_UTF7_BASIC);", $interval);
> > <
> > ---
> > > $stories = $cache->getData($url,
> > "Horde_Serialize::serialize(Jonah_News::_fetchExternalStories(\"$url\",
> > \"$timestamp\"), SERIALIZE_UTF7_BASIC);", $interval);
> > 258,259c257
>
> why the change from ' to \"?
>
> > < $rdf = &new XML_RSS($fp);
> > < $rdf->setInputFile($url);
> > ---
> > > $rdf = &new XML_RSS($url);
> > 269c267
> > < $items[$key]['story_desc'] = $story['description'];
> > ---
> > > if (array_key_exists("description", $story))
> > {$items[$key]['story_desc'] = $story['description'];}
> >
>
> not committing the rest because in the meantime i've reverted the code back
> to
> the old lib and PEAR is not used any longer.
>
>
> marko
>
> --
> Horde developers mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe at lists.horde.org
>
More information about the dev
mailing list