View Single Post
Old 08-07-2011, 09:27 PM   #1
Bortolotto
Member
Bortolotto began at the beginning.
 
Bortolotto's Avatar
 
Posts: 15
Karma: 14
Join Date: Jun 2011
Location: Brazil
Device: Kindle
Thumbs up Recipe for Escrevinhador (Brazilian Blog)

Hi Buddies!

Today I wanna share with you a recipe for a brazilian blog named "Escrevinhador" (something like 'the writer' ). This is a blog made by Rodrigo Viana.

Spoiler:
Code:
class Escrevinhador(BasicNewsRecipe):
    title                  = 'Blog Escrevinhador'
    __author__             = 'Diniz Bortolotto'
    description            = 'Posts do Blog Escrevinhador'
    publisher              = 'Rodrigo Viana'
    oldest_article         = 5
    max_articles_per_feed  = 20
    category               = 'news, politics, Brazil'
    language               = 'pt_BR'
    publication_type       = 'news and politics portal'
    use_embedded_content   = False
    no_stylesheets         = True
    remove_javascript      = True

    feeds                  = [(u'Blog Escrevinhador', u'http://www.rodrigovianna.com.br/feed')]

    reverse_article_order  = True

    remove_tags_after      = [dict(name='div', attrs={'class':'text'})]

    remove_tags            = [
                              dict(id='header'),
                              dict(name='p', attrs={'class':'tags'}),
                              dict(name='div', attrs={'class':'sociable'})
                             ]


Rodrigo Viana is graduated in History (formed by FFLCH USP). Rodrigo Viana is also a journalist for 20 years.

He has already worked in the newspaper "Folha", in the broadcaster "Rede Globo", and today is in "TV Record" of Sao Paulo. There he does special reports for the news program "Jornal da Record."

I hope you enjoy!
Attached Files
File Type: txt Escrevinhador.txt (1,015 Bytes, 212 views)
File Type: epub Escrevinhador.epub (272.4 KB, 258 views)
Bortolotto is offline   Reply With Quote