Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
Old 05-14-2012, 02:23 PM   #1
vakya
Connoisseur
vakya doesn't littervakya doesn't litter
 
vakya's Avatar
 
Posts: 59
Karma: 164
Join Date: Jan 2009
Location: Spain
Device: Sony PRS-500, PRS-505, IREX DR800, Kindle 3 y Kindle 4 NT
National Geographic Spain (es)

Pardon for my english.
I have given share from calibre, but does not leave the mail destination. Can you go from here?


__license__ = 'GPL v3'
__author__ = 'Vakya'
__version__ = 'v1.0'
__date__ = '14, May 2012'

from calibre.web.feeds.news import BasicNewsRecipe

class AdvancedUserRecipe1336226255(BasicNewsRecipe):

title = u'National Geographic'
publisher = u'National Geographic'
__author__ = 'Vakya'
description = 'Revista National Geographic - Últimas noticias'
language = 'es'

oldest_article = 15
max_articles_per_feed = 100
auto_cleanup = True
remove_tags_before = dict(name='p' , attrs={'class':['image']})
remove_tags_after = dict(name='hr')
feeds = [(u'Vida salvage', u'http://www.nationalgeographic.com.es/feeds/rss.html')]

Last edited by vakya; 05-14-2012 at 02:39 PM.
vakya is offline   Reply With Quote
Old 05-14-2012, 02:34 PM   #2
vakya
Connoisseur
vakya doesn't littervakya doesn't litter
 
vakya's Avatar
 
Posts: 59
Karma: 164
Join Date: Jan 2009
Location: Spain
Device: Sony PRS-500, PRS-505, IREX DR800, Kindle 3 y Kindle 4 NT
Other:


__license__ = 'GPL v3'
__author__ = 'Vakya'
__version__ = 'v1.0'
__date__ = '14, May 2012'

from calibre.web.feeds.news import BasicNewsRecipe

class AdvancedUserRecipe1336226255(BasicNewsRecipe):

title = u'Revista Summa'
publisher = u'Summa'
__author__ = 'Vakya'
description = 'Informacion regional sobre economia y negocios'
language = 'es'

oldest_article = 15
max_articles_per_feed = 100
auto_cleanup = True
remove_tags_before = dict(name='h1')
remove_tags_after = dict(name='label')
feeds = [(u'Revista Summa', u'http://www.revistasumma.com/rss/rss-v2.0.rss')]
vakya is offline   Reply With Quote
 
Enthusiast
Old 05-17-2012, 01:15 PM   #3
vakya
Connoisseur
vakya doesn't littervakya doesn't litter
 
vakya's Avatar
 
Posts: 59
Karma: 164
Join Date: Jan 2009
Location: Spain
Device: Sony PRS-500, PRS-505, IREX DR800, Kindle 3 y Kindle 4 NT
Barrapunto - News Spanish Software Libre

__license__ = 'GPL v3'
__author__ = 'Vakya'
__version__ = 'v1.0'
__date__ = '14, May 2012'

from calibre.web.feeds.news import BasicNewsRecipe

class AdvancedUserRecipe1336226255(BasicNewsRecipe):
Here new News RSS in spanish. Why
remove_tags = [dict(name='div', attrs={'class':'details'})]
only works on some news?


title = u'Barrapunto'
publisher = u'Barrapunto'
__author__ = 'Vakya'
description = 'Noticias de la comunidad hispana de Software Libre'
language = 'es'

oldest_article = 15
max_articles_per_feed = 100
auto_cleanup = True
remove_tags_before = dict(name='h3')
remove_tags_after = dict(name='div', attrs={'class':['prev-next']})
remove_tags = [dict(name='div', attrs={'class':'details'})]
remove_tags = [dict(name='div', attrs={'class':'topic'})]
feeds = [(u'Barrapunto', u'http://barrapunto.com/index.rss')]
vakya is offline   Reply With Quote
Old 05-18-2012, 12:31 PM   #4
vakya
Connoisseur
vakya doesn't littervakya doesn't litter
 
vakya's Avatar
 
Posts: 59
Karma: 164
Join Date: Jan 2009
Location: Spain
Device: Sony PRS-500, PRS-505, IREX DR800, Kindle 3 y Kindle 4 NT
Kovidgoyal, Summa has included in new versión, but why has not included the magazine National Geographic?
vakya is offline   Reply With Quote
Old 05-18-2012, 02:19 PM   #5
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: 25,787
Karma: 4998511
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
http://bazaar.launchpad.net/~kovid/c...revision/12219
kovidgoyal is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
National Geographic Italia faber1971 Recipes 0 05-05-2012 10:12 AM
National Geographic promised, where is it? jeannieju Calibre 6 06-25-2011 01:17 AM
National Geographic (DE) xXxXxXxXxXx Recipes 0 05-21-2011 08:56 AM
National Geographic Recipe (need some improvement) gagsays Recipes 6 05-19-2011 12:21 PM
National Geographic Request Oilfieldtrash Recipes 5 11-29-2010 08:35 AM


All times are GMT -4. The time now is 04:13 PM.


MobileRead.com is a privately owned, operated and funded community.