Quote:
Originally Posted by wyh
Thanks for the tip. It looks a bit involved, so I'll have to take some time to try it out. But I do appreciate being pointed in the right direction.
|
You're welcome. Yes, it's a bit complex for the small benefit of removing something from the article list of a feed. As you would have found by reading this thread, I've previously believed that the best way to do the job you want to do is to treat the feed page as a plain web page and build your new feed list (omitting GOAT articles) with parse_index. More recently, I've realized that parse_feeds may be the better way, but I haven't seen it used by others, and haven't had a chance to figure it out for myself yet.
As an aside - I once tried to write a recipe for the New Yorker, before realizing there was a built-in (stored under "The", not "New"). As I was building my own, I found there were multiple other feeds available that split up the single feed used in the built-in. I can't recall if the GOAT feeds are separated, but you might consider looking for other feeds, and if the GOAT feeds are separate, you can just eliminate that feed and use the other separated feeds. (I kept the recipe I wrote as a New Yorker Cartoon only recipe, but never released it, as it duplicates some of the built-in New Yorker recipe).
You may also want to review the Scientific American recipe, as I believe it uses parse_index. Good luck