View Single Post
Old 02-10-2013, 09:29 AM   #13
surf
Member
surf began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Feb 2013
Device: kindle
Quote:
Originally Posted by kovidgoyal View Post
Simply add the original-id attribute yourself before parsing using the uuid module.
Hi, Kovid, thanks for the notice!

It seems that I need rewrite a new parse_feeds to overrid the built-in one.
I know how to handle soup in parse_index.
After reading the source code of parse_feeds, I'm confused about how to preprocess the XML to add an attribute.

Could you give me some clues?

Thanks!

Last edited by surf; 02-10-2013 at 09:36 AM.
surf is offline   Reply With Quote