View Single Post
Old 11-15-2010, 03:53 PM   #4
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by ajmoraal View Post
Sort of. I was trying to filter out all articles that are older than 2 days. As there's no indication of the age on the index page, I had to take it from the article page.

Anyway, thanks for the clarification.
I'm not sure I clarified it much, but if it's of any help, I've never seen populate_article_metadata used in any recipe. The Article object has these elements:
Code:
Title       : 
URL         :
Author      :
Summary     :
Date        :
Has content :
I'm not totally sure how you would use populate_article_metadata. For example, I wouldn't think you could change the URL. since you'd already used it to download the article.

I have seen information passed from the index page to the article, but not the other way around. It should be possible, but I'd think you would have to construct the feed manually using parse_feeds by first parsing the feed, then grabbing any additional info you want from each article page, then building the Feed object you want and returning that.

edit:Perhaps Kovid will give us some insight.
Starson17 is offline   Reply With Quote