View Single Post
Old 01-17-2012, 06:45 AM   #1
niederrhymer
Junior Member
niederrhymer began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2012
Device: SGT
remove_tags_after with more values

Hello,

I want to put feeds from more than a website into a single .epub. Basicly it works quiet good, but I run into problems with the details.

"feeds" obviously is an array:

PHP Code:
feeds = [
        (
u'FAZ - Politik',u'http://www.faz.net/aktuell/politik/?rssview=1'),
        (
u'RP - Duesseldorf',u'http://feeds.rp-online.de/rp-online/rss/duesseldorf-stadt?format=xml'),
        (
u'International',u'http://www.nzz.ch/nachrichten/international?rss=true')    

Also "remove_tags".

But "remove_tags_before" and "remove_tags_after" requiere an single value.

Is it possible to rewrite the code so that I can use an array as well? I may have to rewrite (overwrite) a function of "BasicNewsRecipe". But which one?

Please, can you help me?

I am new to phyton but I got some expirience in other programming languages, e.g. Java, VB, C#. So please feel free to talk a bit more technicaly.

regards
Tom
niederrhymer is offline   Reply With Quote