Problem with Feed Aggregator…
-
Not sure if anyone else is using the Simple News aggregatory from http://laughingmeme.org/archives/002203.html , but if anyone is…
I’ve got it up and running nicely here: http://media-cow.net/fan-fiction/ – I use the site name as a category in the array, and then it’s easy to sort through feeds according to the various site feeds.
However, when a site name contains an apostrophe, it jams things up. If I backslash the apostrophe, there’s no fatal error- but the category isn’t being created, nor are articles being assigned to the category- even if I go in and manually create the category.
Anyone else run into this- or have an idea how to fix it? I’ve been trying a variety of ways to enter the category in the array:
array(‘url’ => ‘http://www.livejournal.com/users/ari_recs/data/rss’,
‘cats’=> array(‘ari\’s fanfic recommendations’) ),
array(‘url’ => ‘http://www.livejournal.com/users/ari_recs/data/rss’,
‘cats’=> array(“ari\’s fanfic recommendations”) ),
array(‘url’ => ‘http://www.livejournal.com/users/ari_recs/data/rss’,
‘cats’=> array(“ari’s fanfic recommendations”) ),
I THINK all of the above get through the script without a fatal error, but none result in the proper category creation and assignment. Anyway, somewhere, that bloody apostrophe is jamming me up.
But I’m just not sure how to fix it- and the site’s live, so it’s a bear to debug- I can’t just keep running the script and pinging the hell out of sites! Anyone else worked this one through?
The topic ‘Problem with Feed Aggregator…’ is closed to new replies.