View Single Post
Old 09-07-2015, 02:49 AM   #1
Voltran
Junior Member
Voltran began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Sep 2015
Device: Kindle Touch
Smile Karsi Gazetesi / Karsi Newspaper / Turkey

Hi,

Guys i managed to pull together the news of the newspaper Karsi from Turkey. So right now i can read them all, but i want facebook share button so that after i read them i wanna share them.

Also currently i'm using this recipe as a custom recipe. I want it to be a free calibre native recipe for everyone to use. How do we do that ? Any suggestions ?

Here is the code of my custom recipe

#!/usr/bin/env python2
# vim:fileencoding=utf-8
from __future__ import unicode_literals, division, absolute_import, print_function
from calibre.web.feeds.news import BasicNewsRecipe

class AdvancedUserRecipe1441607918(BasicNewsRecipe):
title = 'Karsi Gazete'
oldest_article = 1
max_articles_per_feed = 100
auto_cleanup = True

feeds = [
('G\xfcndem', 'http://www.karsigazete.com.tr/rss/post/1.xml'),
('Yazarlar', 'http://www.karsigazete.com.tr/rss/columnist'),
('Bilim & Teknoloji', 'http://www.karsigazete.com.tr/rss/post/4.xml'),
('Asayi\u015f', 'http://www.karsigazete.com.tr/rss/post/23.xml'),
('\xc7evre', 'http://www.karsigazete.com.tr/rss/post/17.xml'),
('D\xfcnya', 'http://www.karsigazete.com.tr/rss/post/2.xml'),
('E\u011fitim', 'http://www.karsigazete.com.tr/rss/post/10.xml'),
('Ekonomi', 'http://www.karsigazete.com.tr/rss/post/3.xml'),
('Genel', 'http://www.karsigazete.com.tr/rss/post/18.xml'),
('Kad\u0131n', 'http://www.karsigazete.com.tr/rss/post/12.xml'),
('K\xfclt\xfcr & Sanat', 'http://www.karsigazete.com.tr/rss/post/6.xml'),
('Magazin', 'http://www.karsigazete.com.tr/rss/post/20.xml'),
('Politika', 'http://www.karsigazete.com.tr/rss/post/22.xml'),
('R\xf6portaj', 'http://www.karsigazete.com.tr/rss/post/11.xml'),
('Sa\u011fl\u0131k', 'http://www.karsigazete.com.tr/rss/post/8.xml'),
('Spor', 'http://www.karsigazete.com.tr/rss/post/5.xml'),
('Televizyon', 'http://www.karsigazete.com.tr/rss/post/26.xml'),
('Ya\u015fam', 'http://www.karsigazete.com.tr/rss/post/7.xml'),
]


Hope someone can add it to the builtin news list in Calibre !
Voltran is offline   Reply With Quote