View Single Post
Old 11-03-2010, 04:47 PM   #17
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 marbs View Post
i would love it if you could share the code you built. i am stuck on trying to append the article.text_summary to feeds. it keeps telling me that i am missing a title element. i tried feeds.append((title,textsum)) when title='1' and textsum is a list of article.text_summary. no go at all.
I'm not sure what you are trying to do above. I didn't append anything to feeds and I don't know why you would want to? (I'm not at the machine with the test code on it, and it's currently being restored to an earlier state - I think a hardware problem)

Is this not clear? ...
"I put an article_title_list = [] and index n = 0 outside the functions, then used self.article_title_list.append(article.text_summar y) inside parse_feeds and self.article_title_list[self.n] inside postprocess_html to access it and self.n = self.n + 1 inside postprocess_html to increment the index. "
Starson17 is offline   Reply With Quote