Quote:
Originally Posted by marbs
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. "