Thread: web2lrf
View Single Post
Old 01-18-2008, 11:05 AM   #139
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,482
Karma: 28000000
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
preprocess_regexps only acts n the downloaded HTML files. not on the RSS file iteslf. If you want to change the handling on the <description> tag in the RSS file do two things

set

Code:
html_description = True
If you still dont like the handling, override the process_html method in your sub class.
kovidgoyal is offline   Reply With Quote