[dev] Update to jonah/lib/News.php
Joe Wilson
joe.wilson at mindcandy.org
Fri May 2 00:49:54 PDT 2003
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
< $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'];}
More information about the dev
mailing list