diff --git a/resources/images/dialog_question.svg b/resources/images/dialog_question.svg
new file mode 100644
index 0000000000..be41385b7d
--- /dev/null
+++ b/resources/images/dialog_question.svg
@@ -0,0 +1,269 @@
+
+
+
\ No newline at end of file
diff --git a/resources/images/edit_copy.svg b/resources/images/edit_copy.svg
new file mode 100644
index 0000000000..86e1adbc3f
--- /dev/null
+++ b/resources/images/edit_copy.svg
@@ -0,0 +1,4298 @@
+
+
+
\ No newline at end of file
diff --git a/resources/images/edit_input.svg b/resources/images/edit_input.svg
index 90d61917ee..54200503e2 100644
--- a/resources/images/edit_input.svg
+++ b/resources/images/edit_input.svg
@@ -13,23 +13,23 @@
id="Layer_1"
x="0px"
y="0px"
- width="207.38489"
- height="201.668"
- viewBox="0 0 207.38488 201.668"
- enable-background="new 0 0 595.28 841.89"
+ width="249.46899"
+ height="257.47101"
+ viewBox="0 0 249.469 257.471"
+ enable-background="new 0 0 595.279 841.89"
xml:space="preserve"
inkscape:version="0.47 r22583"
sodipodi:docname="edit_input.svg">image/svg+xml
-
-
-
-
+
-
+
-
-
+
+
-
\ No newline at end of file
diff --git a/resources/images/news/evz.ro.png b/resources/images/news/evz.ro.png
new file mode 100644
index 0000000000..c0549185bc
Binary files /dev/null and b/resources/images/news/evz.ro.png differ
diff --git a/resources/images/news/haaretz.png b/resources/images/news/haaretz.png
new file mode 100644
index 0000000000..e6cb02c3b6
Binary files /dev/null and b/resources/images/news/haaretz.png differ
diff --git a/resources/images/sync.svg b/resources/images/sync.svg
index 09e59a1461..5055d530ea 100644
--- a/resources/images/sync.svg
+++ b/resources/images/sync.svg
@@ -13,10 +13,10 @@
id="Layer_1"
x="0px"
y="0px"
- width="148.905"
- height="201.16701"
- viewBox="0 0 148.90499 201.167"
- enable-background="new 0 0 595.28 841.89"
+ width="148.90399"
+ height="202.65399"
+ viewBox="0 0 148.90399 202.65399"
+ enable-background="new 0 0 595.279 841.89"
xml:space="preserve"
inkscape:version="0.47 r22583"
sodipodi:docname="sync.svg">
+ x1="297.64529"
+ y1="525.29828"
+ x2="297.64529"
+ y2="327.84811"
+ gradientTransform="matrix(1,0,0,-1,-223.1929,526.13229)">
\ No newline at end of file
diff --git a/resources/recipes/anchorage_daily.recipe b/resources/recipes/anchorage_daily.recipe
new file mode 100644
index 0000000000..4ce2f13a14
--- /dev/null
+++ b/resources/recipes/anchorage_daily.recipe
@@ -0,0 +1,40 @@
+from calibre.web.feeds.news import BasicNewsRecipe
+
+class AdvancedUserRecipe1278347258(BasicNewsRecipe):
+ title = u'Anchorage Daily News'
+ __author__ = 'rty'
+ oldest_article = 7
+ max_articles_per_feed = 100
+
+ feeds = [(u'Alaska News', u'http://www.adn.com/news/alaska/index.xml'),
+ (u'Business', u'http://www.adn.com/money/index.xml'),
+ (u'Sports', u'http://www.adn.com/sports/index.xml'),
+ (u'Politics', u'http://www.adn.com/politics/index.xml'),
+ (u'Lifestyles', u'http://www.adn.com/life/index.xml'),
+ (u'Iditarod', u'http://www.adn.com/iditarod/index.xml')
+ ]
+ description = ''''Alaska's Newspaper'''
+ publisher = 'http://www.adn.com'
+ category = 'news, Alaska, Anchorage'
+ language = 'en'
+ extra_css = '''
+ p{font-weight: normal;text-align: justify}
+ '''
+ remove_javascript = True
+ use_embedded_content = False
+ no_stylesheets = True
+ language = 'en'
+ encoding = 'latin-1'
+ conversion_options = {'linearize_tables':True}
+ masthead_url = 'http://media.adn.com/includes/assets/images/adn_logo.2.gif'
+
+ keep_only_tags = [
+ dict(name='div', attrs={'class':'left_col story_mainbar'}),
+ ]
+ remove_tags = [
+ dict(name='div', attrs={'class':'story_tools'}),
+ dict(name='p', attrs={'class':'ad_label'}),
+ ]
+ remove_tags_after = [
+ dict(name='div', attrs={'class':'advertisement'}),
+ ]
diff --git a/resources/recipes/evz.ro.recipe b/resources/recipes/evz.ro.recipe
new file mode 100644
index 0000000000..bce151d1fc
--- /dev/null
+++ b/resources/recipes/evz.ro.recipe
@@ -0,0 +1,52 @@
+__license__ = 'GPL v3'
+__copyright__ = '2010, Darko Miletic '
+'''
+evz.ro
+'''
+
+import re
+from calibre.web.feeds.news import BasicNewsRecipe
+
+class EVZ_Ro(BasicNewsRecipe):
+ title = 'evz.ro'
+ __author__ = 'Darko Miletic'
+ description = 'News from Romania'
+ publisher = 'evz.ro'
+ category = 'news, politics, Romania'
+ oldest_article = 2
+ max_articles_per_feed = 200
+ no_stylesheets = True
+ encoding = 'utf8'
+ use_embedded_content = False
+ language = 'ro'
+ masthead_url = 'http://www.evz.ro/fileadmin/images/logo.gif'
+ extra_css = ' body{font-family: Georgia,Arial,Helvetica,sans-serif } .firstP{font-size: 1.125em} .author,.articleInfo{font-size: small} '
+
+ conversion_options = {
+ 'comment' : description
+ , 'tags' : category
+ , 'publisher' : publisher
+ , 'language' : language
+ }
+
+ preprocess_regexps = [
+ (re.compile(r'.*?', re.DOTALL|re.IGNORECASE),lambda match: '')
+ ,(re.compile(r'.*?', re.DOTALL|re.IGNORECASE),lambda match: '')
+ ]
+
+ remove_tags = [
+ dict(name=['form','embed','iframe','object','base','link','script','noscript'])
+ ,dict(attrs={'class':['section','statsInfo','email il']})
+ ,dict(attrs={'id' :'gallery'})
+ ]
+
+ remove_tags_after = dict(attrs={'class':'section'})
+ keep_only_tags = [dict(attrs={'class':'single'})]
+ remove_attributes = ['height','width']
+
+ feeds = [(u'Articles', u'http://www.evz.ro/rss.xml')]
+
+ def preprocess_html(self, soup):
+ for item in soup.findAll(style=True):
+ del item['style']
+ return soup
diff --git a/resources/recipes/haaretz_en.recipe b/resources/recipes/haaretz_en.recipe
index 4df6b45a3e..4404624aff 100644
--- a/resources/recipes/haaretz_en.recipe
+++ b/resources/recipes/haaretz_en.recipe
@@ -1,56 +1,95 @@
__license__ = 'GPL v3'
__copyright__ = '2010, Darko Miletic '
'''
-haaretz.com
+www.haaretz.com
'''
+import re
+from calibre import strftime
+from time import gmtime
from calibre.web.feeds.news import BasicNewsRecipe
-class Haaretz_en(BasicNewsRecipe):
- title = 'Haaretz in English'
+class HaaretzPrint_en(BasicNewsRecipe):
+ title = 'Haaretz - print edition'
__author__ = 'Darko Miletic'
- description = 'Haaretz.com, the online edition of Haaretz Newspaper in Israel, and analysis from Israel and the Middle East. Haaretz.com provides extensive and in-depth coverage of Israel, the Jewish World and the Middle East, including defense, diplomacy, the Arab-Israeli conflict, the peace process, Israeli politics, Jerusalem affairs, international relations, Iran, Iraq, Syria, Lebanon, the Palestinian Authority, the West Bank and the Gaza Strip, the Israeli business world and Jewish life in Israel and the Diaspora. '
- publisher = 'haaretz.com'
- category = 'news, politics, Israel'
+ description = "Haaretz.com is the world's leading English-language Website for real-time news and analysis of Israel and the Middle East."
+ publisher = 'Haaretz'
+ category = "news, Haaretz, Israel news, Israel newspapers, Israel business news, Israel financial news, Israeli news,Israeli newspaper, Israeli newspapers, news from Israel, news in Israel, news Israel, news on Israel, newspaper Israel, Israel sports news, Israel diplomacy news"
oldest_article = 2
max_articles_per_feed = 200
no_stylesheets = True
- encoding = 'cp1252'
+ encoding = 'utf8'
use_embedded_content = False
language = 'en_IL'
publication_type = 'newspaper'
- remove_empty_feeds = True
- masthead_url = 'http://www.haaretz.com/images/logos/logoGrey.gif'
+ PREFIX = 'http://www.haaretz.com'
+ masthead_url = PREFIX + '/images/logos/logoGrey.gif'
extra_css = ' body{font-family: Verdana,Arial,Helvetica,sans-serif } '
+ preprocess_regexps = [(re.compile(r'