diff --git a/Changelog.yaml b/Changelog.yaml
index 8efb7317d7..ce27e16aa8 100644
--- a/Changelog.yaml
+++ b/Changelog.yaml
@@ -4,6 +4,253 @@
# for important features/bug fixes.
# Also, each release can have new and improved recipes.
+- version: 0.7.13
+ date: 2010-08-06
+
+ new features:
+ - title: "Add a button to the edit metadata dialog to generate a cover based on the book metadata"
+ tickets: [5959]
+
+ - title: "When using series or title in a save template to generate a file path, remove leading prepositions. This behavior can be controlled via a tweak."
+
+ - title: "News download: When downloading news for the Kindle, do not add date to the title, to allow the Kindle's periodical archiving to work."
+ tickets: [6411]
+
+ - title: "Content Server OPDS feeds: Grouping of items by first alphabet is now case-insensitive."
+
+ - title: "Do not allow the user to use save to disk to save files into the calibre library"
+ tickets: [6392]
+
+ - title: "Switch to a new C based API for using ImageMagick. More robust and a minor speedup when doing image manipulations"
+
+ - title: "Move cover downloading to a plugin based API. You can now add new cover sources to calibre using plugins."
+
+ bug fixes:
+ - title: "Content server OPDS feeds: Handle the case when the author field is blank"
+ tickets: [6371]
+
+ - title: "TXT Input: Strip out illegal chars from txt files."
+ tickets: [6335]
+
+ - title: "Save to disk/send to device templates: Always render {series_index} as an empty string when the book has no series."
+ tickets: [6409]
+
+ - title: "PD Novel driver: Remove covers when deleting books"
+
+
+ new recipes:
+ - title: "Snopes"
+ author: Startson17
+
+ - title: "dr.dk and Balkan Insight"
+ author: Darko Miletic
+
+ - title: Folha de Sao Paulo
+ author: Saverio Palmieri Neto
+
+ improved recipes:
+ - Honolulu Star Advertiser
+ - Nature News
+ - Associated Press
+ - Scientific American
+ - New Scientist
+
+- version: 0.7.12
+ date: 2010-07-30
+
+ bug fixes:
+ - title: "Fix a typo that caused a harmless error message after setting preferences"
+
+ - title: "Linux build system: No longer search for poppler-qt4 libraries as they are not needed"
+
+- version: 0.7.11
+ date: 2010-07-30
+
+ new features:
+ - title: "EPUB metadata: When setting metadata in an EPUB file, if it has a well defined image based cover, update it"
+
+ - title: "Support for Droid X, Samsung Vibrant and Promedia ebook reader"
+
+ - title: "Add entry to Connect/share menu to conveniently stop and start the Content Server"
+
+ - title: "News download: Make the navbars on the section index pages more useful, adding links to net and previous section"
+
+ - title: "Add a button to reset confirm dialogs to Preferences->General"
+
+
+ bug fixes:
+ - title: "Fix crash in edit metadata dialog if you click OK before cover download completes"
+ tickets: [6337]
+
+ - title: "Kobo driver: Show a warning when the user tries to export/view .kobo files. Also add support for the new sofroot vendor id"
+
+ - title: "Update check. Do not be fooled by a redirecting proxy when checking for new version"
+ tickets: [6325]
+
+ - title: "Add book count to tooltip of library button in toolbar"
+ tickets: [6340]
+
+ - title: "Content server: When serving OPDS feeds send the correct content-type header."
+ tickets: [6329]
+
+ - title: "PDF Output: Don't insert blank pages before every individual HTML file in the ebook."
+ tickets: [6315]
+
+ - title: "Fix saving of cover when path to book folder contains non ascii characters"
+ tickets: [6328]
+
+ - title: "Fix regression that broke showing send to actions for multiple email accounts"
+
+ - title: "Fix bug in handlling of hexadecimal entities"
+ tickets: [6305]
+
+ - title: "SONY driver: More fixes to handle broken media.xml files"
+ tickets: [6296]
+
+ - title: "Linux installer: Fix rendering of viewer icon and restrict all icons to 128x128 since GNOME can't handle large icons"
+
+ - title: "RTF Input: Fix handling of hard linebreaks"
+ tickets: [6208]
+
+ - title: "RTF Output: Fix regression that broke rendering of bold and italic text"
+ tickets: [6098]
+
+ new recipes:
+ - title: "Draw and Cook"
+ author: Startson17
+
+ improved recipes:
+ - La Nacion
+ - Vecernje Novosti
+ - Der Tagesspiegel
+ - Die Zeit Nachrichten
+ - Toms Hardware (DE)
+ - Welt Online
+
+- version: 0.7.10
+ date: 2010-07-23
+
+ new features:
+ - title: "Allow user customization of static resources such as icons and templates"
+ type: major
+ description: >
+ "You can now change the icons used in the User Interface and other static resources. Details on how to
+ do this are at: http://calibre-ebook.com/user_manual/customize.html#overriding-icons-templates-etcetera"
+
+ - title: "Split the 'Send to device' button into two buttons, 'Connect/share' and 'Send to device'. The new 'Send to device' button will now only be available when a device is connected."
+
+ - title: "Store column layout, saved searches and user categories seprately per calibre library. This makes it possible to easily switch between libraries with different custom column setups"
+
+ - title: "See the last modofied date for each format in the edit metadata dialog via a tooltip"
+ tickets: [6252]
+
+ - title: "PD Novel driver: Add support for uploading cover thumbnails to device"
+
+ - title: "More sophisticated metadata extraction from HTML files"
+ tickets: [6223]
+
+ bug fixes:
+
+ - title: "Fix problems with a few windows installs caused by the upgrade to Qt 4.6.3 in the previous release. These would manifest as a not working Add Books button, or deletes not actually deleting files, etc."
+
+ - title: "Restore configurability of toolbar, which was temporarily removed in 0.7.9. You can once again set icon size via Preferences->Interface"
+
+ - title: "Fix regression in iTunes driver in 0.7.9 when sending series info"
+
+ - title: "Search: Fix parsing of search terms that contain a word that starts with 'and' or 'or' and is not the first word"
+
+ - title: "When merging records also merge metadata in custom columns"
+ tickets: [6120]
+
+ - title: "When scrolling to show a particular row, handle the case when the first column is a custom column"
+ tickets: [6176]
+
+ - title: "Fix SD card detection for The Augen Book"
+ tickets: [6224]
+
+ - title: "CHM Input: Fix a couple of bugs that could cause crashes"
+ tickets: [6240]
+
+ - title: "Conversion pipeline: Handle zero width elements with non zero indents gracefully"
+ tickets: [6230]
+
+ new recipes:
+ - title: "daum.net"
+ author: trustin
+
+ - title: "MIT Technology Review, Alternet, Waco Tribune Herald and Orlando Sentinel"
+ author: rty
+
+ improved recipes:
+ - The BBC
+ - heise
+
+- version: 0.7.9
+ date: 2010-07-17
+
+ new features:
+ - title: "New unified toolbar"
+ type: major
+ description: >
+ "A new unified toolbar combines the old toolbar and device display, to save space. Now when a device is connected, buttons
+ are created in the unified toolbar for the device and its storage cards. Click the arrow next to the button to eject the device."
+
+ - title: "Device drivers: Add option to allow calibre to automatically manage metadata on the device in Preferences->Add/Save->Sending to device"
+
+ - title: "BibTeX output for catalogs. The list of books in calibre can now also be output as a .bib file"
+
+ - title: "A new toolbar button to choose/create different calibre libraries. Be careful using it if you also use custom columns."
+
+ - title: "Support for the MiBuk"
+
+ bug fixes:
+ - title: "MOBI metadata: Replace HTML entities in the title read from the MOBI file"
+
+ - title: "Conversion pipeline: Handle elements with percentage sizes that are children of zero size parents correctly."
+ tickets: [6155]
+
+ - title: "Fix regression that made LRF conversion less robust"
+ tickets: [6180]
+
+ - title: "FB2 Input: Handle embedded images correctly, so that EPUB generated from FB2 works with Adobe Digital Editions."
+ tickets: [6183]
+
+ - title: "Fix regression that prevented old news from being deleted in the calibre library if calibre is never kept running for more than an hour"
+
+ - title: "RTF Input: Fix handling of text align and superscript/subscripts"
+ tickets: [3644,5060]
+
+ - title: "Fix long series or publisher names causing convert dialog to become too wide"
+
+ - title: "SONY driver: Fix handling of invalid XML databases with null bytes"
+ tickets: [6165]
+
+ - title: "iTunes driver: Better series_index sorting"
+
+ - title: "Improved editing of dates for custom columns"
+
+ - title: "Linux USB scanner: Don't fail to start calibre if SYFS is not present. Instead simply fail to detect devices"
+ tickets: [6156]
+
+ - title: "Android driver: Show books on device if Aldiko is being used"
+ tickets: [6100]
+
+ - title: "Upgrade to Qt 4.6.3 in all binary builds to ensure proper rendering of the new toolbar icons"
+
+ - title: "Fix handling of entities in epub files by the epub-fix command"
+ tickets: [6136]
+
+ new recipes:
+ - title: "EL Pain Impresso"
+ author: Darko Miletic
+
+ - title: "MIT Technology Review, Alternet, Waco Tribune Herald and Orlando Sentinel"
+ author: rty
+
+ improved recipes:
+ - Google Reader
+
+
- version: 0.7.8
date: 2010-07-09
diff --git a/resources/content_server/mobile.css b/resources/content_server/mobile.css
new file mode 100644
index 0000000000..9be755b954
--- /dev/null
+++ b/resources/content_server/mobile.css
@@ -0,0 +1,83 @@
+/* CSS for the mobile version of the content server webpage */
+
+.navigation table.buttons {
+ width: 100%;
+}
+
+.navigation .button {
+ width: 50%;
+}
+
+.button a, .button:visited a {
+ padding: 0.5em;
+ font-size: 1.25em;
+ border: 1px solid black;
+ text-color: black;
+ background-color: #ddd;
+ border-top: 1px solid ThreeDLightShadow;
+ border-right: 1px solid ButtonShadow;
+ border-bottom: 1px solid ButtonShadow;
+ border-left: 1 px solid ThreeDLightShadow;
+ -moz-border-radius: 0.25em;
+ -webkit-border-radius: 0.25em;
+}
+
+.button:hover a {
+ border-top: 1px solid #666;
+ border-right: 1px solid #CCC;
+ border-bottom: 1 px solid #CCC;
+ border-left: 1 px solid #666;
+
+
+}
+
+div.navigation {
+ padding-bottom: 1em;
+ clear: both;
+}
+
+#search_box {
+ border: 1px solid #393;
+ -moz-border-radius: 0.5em;
+ -webkit-border-radius: 0.5em;
+ padding: 1em;
+ margin-bottom: 0.5em;
+ float: right;
+}
+
+#listing {
+ width: 100%;
+ border-collapse: collapse;
+}
+#listing td {
+ padding: 0.25em;
+}
+
+#listing td.thumbnail {
+ height: 60px;
+ width: 60px;
+}
+
+#listing tr:nth-child(even) {
+
+ background: #eee;
+}
+
+#listing .button a{
+ display: inline-block;
+ width: 2.5em;
+ padding-left: 0em;
+ padding-right: 0em;
+ overflow: hidden;
+ text-align: center;
+}
+
+#logo {
+ float: left;
+}
+
+#spacer {
+ clear: both;
+}
+
+
diff --git a/resources/default_tweaks.py b/resources/default_tweaks.py
index aaeb992151..d0f8e1b91b 100644
--- a/resources/default_tweaks.py
+++ b/resources/default_tweaks.py
@@ -72,4 +72,11 @@ gui_pubdate_display_format = 'MMM yyyy'
# without changing anything is sufficient to change the sort.
title_series_sorting = 'library_order'
+# Control how title and series names are formatted when saving to disk/sending
+# to device. If set to library_order, leading articles such as The and A will
+# be put at the end
+# If set to 'strictly_alphabetic', the titles will be sorted without processing
+# For example, with library_order, "The Client" will become "Client, The". With
+# strictly_alphabetic, it would remain "The Client".
+save_template_title_series_sorting = 'library_order'
diff --git a/resources/images/connect_share.svg b/resources/images/connect_share.svg
new file mode 100644
index 0000000000..ab582ddc57
--- /dev/null
+++ b/resources/images/connect_share.svg
@@ -0,0 +1,5123 @@
+
+
+
\ No newline at end of file
diff --git a/resources/images/dictionary.png b/resources/images/dictionary.png
deleted file mode 100644
index e9bd55d918..0000000000
Binary files a/resources/images/dictionary.png and /dev/null differ
diff --git a/resources/images/dictionary.svg b/resources/images/dictionary.svg
new file mode 100644
index 0000000000..37b17baf48
--- /dev/null
+++ b/resources/images/dictionary.svg
@@ -0,0 +1,1009 @@
+
+
+
+
\ No newline at end of file
diff --git a/resources/images/donate.svg b/resources/images/donate.svg
index b17d0ec7a0..603e672f6f 100644
--- a/resources/images/donate.svg
+++ b/resources/images/donate.svg
@@ -1,24 +1,31 @@
+
\ No newline at end of file
diff --git a/resources/images/lt.png b/resources/images/lt.png
new file mode 100644
index 0000000000..c29efb9f88
Binary files /dev/null and b/resources/images/lt.png differ
diff --git a/resources/images/mimetypes/epub.svg b/resources/images/mimetypes/epub.svg
index 2b72b9e180..0c3a31964f 100644
--- a/resources/images/mimetypes/epub.svg
+++ b/resources/images/mimetypes/epub.svg
@@ -1,3381 +1,830 @@
-
-
-
-
-
-
-
-
-
-
-]>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+ image/svg+xml
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ PUB
+
+ e
+
diff --git a/resources/images/mimetypes/mobi.svg b/resources/images/mimetypes/mobi.svg
index 1d290d2330..88d19f6c0d 100644
--- a/resources/images/mimetypes/mobi.svg
+++ b/resources/images/mimetypes/mobi.svg
@@ -1,8 +1,9 @@
+
-
+ width="128"
+ height="128"
+ id="svg4486"
+ inkscape:version="0.47 r22583"
+ sodipodi:docname="epub.svg">
+ id="metadata52">
image/svg+xml
+
+
+ id="defs4488">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+ transform="matrix(1.0408163,0,0,0.6302428,-1.5714269,43.690218)"
+ id="g2478">
+
+
+
+
+
+
+
+
+
+
+ mobi
+
+
+
diff --git a/resources/images/mimetypes/odt.svg b/resources/images/mimetypes/odt.svg
new file mode 100644
index 0000000000..f8c3df5d04
--- /dev/null
+++ b/resources/images/mimetypes/odt.svg
@@ -0,0 +1,63 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/resources/images/mimetypes/rtf.svg b/resources/images/mimetypes/rtf.svg
index 485ac41350..c40103d283 100644
--- a/resources/images/mimetypes/rtf.svg
+++ b/resources/images/mimetypes/rtf.svg
@@ -1,3791 +1,387 @@
+ width="48"
+ height="48"
+ id="svg2454">
+ id="defs2456">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ id="linearGradient5048">
+ id="stop5050"
+ style="stop-color:#000000;stop-opacity:0"
+ offset="0" />
+ id="stop5056"
+ style="stop-color:#000000;stop-opacity:1"
+ offset="0.5" />
+
+ gradientTransform="matrix(6.732488e-2,0,0,1.470022e-2,-0.3411391,37.040146)" />
+
+
+ id="stop5062"
+ style="stop-color:#000000;stop-opacity:1"
+ offset="0" />
-
-
-
-
-
-
-
+ id="stop5064"
+ style="stop-color:#000000;stop-opacity:0"
+ offset="1" />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id="stop41"
+ style="stop-color:#000000;stop-opacity:1"
+ offset="0" />
+ id="stop47"
+ style="stop-color:#000000;stop-opacity:1"
+ offset="0.18851049" />
+ id="stop49"
+ style="stop-color:#000000;stop-opacity:0"
+ offset="0.25718147" />
-
-
-
+ id="stop51"
+ style="stop-color:#000000;stop-opacity:0"
+ offset="1" />
-
-
-
-
-
-
+ r="139.55859"
+ id="radialGradient3721"
+ xlink:href="#XMLID_8_"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.3617022,0,0,-0.3907784,0.8510637,47.517004)" />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id="filter3212"
+ color-interpolation-filters="sRGB"
+ height="1.3286875"
+ width="1.2969251"
+ y="-0.16434373"
+ x="-0.14846256">
+ id="feGaussianBlur3214"
+ stdDeviation="0.77391625" />
+
+
+
+
+
+
+
+
+
+
-
-
-
-
- image/svg+xml
-
-
-
-
+
+ d="M 7.7378475,42.430102 C 7.7378475,42.430102 7.7378475,45.999958 7.7378475,45.999958 C 6.5513473,46.006658 4.869468,45.200135 4.869468,44.2148 C 4.869468,43.229467 6.1935126,42.430103 7.7378475,42.430102 L 7.7378475,42.430102 z"
+ id="path2881"
+ style="opacity:0.3;fill:url(#radialGradient3732);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible" />
+ d="M 40.246148,42.430102 C 40.246148,42.430102 40.246148,45.999958 40.246148,45.999958 C 41.432648,46.006658 43.114528,45.200135 43.114528,44.2148 C 43.114528,43.229467 41.790483,42.430103 40.246148,42.430102 z"
+ id="path2883"
+ style="opacity:0.3;fill:url(#radialGradient3729);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible" />
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ d="M 6.4999609,0.49719839 C 14.520256,0.49719839 22.540551,0.49719839 30.560847,0.49719839 C 31.086081,2.4573981 36.693941,7.3488012 41.500042,10.123605 C 41.500042,21.583338 41.500042,33.04307 41.500042,44.502803 C 29.833348,44.502803 18.166655,44.502803 6.4999609,44.502803 C 6.4999609,29.834268 6.4999609,15.165733 6.4999609,0.49719839 L 6.4999609,0.49719839 z"
+ id="path4160"
+ style="fill:url(#radialGradient3724);fill-opacity:1;stroke:url(#linearGradient3726);stroke-width:0.99992186;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;display:inline" />
+ d="M 18.912879,14 C 14.941321,19.117861 10.971558,24.242219 7,29.36008 C 7,34.571159 7,39.788922 7,45 C 16.433735,45 25.867403,45 35.301136,45 C 37.911168,41.636631 38.313471,41.123931 41,37.661986 C 41,32.936269 41,28.228706 41,23.48345 C 33.204587,20.134987 23.975066,16.174425 18.912879,14 z"
+ id="path3743"
+ style="opacity:0.1;fill:url(#linearGradient2721);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.91176528;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
+ d="M 18.912879,13 C 14.941321,18.117861 10.971558,23.242219 7,28.36008 C 7,33.571159 7,38.788922 7,44 C 16.433735,44 25.867403,44 35.301136,44 C 37.911168,40.636631 38.313471,40.123931 41,36.661986 C 41,31.936269 41,27.228706 41,22.48345 C 33.204587,19.134987 23.975066,15.174425 18.912879,13 z"
+ id="path3697"
+ style="opacity:0.4;fill:url(#linearGradient2718);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.91176528;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
+
+
+
+
+
+
+
+
+
diff --git a/resources/images/news/balkaninsight.png b/resources/images/news/balkaninsight.png
new file mode 100644
index 0000000000..f2d5b35dee
Binary files /dev/null and b/resources/images/news/balkaninsight.png differ
diff --git a/resources/images/news/discover_magazine.png b/resources/images/news/discover_magazine.png
new file mode 100644
index 0000000000..b63cf518d1
Binary files /dev/null and b/resources/images/news/discover_magazine.png differ
diff --git a/resources/images/news/dr_dk.png b/resources/images/news/dr_dk.png
new file mode 100644
index 0000000000..e584285e45
Binary files /dev/null and b/resources/images/news/dr_dk.png differ
diff --git a/resources/images/news/elpais_impreso.png b/resources/images/news/elpais_impreso.png
new file mode 100644
index 0000000000..35dcaf2d44
Binary files /dev/null and b/resources/images/news/elpais_impreso.png differ
diff --git a/resources/images/user_profile.svg b/resources/images/user_profile.svg
index 0aecc0c1f7..3b2f36131a 100644
--- a/resources/images/user_profile.svg
+++ b/resources/images/user_profile.svg
@@ -2,7 +2,7 @@
+ sodipodi:docbase="/home/pinheiro/artwork/Oxygen/theme/svg/actions"
+ sodipodi:docname="user_female.svg">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+ inkscape:window-width="1106"
+ inkscape:window-height="958"
+ inkscape:window-x="128"
+ inkscape:window-y="215">
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ id="metadata1312">
image/svg+xml
+
+
+
+ Oxygen team
+
+
+
+
+
+
+
+
+
+
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer">
+
+
+ style="opacity:0.38139535;fill:url(#radialGradient3297);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:4;stroke-opacity:1"
+ id="path3289"
+ sodipodi:cx="63.912209"
+ sodipodi:cy="115.70919"
+ sodipodi:rx="63.912209"
+ sodipodi:ry="12.641975"
+ d="M 127.82442 115.70919 A 63.912209 12.641975 0 1 1 0,115.70919 A 63.912209 12.641975 0 1 1 127.82442 115.70919 z"
+ transform="matrix(1,0,0,0.416667,0.266436,74.25798)" />
+ style="fill:black;fill-opacity:1;stroke:none;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ d="M 64.126842,1.3826379 C 58.426392,1.4554645 52.905637,4.1403867 48.381995,10.414566 C 35.911196,13.756106 32.695587,31.476866 31.599697,43.796082 C 30.207379,59.447533 38.215631,69.284604 49.114313,73.516007 C 48.955505,75.292398 48.560056,76.805464 48.015836,77.726838 C 45.968001,81.19384 41.318471,84.201393 33.277926,86.484146 C 24.307525,89.030883 17.192434,91.505674 12.040691,96.0348 C 7.4798115,100.04448 4.5344266,104.68101 4.5344266,110.62014 C 4.5344266,126.036 123.87182,126.85211 123.87182,110.62014 C 123.87183,104.68101 120.92644,100.04447 116.36556,96.0348 C 111.27103,91.555971 104.15639,88.925208 95.128324,86.362093 C 87.028227,84.062439 82.381647,81.149675 80.359901,77.726838 C 79.684606,76.58356 79.264762,74.560445 79.200397,72.203936 C 89.11651,67.571946 96.962124,58.62877 98.118624,45.443799 C 99.954507,24.513404 81.228191,1.1641579 64.126842,1.3826379 z "
+ id="path2375" />
-
-
-
-
-
+ id="path2878"
+ d="M 64.126842,1.3826379 C 58.426392,1.4554645 52.905637,4.1403867 48.381995,10.414566 C 35.911196,13.756106 32.695587,31.476866 31.599697,43.796082 C 30.207379,59.447533 38.215631,69.284604 49.114313,73.516007 C 48.955505,75.292398 48.560056,76.805464 48.015836,77.726838 C 45.968001,81.19384 41.318471,84.201393 33.277926,86.484146 C 24.307525,89.030883 17.192434,91.505674 12.040691,96.0348 C 7.4798115,100.04448 4.5344266,104.68101 4.5344266,110.62014 C 4.5344266,126.036 123.87182,126.85211 123.87182,110.62014 C 123.87183,104.68101 120.92644,100.04447 116.36556,96.0348 C 111.27103,91.555971 104.15639,88.925208 95.128324,86.362093 C 87.028227,84.062439 82.381647,81.149675 80.359901,77.726838 C 79.684606,76.58356 79.264762,74.560445 79.200397,72.203936 C 89.11651,67.571946 96.962124,58.62877 98.118624,45.443799 C 99.954507,24.513404 81.228191,1.1641579 64.126842,1.3826379 z "
+ style="fill:black;fill-opacity:1;stroke:none;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+ style="fill:url(#linearGradient2898);fill-opacity:1;stroke:none;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.2073171"
+ d="M 63.805682,2.3189945 C 60.204653,2.3650007 56.68272,3.4814485 53.43117,5.8585338 C 56.378477,3.9906882 61.133543,3.7479685 64.326992,4.0398775 C 79.377077,5.4155836 98.565383,26.21259 96.7295,47.142988 C 95.820607,57.505059 90.782821,65.24448 83.8529,70.333073 C 91.331974,65.269474 96.842277,57.270013 97.797464,46.380156 C 99.633352,25.449758 80.907031,2.1005146 63.805682,2.3189945 z "
+ id="path2882"
+ sodipodi:nodetypes="ccsscsc" />
+ style="fill:url(#linearGradient2911);fill-opacity:1;stroke:none;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ d="M 79.147382,75.901301 C 79.100289,75.923554 79.049359,75.937341 79.002158,75.959388 C 79.063429,78.202509 79.46307,80.128263 80.10587,81.216537 C 82.030334,84.47468 86.453333,87.247287 94.163669,89.436284 C 102.75732,91.876067 109.52963,94.380244 114.37901,98.643562 C 118.37935,102.16043 121.06728,106.18674 121.466,111.22007 C 121.49137,111.05961 121.5241,110.89043 121.5241,110.7263 C 121.5241,105.07295 118.72043,100.65951 114.37901,96.842768 C 109.52963,92.579463 102.75732,90.075276 94.163669,87.635494 C 86.453333,85.446506 82.030334,82.673889 80.10587,79.415746 C 79.636815,78.621639 79.320492,77.385183 79.147382,75.901301 z "
+ id="path2900"
+ sodipodi:nodetypes="ccssscssssc" />
+ sodipodi:nodetypes="ccssscssssc"
+ id="path2913"
+ d="M 50.410374,75.901301 C 50.457467,75.923554 50.508398,75.937341 50.555598,75.959388 C 50.494327,78.202509 50.094687,80.128263 49.451887,81.216537 C 47.527422,84.47468 43.104424,87.247287 35.394087,89.436284 C 26.800432,91.876067 20.028126,94.380244 15.178743,98.643562 C 11.178409,102.16043 8.4904782,106.18674 8.0917552,111.22007 C 8.0663877,111.05961 8.033658,110.89043 8.033658,110.7263 C 8.033658,105.07295 10.837325,100.65951 15.178743,96.842768 C 20.028126,92.579463 26.800432,90.075276 35.394087,87.635494 C 43.104424,85.446506 47.527422,82.673889 49.451887,79.415746 C 49.920942,78.621639 50.237264,77.385183 50.410374,75.901301 z "
+ style="fill:url(#linearGradient2915);fill-opacity:1;stroke:none;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+ style="opacity:0.19262294;fill:url(#linearGradient2934);fill-opacity:1;stroke:none;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ d="M 64.126842,1.3826379 C 58.426392,1.4554645 52.905637,4.1403867 48.381995,10.414566 C 35.911196,13.756106 32.695587,31.476866 31.599697,43.796082 C 30.207379,59.447533 38.215631,69.284604 49.114313,73.516007 C 48.955505,75.292398 48.560056,76.805464 48.015836,77.726838 C 45.968001,81.19384 41.318471,84.201393 33.277926,86.484146 C 24.307525,89.030883 17.192434,91.505674 12.040691,96.0348 C 10.934256,97.007517 9.9476914,98.029977 9.0503905,99.086127 C 43.790302,112.20602 86.237691,93.86764 120.45434,100.45922 C 119.31869,98.895255 117.94232,97.420999 116.36556,96.0348 C 111.27103,91.555971 104.15639,88.925208 95.128324,86.362093 C 87.028227,84.062439 82.381647,81.149675 80.359901,77.726838 C 79.684606,76.58356 79.264762,74.560445 79.200397,72.203936 C 89.11651,67.571946 96.962124,58.62877 98.118624,45.443799 C 99.954507,24.513404 81.228191,1.1641579 64.126842,1.3826379 z "
+ id="path2923"
+ sodipodi:nodetypes="ccscsssccssscsc" />
+ style="opacity:0.147541;fill:url(#linearGradient2942);fill-opacity:1;stroke:none;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ d="M 64.126842,1.3826379 C 58.426392,1.4554645 52.905637,4.1403867 48.381995,10.414566 C 35.911196,13.756106 32.695587,31.476866 31.599697,43.796082 C 30.590647,55.139108 34.51846,63.410713 40.906244,68.725424 C 46.499431,43.086176 60.253253,23.183408 81.916078,8.8889022 C 76.436168,4.2058259 70.185402,1.3052361 64.126842,1.3826379 z M 91.588784,20.392405 C 69.413597,38.642858 59.93157,63.059075 62.204506,99.635366 C 82.545047,99.174142 102.74074,98.667446 120.45434,100.45922 C 119.31869,98.895255 117.94232,97.420999 116.36556,96.0348 C 111.27103,91.555971 104.15639,88.925208 95.128324,86.362093 C 87.028227,84.062439 82.381647,81.149675 80.359901,77.726838 C 79.684606,76.58356 79.264762,74.560445 79.200397,72.203936 C 89.11651,67.571946 96.962124,58.62877 98.118624,45.443799 C 98.867542,36.905593 96.177208,27.971578 91.588784,20.392405 z "
+ id="path2936"
+ sodipodi:nodetypes="ccsccccccssscsc" />
-
-
+ style="fill:url(#radialGradient2824);fill-opacity:1.0;stroke:none;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;opacity:0.41803279"
+ d="M 64.126842,1.3826379 C 58.426392,1.4554645 52.905637,4.1403867 48.381995,10.414566 C 35.911196,13.756106 32.695587,31.476866 31.599697,43.796082 C 30.207379,59.447533 38.215631,69.284604 49.114313,73.516007 C 48.955505,75.292398 48.560056,76.805464 48.015836,77.726838 C 45.968001,81.19384 41.318471,84.201393 33.277926,86.484146 C 24.307525,89.030883 17.192434,91.505674 12.040691,96.0348 C 7.4798115,100.04448 4.5344266,104.68101 4.5344266,110.62014 C 4.5344266,126.036 123.87182,126.85211 123.87182,110.62014 C 123.87183,104.68101 120.92644,100.04447 116.36556,96.0348 C 111.27103,91.555971 104.15639,88.925208 95.128324,86.362093 C 87.028227,84.062439 82.381647,81.149675 80.359901,77.726838 C 79.684606,76.58356 79.264762,74.560445 79.200397,72.203936 C 89.11651,67.571946 96.962124,58.62877 98.118624,45.443799 C 99.954507,24.513404 81.228191,1.1641579 64.126842,1.3826379 z "
+ id="path1928" />
diff --git a/resources/recipes/DrawAndCook.recipe b/resources/recipes/DrawAndCook.recipe
new file mode 100644
index 0000000000..1c080b85db
--- /dev/null
+++ b/resources/recipes/DrawAndCook.recipe
@@ -0,0 +1,60 @@
+from calibre.web.feeds.news import BasicNewsRecipe
+
+class DrawAndCook(BasicNewsRecipe):
+ title = 'DrawAndCook'
+ __author__ = 'Starson17'
+ description = 'Drawings of recipes!'
+ language = 'en'
+ publisher = 'Starson17'
+ category = 'news, food, recipes'
+ use_embedded_content= False
+ no_stylesheets = True
+ oldest_article = 24
+ remove_javascript = True
+ remove_empty_feeds = True
+ cover_url = 'http://farm5.static.flickr.com/4043/4471139063_4dafced67f_o.jpg'
+ max_articles_per_feed = 30
+
+ remove_attributes = ['style', 'font']
+
+ def parse_index(self):
+ feeds = []
+ for title, url in [
+ ("They Draw and Cook", "http://www.theydrawandcook.com/")
+ ]:
+ articles = self.make_links(url)
+ if articles:
+ feeds.append((title, articles))
+ print 'feeds are: ', feeds
+ return feeds
+
+ def make_links(self, url):
+ soup = self.index_to_soup(url)
+ title = ''
+ date = ''
+ current_articles = []
+ soup = self.index_to_soup(url)
+ recipes = soup.findAll('div', attrs={'class': 'date-outer'})
+ for recipe in recipes:
+ title = recipe.h3.a.string
+ page_url = recipe.h3.a['href']
+ current_articles.append({'title': title, 'url': page_url, 'description':'', 'date':date})
+ return current_articles
+
+
+ keep_only_tags = [dict(name='h3', attrs={'class':'post-title entry-title'})
+ ,dict(name='div', attrs={'class':'post-body entry-content'})
+ ]
+
+ remove_tags = [dict(name='div', attrs={'class':['separator']})
+ ,dict(name='div', attrs={'class':['post-share-buttons']})
+ ]
+
+ extra_css = '''
+ h1{font-family:Arial,Helvetica,sans-serif; font-weight:bold;font-size:large;}
+ h2{font-family:Arial,Helvetica,sans-serif; font-weight:normal;font-size:small;}
+ img {max-width:100%; min-width:100%;}
+ p{font-family:Arial,Helvetica,sans-serif;font-size:small;}
+ body{font-family:Helvetica,Arial,sans-serif;font-size:small;}
+ '''
+
diff --git a/resources/recipes/alternet.recipe b/resources/recipes/alternet.recipe
new file mode 100644
index 0000000000..f885225d31
--- /dev/null
+++ b/resources/recipes/alternet.recipe
@@ -0,0 +1,38 @@
+from calibre.ptempfile import PersistentTemporaryFile
+from calibre.web.feeds.news import BasicNewsRecipe
+
+class Alternet(BasicNewsRecipe):
+ title = u'Alternet'
+ __author__= 'rty'
+ oldest_article = 7
+ max_articles_per_feed = 100
+ publisher = 'alternet.org'
+ category = 'News, Magazine'
+ description = 'News magazine and online community'
+ feeds = [
+ (u'Front Page', u'http://feeds.feedblitz.com/alternet'),
+ (u'Breaking News', u'http://feeds.feedblitz.com/alternet_breaking_news'),
+ (u'Top Ten Campaigns', u'http://feeds.feedblitz.com/alternet_top_10_campaigns'),
+ (u'Special Coverage Areas', u'http://feeds.feedblitz.com/alternet_coverage')
+ ]
+ remove_attributes = ['width', 'align','cellspacing']
+ remove_javascript = True
+ use_embedded_content = False
+ no_stylesheets = True
+ language = 'en'
+ encoding = 'UTF-8'
+ temp_files = []
+ articles_are_obfuscated = True
+
+ def get_article_url(self, article):
+ return article.get('link', None)
+
+ def get_obfuscated_article(self, url):
+ br = self.get_browser()
+ br.open(url)
+ response = br.follow_link(url_regex = r'/printversion/[0-9]+', nr = 0)
+ html = response.read()
+ self.temp_files.append(PersistentTemporaryFile('_fa.html'))
+ self.temp_files[-1].write(html)
+ self.temp_files[-1].close()
+ return self.temp_files[-1].name
diff --git a/resources/recipes/ap.recipe b/resources/recipes/ap.recipe
index 572c0aa392..2b9f9e5571 100644
--- a/resources/recipes/ap.recipe
+++ b/resources/recipes/ap.recipe
@@ -6,31 +6,38 @@ class AssociatedPress(BasicNewsRecipe):
title = u'Associated Press'
description = 'Global news'
- __author__ = 'Kovid Goyal'
+ __author__ = 'Kovid Goyal and Sujata Raman'
use_embedded_content = False
language = 'en'
-
+ no_stylesheets = True
max_articles_per_feed = 15
html2lrf_options = ['--force-page-break-before-tag="chapter"']
-
-
- preprocess_regexps = [ (re.compile(i[0], re.IGNORECASE | re.DOTALL), i[1]) for i in
-[
- (r'
.*?' , lambda match : ''),
- (r'.*?', lambda match : ''),
- (r'.*?', lambda match : ''),
- (r'.*?', lambda match : ''),
- (r'.*?', lambda match : ''),
- (r'.*? ', lambda match : ' '),
- (r' ', lambda match : ' '),
- (r'Learn more about our Privacy Policy.*?', lambda match : ' |