View Single Post
Old 02-06-2013, 04:10 PM   #8
surf
Member
surf began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Feb 2013
Device: kindle
Quote:
Originally Posted by surf View Post
Done with following codes

def parse_feeds(self):

feeds = BasicNewsRecipe.parse_feeds(self)

for currFeed in feeds:
for a,currArticle in enumerate(currFeed.articles):
currArticle.summary = ''

return feeds

Thank you!
Sorry. It doesnot work.

currArticle.summary = '' would delete all the article content.

currArticle.text_summary is OK for the job.

Thanks!

Last edited by surf; 02-06-2013 at 04:12 PM.
surf is offline   Reply With Quote