| 1 |
# SOME DESCRIPTIVE TITLE. |
| 2 |
# Copyright (C) Kovid Goyal |
| 3 |
# This file is distributed under the same license as the calibre package. |
| 4 |
# |
| 5 |
# Translators: |
| 6 |
msgid "" |
| 7 |
msgstr "" |
| 8 |
"Project-Id-Version: calibre\n" |
| 9 |
"Report-Msgid-Bugs-To: \n" |
| 10 |
"POT-Creation-Date: 2014-10-17 08:20+0530\n" |
| 11 |
"PO-Revision-Date: 2014-10-17 02:53+0000\n" |
| 12 |
"Last-Translator: Kovid Goyal <[email protected]>\n" |
| 13 |
"Language-Team: Slovenian (Slovenia) (http://www.transifex.com/projects/p/calibre/language/sl_SI/)\n" |
| 14 |
"MIME-Version: 1.0\n" |
| 15 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 16 |
"Content-Transfer-Encoding: 8bit\n" |
| 17 |
"Language: sl_SI\n" |
| 18 |
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" |
| 19 |
|
| 20 |
# babaa17c85a645e4b40d74e16859fc2a |
| 21 |
#: ../../home/kovid/work/calibre/manual/news_recipe.rst:4 |
| 22 |
msgid "API Documentation for recipes" |
| 23 |
msgstr "" |
| 24 |
|
| 25 |
# 4b3ab395d5ae438596b23d1bc0086ccb |
| 26 |
#: ../../home/kovid/work/calibre/manual/news_recipe.rst:9 |
| 27 |
msgid "The API for writing recipes is defined by the :class:`BasicNewsRecipe`" |
| 28 |
msgstr "" |
| 29 |
|
| 30 |
# 1d13414cc688418fb7413b1c72e030dc |
| 31 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 32 |
#: calibre.web.feeds.news.BasicNewsRecipe:1 |
| 33 |
msgid "" |
| 34 |
"Base class that contains logic needed in all recipes. By overriding " |
| 35 |
"progressively more of the functionality in this class, you can make " |
| 36 |
"progressively more customized/powerful recipes. For a tutorial introduction " |
| 37 |
"to creating recipes, see :doc:`news`." |
| 38 |
msgstr "" |
| 39 |
|
| 40 |
# 72f3e057545441e69356219b8c144bce |
| 41 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 42 |
#: calibre.web.feeds.news.BasicNewsRecipe.abort_recipe_processing:1 |
| 43 |
msgid "" |
| 44 |
"Causes the recipe download system to abort the download of this recipe, " |
| 45 |
"displaying a simple feedback message to the user." |
| 46 |
msgstr "" |
| 47 |
|
| 48 |
# 3e639d476610406a87bdc4154dd78972 |
| 49 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 50 |
#: calibre.web.feeds.news.BasicNewsRecipe.add_toc_thumbnail:1 |
| 51 |
msgid "" |
| 52 |
"Call this from populate_article_metadata with the src attribute of an <img> " |
| 53 |
"tag from the article that is appropriate for use as the thumbnail " |
| 54 |
"representing the article in the Table of Contents. Whether the thumbnail is " |
| 55 |
"actually used is device dependent (currently only used by the Kindles). Note" |
| 56 |
" that the referenced image must be one that was successfully downloaded, " |
| 57 |
"otherwise it will be ignored." |
| 58 |
msgstr "" |
| 59 |
|
| 60 |
# ca3f040f15bb47279adf188585ad8252 |
| 61 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 62 |
#: calibre.web.feeds.news.BasicNewsRecipe.adeify_images:1 |
| 63 |
msgid "" |
| 64 |
"If your recipe when converted to EPUB has problems with images when viewed " |
| 65 |
"in Adobe Digital Editions, call this method from within " |
| 66 |
":meth:`postprocess_html`." |
| 67 |
msgstr "" |
| 68 |
|
| 69 |
# 91bd9e766cfd4543b165596ebdcffbbb |
| 70 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 71 |
#: calibre.web.feeds.news.BasicNewsRecipe.cleanup:1 |
| 72 |
msgid "" |
| 73 |
"Called after all articles have been download. Use it to do any cleanup like " |
| 74 |
"logging out of subscription sites, etc." |
| 75 |
msgstr "" |
| 76 |
|
| 77 |
# 90237ca07bdf4ce6893b25e7b4768d17 |
| 78 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 79 |
#: calibre.web.feeds.news.BasicNewsRecipe.clone_browser:1 |
| 80 |
msgid "" |
| 81 |
"Clone the browser br. Cloned browsers are used for multi-threaded downloads," |
| 82 |
" since mechanize is not thread safe. The default cloning routines should " |
| 83 |
"capture most browser customization, but if you do something exotic in your " |
| 84 |
"recipe, you should override this method in your recipe and clone manually." |
| 85 |
msgstr "" |
| 86 |
|
| 87 |
# 68fd54402fe346a9bff5de3b9b067bbd |
| 88 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 89 |
#: calibre.web.feeds.news.BasicNewsRecipe.clone_browser:7 |
| 90 |
msgid "" |
| 91 |
"Cloned browser instances use the same, thread-safe CookieJar by default, " |
| 92 |
"unless you have customized cookie handling." |
| 93 |
msgstr "" |
| 94 |
|
| 95 |
# 4644e9ecccc644309c6e1c971c12d9b4 |
| 96 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 97 |
#: calibre.web.feeds.news.BasicNewsRecipe.default_cover:1 |
| 98 |
msgid "Create a generic cover for recipes that dont have a cover" |
| 99 |
msgstr "" |
| 100 |
|
| 101 |
# d9d35131c7784e17ab3ffb9d2a8c000f |
| 102 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 103 |
#: calibre.web.feeds.news.BasicNewsRecipe.download:1 |
| 104 |
msgid "" |
| 105 |
"Download and pre-process all articles from the feeds in this recipe. This " |
| 106 |
"method should be called only once on a particular Recipe instance. Calling " |
| 107 |
"it more than once will lead to undefined behavior. :return: Path to " |
| 108 |
"index.html" |
| 109 |
msgstr "" |
| 110 |
|
| 111 |
# ac6358da7268472c8cf52c02c510d105 |
| 112 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 113 |
#: calibre.web.feeds.news.BasicNewsRecipe.extract_readable_article:1 |
| 114 |
msgid "" |
| 115 |
"Extracts main article content from 'html', cleans up and returns as a " |
| 116 |
"(article_html, extracted_title) tuple. Based on the original readability " |
| 117 |
"algorithm by Arc90." |
| 118 |
msgstr "" |
| 119 |
|
| 120 |
# 82c669827f18464daed60caf5f3ecef9 |
| 121 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 122 |
#: calibre.web.feeds.news.BasicNewsRecipe.get_article_url:1 |
| 123 |
msgid "" |
| 124 |
"Override in a subclass to customize extraction of the :term:`URL` that " |
| 125 |
"points to the content for each article. Return the article URL. It is called" |
| 126 |
" with `article`, an object representing a parsed article from a feed. See " |
| 127 |
"`feedparser <http://packages.python.org/feedparser/>`_. By default it looks " |
| 128 |
"for the original link (for feeds syndicated via a service like feedburner or" |
| 129 |
" pheedo) and if found, returns that or else returns `article.link " |
| 130 |
"<http://packages.python.org/feedparser/reference-entry-link.html>`_." |
| 131 |
msgstr "" |
| 132 |
|
| 133 |
# 7f2498b6cfa242ad865775f9a5abf379 |
| 134 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 135 |
#: calibre.web.feeds.news.BasicNewsRecipe.get_browser:1 |
| 136 |
msgid "" |
| 137 |
"Return a browser instance used to fetch documents from the web. By default " |
| 138 |
"it returns a `mechanize <http://wwwsearch.sourceforge.net/mechanize/>`_ " |
| 139 |
"browser instance that supports cookies, ignores robots.txt, handles " |
| 140 |
"refreshes and has a mozilla firefox user agent." |
| 141 |
msgstr "" |
| 142 |
|
| 143 |
# e71144dcf6064701b09734dec9507779 |
| 144 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 145 |
#: calibre.web.feeds.news.BasicNewsRecipe.get_browser:6 |
| 146 |
msgid "" |
| 147 |
"If your recipe requires that you login first, override this method in your " |
| 148 |
"subclass. For example, the following code is used in the New York Times " |
| 149 |
"recipe to login for full access::" |
| 150 |
msgstr "" |
| 151 |
|
| 152 |
# 859b25ca2aa2459d915a68f50d4b20fc |
| 153 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 154 |
#: calibre.web.feeds.news.BasicNewsRecipe.get_cover_url:1 |
| 155 |
msgid "" |
| 156 |
"Return a :term:`URL` to the cover image for this issue or `None`. By default" |
| 157 |
" it returns the value of the member `self.cover_url` which is normally " |
| 158 |
"`None`. If you want your recipe to download a cover for the e-book override " |
| 159 |
"this method in your subclass, or set the member variable `self.cover_url` " |
| 160 |
"before this method is called." |
| 161 |
msgstr "" |
| 162 |
|
| 163 |
# 3fd74bdaebe247ab9051f1167b9109ea |
| 164 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 165 |
#: calibre.web.feeds.news.BasicNewsRecipe.get_feeds:1 |
| 166 |
msgid "" |
| 167 |
"Return a list of :term:`RSS` feeds to fetch for this profile. Each element " |
| 168 |
"of the list must be a 2-element tuple of the form (title, url). If title is " |
| 169 |
"None or an empty string, the title from the feed is used. This method is " |
| 170 |
"useful if your recipe needs to do some processing to figure out the list of " |
| 171 |
"feeds to download. If so, override in your subclass." |
| 172 |
msgstr "" |
| 173 |
|
| 174 |
# d2f4ca3bc1d941ba8989e7013191066a |
| 175 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 176 |
#: calibre.web.feeds.news.BasicNewsRecipe.get_masthead_title:1 |
| 177 |
msgid "Override in subclass to use something other than the recipe title" |
| 178 |
msgstr "" |
| 179 |
|
| 180 |
# d722978fd6d24a7d8a7b2bd86be8e227 |
| 181 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 182 |
#: calibre.web.feeds.news.BasicNewsRecipe.get_masthead_url:1 |
| 183 |
msgid "" |
| 184 |
"Return a :term:`URL` to the masthead image for this issue or `None`. By " |
| 185 |
"default it returns the value of the member `self.masthead_url` which is " |
| 186 |
"normally `None`. If you want your recipe to download a masthead for the " |
| 187 |
"e-book override this method in your subclass, or set the member variable " |
| 188 |
"`self.masthead_url` before this method is called. Masthead images are used " |
| 189 |
"in Kindle MOBI files." |
| 190 |
msgstr "" |
| 191 |
|
| 192 |
# 9039f9ec87c945b99556981aa2e456ee |
| 193 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 194 |
#: calibre.web.feeds.news.BasicNewsRecipe.get_obfuscated_article:1 |
| 195 |
msgid "" |
| 196 |
"If you set `articles_are_obfuscated` this method is called with every " |
| 197 |
"article URL. It should return the path to a file on the filesystem that " |
| 198 |
"contains the article HTML. That file is processed by the recursive HTML " |
| 199 |
"fetching engine, so it can contain links to pages/images on the web." |
| 200 |
msgstr "" |
| 201 |
|
| 202 |
# 2ed29c479a714ab38a745faaf7e367db |
| 203 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 204 |
#: calibre.web.feeds.news.BasicNewsRecipe.get_obfuscated_article:6 |
| 205 |
msgid "" |
| 206 |
"This method is typically useful for sites that try to make it difficult to " |
| 207 |
"access article content automatically." |
| 208 |
msgstr "" |
| 209 |
|
| 210 |
# 2d48fe2a1a2b4e4eb47681d54fc3cd54 |
| 211 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 212 |
#: calibre.web.feeds.news.BasicNewsRecipe.image_url_processor:1 |
| 213 |
msgid "" |
| 214 |
"Perform some processing on image urls (perhaps removing size restrictions " |
| 215 |
"for dynamically generated images, etc.) and return the precessed URL." |
| 216 |
msgstr "" |
| 217 |
|
| 218 |
# a021df03137b41e78a9b95a1c0e8a42c |
| 219 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 220 |
#: calibre.web.feeds.news.BasicNewsRecipe.index_to_soup:1 |
| 221 |
msgid "" |
| 222 |
"Convenience method that takes an URL to the index page and returns a " |
| 223 |
"`BeautifulSoup " |
| 224 |
"<http://www.crummy.com/software/BeautifulSoup/documentation.html>`_ of it." |
| 225 |
msgstr "" |
| 226 |
|
| 227 |
# ba2b577e28a340bc90143dbbb2973c6e |
| 228 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 229 |
#: calibre.web.feeds.news.BasicNewsRecipe.index_to_soup:5 |
| 230 |
msgid "`url_or_raw`: Either a URL or the downloaded index page as a string" |
| 231 |
msgstr "" |
| 232 |
|
| 233 |
# 19aace5b241c46008aaae4d0e6af03c1 |
| 234 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 235 |
#: calibre.web.feeds.news.BasicNewsRecipe.is_link_wanted:1 |
| 236 |
msgid "" |
| 237 |
"Return True if the link should be followed or False otherwise. By default, " |
| 238 |
"raises NotImplementedError which causes the downloader to ignore it." |
| 239 |
msgstr "" |
| 240 |
|
| 241 |
# a228b67690434ba8b9954f792e53118e |
| 242 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 243 |
#: calibre.web.feeds.news.BasicNewsRecipe.is_link_wanted:5 |
| 244 |
msgid "The URL to be followed" |
| 245 |
msgstr "" |
| 246 |
|
| 247 |
# 30c40ad2ba7444e384abaabac0bc0df0 |
| 248 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 249 |
#: calibre.web.feeds.news.BasicNewsRecipe.is_link_wanted:6 |
| 250 |
msgid "The Tag from which the URL was derived" |
| 251 |
msgstr "" |
| 252 |
|
| 253 |
# 73bf56d8a8914a3b8048d6b82ee01f53 |
| 254 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 255 |
#: calibre.web.feeds.news.BasicNewsRecipe.javascript_login:1 |
| 256 |
msgid "" |
| 257 |
"This method is used to login to a website that uses javascript for its login" |
| 258 |
" form. After the login is complete, the cookies returned from the website " |
| 259 |
"are copied to a normal (non-javascript) browser and the download proceeds " |
| 260 |
"using those cookies." |
| 261 |
msgstr "" |
| 262 |
|
| 263 |
# ada15843bc2f41d3880781ddea02227c |
| 264 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 265 |
#: calibre.web.feeds.news.BasicNewsRecipe.javascript_login:6 |
| 266 |
msgid "An example implementation::" |
| 267 |
msgstr "" |
| 268 |
|
| 269 |
# 66d0454efb864b2792e4729015d92fd4 |
| 270 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 271 |
#: calibre.web.feeds.news.BasicNewsRecipe.javascript_login:15 |
| 272 |
msgid "Note that you can also select forms with CSS2 selectors, like this::" |
| 273 |
msgstr "" |
| 274 |
|
| 275 |
# 90ed13bf459a4f46b19942647a911985 |
| 276 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 277 |
#: calibre.web.feeds.news.BasicNewsRecipe.parse_feeds:1 |
| 278 |
msgid "" |
| 279 |
"Create a list of articles from the list of feeds returned by " |
| 280 |
":meth:`BasicNewsRecipe.get_feeds`. Return a list of :class:`Feed` objects." |
| 281 |
msgstr "" |
| 282 |
|
| 283 |
# 7514aaa1cf6d42f6bbb496f0da4548f5 |
| 284 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 285 |
#: calibre.web.feeds.news.BasicNewsRecipe.parse_index:1 |
| 286 |
msgid "" |
| 287 |
"This method should be implemented in recipes that parse a website instead of" |
| 288 |
" feeds to generate a list of articles. Typical uses are for news sources " |
| 289 |
"that have a \"Print Edition\" webpage that lists all the articles in the " |
| 290 |
"current print edition. If this function is implemented, it will be used in " |
| 291 |
"preference to :meth:`BasicNewsRecipe.parse_feeds`." |
| 292 |
msgstr "" |
| 293 |
|
| 294 |
# 8b4e381c09294e2d9e5d8d9d3447772f |
| 295 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 296 |
#: calibre.web.feeds.news.BasicNewsRecipe.parse_index:7 |
| 297 |
msgid "" |
| 298 |
"It must return a list. Each element of the list must be a 2-element tuple of" |
| 299 |
" the form ``('feed title', list of articles)``." |
| 300 |
msgstr "" |
| 301 |
|
| 302 |
# 8081c955076440ba8d6c19ee9da2ba43 |
| 303 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 304 |
#: calibre.web.feeds.news.BasicNewsRecipe.parse_index:10 |
| 305 |
msgid "Each list of articles must contain dictionaries of the form::" |
| 306 |
msgstr "" |
| 307 |
|
| 308 |
# 11b5530acf664a2189e09b77e701d869 |
| 309 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 310 |
#: calibre.web.feeds.news.BasicNewsRecipe.parse_index:23 |
| 311 |
msgid "" |
| 312 |
"For an example, see the recipe for downloading `The Atlantic`. In addition, " |
| 313 |
"you can add 'author' for the author of the article." |
| 314 |
msgstr "" |
| 315 |
|
| 316 |
# 031bdda5f1154f20a4252d7458ba4705 |
| 317 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 318 |
#: calibre.web.feeds.news.BasicNewsRecipe.parse_index:26 |
| 319 |
msgid "" |
| 320 |
"If you want to abort processing for some reason and have calibre show the " |
| 321 |
"user a simple message instead of an error, call " |
| 322 |
":meth:`abort_recipe_processing`." |
| 323 |
msgstr "" |
| 324 |
|
| 325 |
# 5f36e7bfd9554bcdb10d352c5d22ad61 |
| 326 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 327 |
#: calibre.web.feeds.news.BasicNewsRecipe.populate_article_metadata:1 |
| 328 |
msgid "" |
| 329 |
"Called when each HTML page belonging to article is downloaded. Intended to " |
| 330 |
"be used to get article metadata like author/summary/etc. from the parsed " |
| 331 |
"HTML (soup). :param article: A object of class " |
| 332 |
":class:`calibre.web.feeds.Article`. If you change the summary, remember to " |
| 333 |
"also change the text_summary :param soup: Parsed HTML belonging to this " |
| 334 |
"article :param first: True iff the parsed HTML is the first page of the " |
| 335 |
"article." |
| 336 |
msgstr "" |
| 337 |
|
| 338 |
# f43d2f817e6d4914850a544759f25f7f |
| 339 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 340 |
#: calibre.web.feeds.news.BasicNewsRecipe.postprocess_book:1 |
| 341 |
msgid "Run any needed post processing on the parsed downloaded e-book." |
| 342 |
msgstr "" |
| 343 |
|
| 344 |
# 192b1200f32740448fc443940ed6597e |
| 345 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 346 |
#: calibre.web.feeds.news.BasicNewsRecipe.postprocess_book:3 |
| 347 |
msgid "An OEBBook object" |
| 348 |
msgstr "" |
| 349 |
|
| 350 |
# 8f88ef696914458e8c04efb93b3d94b7 |
| 351 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 352 |
#: calibre.web.feeds.news.BasicNewsRecipe.postprocess_book:4 |
| 353 |
msgid "Conversion options" |
| 354 |
msgstr "" |
| 355 |
|
| 356 |
# 4cfb4a41d91843838414afcc725eb37b |
| 357 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 358 |
#: calibre.web.feeds.news.BasicNewsRecipe.postprocess_html:1 |
| 359 |
msgid "" |
| 360 |
"This method is called with the source of each downloaded :term:`HTML` file, " |
| 361 |
"after it is parsed for links and images. It can be used to do arbitrarily " |
| 362 |
"powerful post-processing on the :term:`HTML`. It should return `soup` after " |
| 363 |
"processing it." |
| 364 |
msgstr "" |
| 365 |
|
| 366 |
# 5332d01a4a9242b68dbd14d1335369c2 |
| 367 |
# c0d2141af4294687a73acd9ccff609a8 |
| 368 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 369 |
#: calibre.web.feeds.news.BasicNewsRecipe.postprocess_html:6 |
| 370 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 371 |
#: calibre.web.feeds.news.BasicNewsRecipe.postprocess_html:6 |
| 372 |
msgid "" |
| 373 |
"A `BeautifulSoup " |
| 374 |
"<http://www.crummy.com/software/BeautifulSoup/documentation.html>`_ " |
| 375 |
"instance containing the downloaded :term:`HTML`." |
| 376 |
msgstr "" |
| 377 |
|
| 378 |
# 6c98022ffab945cea8714d37a80f004d |
| 379 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 380 |
#: calibre.web.feeds.news.BasicNewsRecipe.postprocess_html:7 |
| 381 |
msgid "True if this is the first page of an article." |
| 382 |
msgstr "" |
| 383 |
|
| 384 |
# b366a342578e42189fdd15248fd7b050 |
| 385 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 386 |
#: calibre.web.feeds.news.BasicNewsRecipe.preprocess_html:1 |
| 387 |
msgid "" |
| 388 |
"This method is called with the source of each downloaded :term:`HTML` file, " |
| 389 |
"before it is parsed for links and images. It is called after the cleanup as " |
| 390 |
"specified by remove_tags etc. It can be used to do arbitrarily powerful pre-" |
| 391 |
"processing on the :term:`HTML`. It should return `soup` after processing it." |
| 392 |
msgstr "" |
| 393 |
|
| 394 |
# d1fea26ec7a54e0ca40094958e2ff2ac |
| 395 |
# 40dd39330aa24e848155e0a6c1e88077 |
| 396 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 397 |
#: calibre.web.feeds.news.BasicNewsRecipe.preprocess_html:7 |
| 398 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 399 |
#: calibre.web.feeds.news.BasicNewsRecipe.skip_ad_pages:8 |
| 400 |
msgid "" |
| 401 |
"`soup`: A `BeautifulSoup " |
| 402 |
"<http://www.crummy.com/software/BeautifulSoup/documentation.html>`_ instance" |
| 403 |
" containing the downloaded :term:`HTML`." |
| 404 |
msgstr "" |
| 405 |
|
| 406 |
# 949aaae5821747a294057f5949a2e4c7 |
| 407 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 408 |
#: calibre.web.feeds.news.BasicNewsRecipe.preprocess_raw_html:1 |
| 409 |
msgid "" |
| 410 |
"This method is called with the source of each downloaded :term:`HTML` file, " |
| 411 |
"before it is parsed into an object tree. raw_html is a unicode string " |
| 412 |
"representing the raw HTML downloaded from the web. url is the URL from which" |
| 413 |
" the HTML was downloaded." |
| 414 |
msgstr "" |
| 415 |
|
| 416 |
# 21818b08a36948c2935a1a1e190839cd |
| 417 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 418 |
#: calibre.web.feeds.news.BasicNewsRecipe.preprocess_raw_html:6 |
| 419 |
msgid "Note that this method acts *before* preprocess_regexps." |
| 420 |
msgstr "" |
| 421 |
|
| 422 |
# d360a89e180445619e5850410ef47cab |
| 423 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 424 |
#: calibre.web.feeds.news.BasicNewsRecipe.preprocess_raw_html:8 |
| 425 |
msgid "This method must return the processed raw_html as a unicode object." |
| 426 |
msgstr "" |
| 427 |
|
| 428 |
# 113ec1cabb42411698ea36554f800a77 |
| 429 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 430 |
#: calibre.web.feeds.news.BasicNewsRecipe.print_version:1 |
| 431 |
msgid "" |
| 432 |
"Take a `url` pointing to the webpage with article content and return the " |
| 433 |
":term:`URL` pointing to the print version of the article. By default does " |
| 434 |
"nothing. For example::" |
| 435 |
msgstr "" |
| 436 |
|
| 437 |
# bc3c538efa5b47b596e65e2a953c3621 |
| 438 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 439 |
#: calibre.web.feeds.news.BasicNewsRecipe.skip_ad_pages:1 |
| 440 |
msgid "" |
| 441 |
"This method is called with the source of each downloaded :term:`HTML` file, " |
| 442 |
"before any of the cleanup attributes like remove_tags, keep_only_tags are " |
| 443 |
"applied. Note that preprocess_regexps will have already been applied. It is " |
| 444 |
"meant to allow the recipe to skip ad pages. If the soup represents an ad " |
| 445 |
"page, return the HTML of the real page. Otherwise return None." |
| 446 |
msgstr "" |
| 447 |
|
| 448 |
# 145af3307ce24889ad43ae215e921151 |
| 449 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 450 |
#: calibre.web.feeds.news.BasicNewsRecipe.sort_index_by:1 |
| 451 |
msgid "" |
| 452 |
"Convenience method to sort the titles in `index` according to `weights`. " |
| 453 |
"`index` is sorted in place. Returns `index`." |
| 454 |
msgstr "" |
| 455 |
|
| 456 |
# 7acd047e92f34e829cf234b5ba1fd468 |
| 457 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 458 |
#: calibre.web.feeds.news.BasicNewsRecipe.sort_index_by:4 |
| 459 |
msgid "`index`: A list of titles." |
| 460 |
msgstr "" |
| 461 |
|
| 462 |
# 0fec9d982ae843d9956d918056ef1bef |
| 463 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 464 |
#: calibre.web.feeds.news.BasicNewsRecipe.sort_index_by:6 |
| 465 |
msgid "" |
| 466 |
"`weights`: A dictionary that maps weights to titles. If any titles in index " |
| 467 |
"are not in weights, they are assumed to have a weight of 0." |
| 468 |
msgstr "" |
| 469 |
|
| 470 |
# 3edbb2c89d7048a3840bfe606f059367 |
| 471 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 472 |
#: calibre.web.feeds.news.BasicNewsRecipe.tag_to_string:1 |
| 473 |
msgid "" |
| 474 |
"Convenience method to take a `BeautifulSoup " |
| 475 |
"<http://www.crummy.com/software/BeautifulSoup/documentation.html>`_ `Tag` " |
| 476 |
"and extract the text from it recursively, including any CDATA sections and " |
| 477 |
"alt tag attributes. Return a possibly empty unicode string." |
| 478 |
msgstr "" |
| 479 |
|
| 480 |
# f5b049b008a144f68f7ca3db3d329766 |
| 481 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 482 |
#: calibre.web.feeds.news.BasicNewsRecipe.tag_to_string:6 |
| 483 |
msgid "" |
| 484 |
"`use_alt`: If `True` try to use the alt attribute for tags that don't have " |
| 485 |
"any textual content" |
| 486 |
msgstr "" |
| 487 |
|
| 488 |
# 8229cbc48bc04e92934a7bde704bbb12 |
| 489 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 490 |
#: calibre.web.feeds.news.BasicNewsRecipe.tag_to_string:9 |
| 491 |
msgid "" |
| 492 |
"`tag`: `BeautifulSoup " |
| 493 |
"<http://www.crummy.com/software/BeautifulSoup/documentation.html>`_ `Tag`" |
| 494 |
msgstr "" |
| 495 |
|
| 496 |
# 9ba7d130265c4039918801d066a5135b |
| 497 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 498 |
#: calibre.web.feeds.news.BasicNewsRecipe.articles_are_obfuscated:1 |
| 499 |
msgid "" |
| 500 |
"Set to True and implement :meth:`get_obfuscated_article` to handle websites " |
| 501 |
"that try to make it difficult to scrape content." |
| 502 |
msgstr "" |
| 503 |
|
| 504 |
# 586e89c028f8443da9afeca045548f2f |
| 505 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 506 |
#: calibre.web.feeds.news.BasicNewsRecipe.auto_cleanup:1 |
| 507 |
msgid "" |
| 508 |
"Automatically extract all the text from downloaded article pages. Uses the " |
| 509 |
"algorithms from the readability project. Setting this to True, means that " |
| 510 |
"you do not have to worry about cleaning up the downloaded HTML manually " |
| 511 |
"(though manual cleanup will always be superior)." |
| 512 |
msgstr "" |
| 513 |
|
| 514 |
# e3dd5113ad7c415dbe65c60377a27023 |
| 515 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 516 |
#: calibre.web.feeds.news.BasicNewsRecipe.auto_cleanup_keep:1 |
| 517 |
msgid "" |
| 518 |
"Specify elements that the auto cleanup algorithm should never remove The " |
| 519 |
"syntax is a XPath expression. For example::" |
| 520 |
msgstr "" |
| 521 |
|
| 522 |
# c6561c790eaa423982ab584f957d556e |
| 523 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 524 |
#: calibre.web.feeds.news.BasicNewsRecipe.center_navbar:1 |
| 525 |
msgid "" |
| 526 |
"If True the navigation bar is center aligned, otherwise it is left aligned" |
| 527 |
msgstr "" |
| 528 |
|
| 529 |
# a10504d02ee6431c880d5a49355fab59 |
| 530 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 531 |
#: calibre.web.feeds.news.BasicNewsRecipe.compress_news_images:1 |
| 532 |
msgid "" |
| 533 |
"Set this to False to ignore all scaling and compression parameters and pass " |
| 534 |
"images through unmodified. If True and the other compression parameters are " |
| 535 |
"left at their default values, jpeg images will be scaled to fit in the " |
| 536 |
"screen dimensions set by the output profile and compressed to size at most " |
| 537 |
"(w * h)/16 where w x h are the scaled image dimensions." |
| 538 |
msgstr "" |
| 539 |
|
| 540 |
# 0b62a17469bf4bf2a22ff9a075d948c0 |
| 541 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 542 |
#: calibre.web.feeds.news.BasicNewsRecipe.compress_news_images_auto_size:1 |
| 543 |
msgid "" |
| 544 |
"The factor used when auto compressing jpeg images. If set to None, auto " |
| 545 |
"compression is disabled. Otherwise, the images will be reduced in size to (w" |
| 546 |
" * h)/compress_news_images_auto_size bytes if possible by reducing the " |
| 547 |
"quality level, where w x h are the image dimensions in pixels. The minimum " |
| 548 |
"jpeg quality will be 5/100 so it is possible this constraint will not be " |
| 549 |
"met. This parameter can be overridden by the parameter " |
| 550 |
"compress_news_images_max_size which provides a fixed maximum size for " |
| 551 |
"images. Note that if you enable scale_news_images_to_device then the image " |
| 552 |
"will first be scaled and then its quality lowered until its size is less " |
| 553 |
"than (w * h)/factor where w and h are now the *scaled* image dimensions. In " |
| 554 |
"other words, this compression happens after scaling." |
| 555 |
msgstr "" |
| 556 |
|
| 557 |
# 8943b4aa261c42679132aa7a4015c09f |
| 558 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 559 |
#: calibre.web.feeds.news.BasicNewsRecipe.compress_news_images_max_size:1 |
| 560 |
msgid "" |
| 561 |
"Set jpeg quality so images do not exceed the size given (in KBytes). If set," |
| 562 |
" this parameter overrides auto compression via " |
| 563 |
"compress_news_images_auto_size. The minimum jpeg quality will be 5/100 so it" |
| 564 |
" is possible this constraint will not be met." |
| 565 |
msgstr "" |
| 566 |
|
| 567 |
# 1de9a5111f5649708114bb278a1295e8 |
| 568 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 569 |
#: calibre.web.feeds.news.BasicNewsRecipe.conversion_options:1 |
| 570 |
msgid "" |
| 571 |
"Recipe specific options to control the conversion of the downloaded content " |
| 572 |
"into an e-book. These will override any user or plugin specified values, so " |
| 573 |
"only use if absolutely necessary. For example::" |
| 574 |
msgstr "" |
| 575 |
|
| 576 |
# 166d39cec3a34d638fa2050a2bd88395 |
| 577 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 578 |
#: calibre.web.feeds.news.BasicNewsRecipe.cover_margins:1 |
| 579 |
msgid "" |
| 580 |
"By default, the cover image returned by get_cover_url() will be used as the " |
| 581 |
"cover for the periodical. Overriding this in your recipe instructs calibre " |
| 582 |
"to render the downloaded cover into a frame whose width and height are " |
| 583 |
"expressed as a percentage of the downloaded cover. cover_margins = (10, 15, " |
| 584 |
"'#ffffff') pads the cover with a white margin 10px on the left and right, " |
| 585 |
"15px on the top and bottom. Color names defined at " |
| 586 |
"http://www.imagemagick.org/script/color.php Note that for some reason, white" |
| 587 |
" does not always work on windows. Use #ffffff instead" |
| 588 |
msgstr "" |
| 589 |
|
| 590 |
# bc3cb519e5c449bc8dc54392b5e0942c |
| 591 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 592 |
#: calibre.web.feeds.news.BasicNewsRecipe.delay:1 |
| 593 |
msgid "" |
| 594 |
"Delay between consecutive downloads in seconds. The argument may be a " |
| 595 |
"floating point number to indicate a more precise time." |
| 596 |
msgstr "" |
| 597 |
|
| 598 |
# 6b07a0f5edb344189bdf58327f7eb0f5 |
| 599 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 600 |
#: calibre.web.feeds.news.BasicNewsRecipe.description:1 |
| 601 |
msgid "" |
| 602 |
"A couple of lines that describe the content this recipe downloads. This will" |
| 603 |
" be used primarily in a GUI that presents a list of recipes." |
| 604 |
msgstr "" |
| 605 |
|
| 606 |
# 8067f9d65d31496db7d209049dbfcd69 |
| 607 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 608 |
#: calibre.web.feeds.news.BasicNewsRecipe.encoding:1 |
| 609 |
msgid "" |
| 610 |
"Specify an override encoding for sites that have an incorrect charset " |
| 611 |
"specification. The most common being specifying ``latin1`` and using " |
| 612 |
"``cp1252``. If None, try to detect the encoding. If it is a callable, the " |
| 613 |
"callable is called with two arguments: The recipe object and the source to " |
| 614 |
"be decoded. It must return the decoded source." |
| 615 |
msgstr "" |
| 616 |
|
| 617 |
# e0d7a13ce64f4645978a65d006e2c3f5 |
| 618 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 619 |
#: calibre.web.feeds.news.BasicNewsRecipe.extra_css:1 |
| 620 |
msgid "" |
| 621 |
"Specify any extra :term:`CSS` that should be added to downloaded " |
| 622 |
":term:`HTML` files It will be inserted into `<style>` tags, just before the " |
| 623 |
"closing `</head>` tag thereby overriding all :term:`CSS` except that which " |
| 624 |
"is declared using the style attribute on individual :term:`HTML` tags. For " |
| 625 |
"example::" |
| 626 |
msgstr "" |
| 627 |
|
| 628 |
# 19237d52cdfd4952ba9dcff2ca5a2f7a |
| 629 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 630 |
#: calibre.web.feeds.news.BasicNewsRecipe.feeds:1 |
| 631 |
msgid "" |
| 632 |
"List of feeds to download Can be either ``[url1, url2, ...]`` or " |
| 633 |
"``[('title1', url1), ('title2', url2),...]``" |
| 634 |
msgstr "" |
| 635 |
|
| 636 |
# 7c994f6a9df44d9da5939c0311e727fd |
| 637 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 638 |
#: calibre.web.feeds.news.BasicNewsRecipe.filter_regexps:1 |
| 639 |
msgid "" |
| 640 |
"List of regular expressions that determines which links to ignore If empty " |
| 641 |
"it is ignored. Used only if is_link_wanted is not implemented. For example::" |
| 642 |
msgstr "" |
| 643 |
|
| 644 |
# e006976291be41be85c596ce582be0eb |
| 645 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 646 |
#: calibre.web.feeds.news.BasicNewsRecipe.filter_regexps:7 |
| 647 |
msgid "will remove all URLs that have `ads.doubleclick.net` in them." |
| 648 |
msgstr "" |
| 649 |
|
| 650 |
# f672a3d1124544cb8c3e7c1a228862fd |
| 651 |
# d059b2ab68294f3986fe5b748011903b |
| 652 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 653 |
#: calibre.web.feeds.news.BasicNewsRecipe.filter_regexps:9 |
| 654 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 655 |
#: calibre.web.feeds.news.BasicNewsRecipe.match_regexps:9 |
| 656 |
msgid "" |
| 657 |
"Only one of :attr:`BasicNewsRecipe.match_regexps` or " |
| 658 |
":attr:`BasicNewsRecipe.filter_regexps` should be defined." |
| 659 |
msgstr "" |
| 660 |
|
| 661 |
# c0e4910fbff0430d9939dd0089dd421c |
| 662 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 663 |
#: calibre.web.feeds.news.BasicNewsRecipe.ignore_duplicate_articles:1 |
| 664 |
msgid "" |
| 665 |
"Ignore duplicates of articles that are present in more than one section. A " |
| 666 |
"duplicate article is an article that has the same title and/or URL. To " |
| 667 |
"ignore articles with the same title, set this to: ignore_duplicate_articles " |
| 668 |
"= {'title'} To use URLs instead, set it to: ignore_duplicate_articles = " |
| 669 |
"{'url'} To match on title or URL, set it to: ignore_duplicate_articles = " |
| 670 |
"{'title', 'url'}" |
| 671 |
msgstr "" |
| 672 |
|
| 673 |
# 0c139492bd994db18ba93a940f9fea5f |
| 674 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 675 |
#: calibre.web.feeds.news.BasicNewsRecipe.keep_only_tags:1 |
| 676 |
msgid "" |
| 677 |
"Keep only the specified tags and their children. For the format for " |
| 678 |
"specifying a tag see :attr:`BasicNewsRecipe.remove_tags`. If this list is " |
| 679 |
"not empty, then the `<body>` tag will be emptied and re-filled with the tags" |
| 680 |
" that match the entries in this list. For example::" |
| 681 |
msgstr "" |
| 682 |
|
| 683 |
# c81de64e1d8a467ca9d338f889e0d02c |
| 684 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 685 |
#: calibre.web.feeds.news.BasicNewsRecipe.keep_only_tags:8 |
| 686 |
msgid "" |
| 687 |
"will keep only tags that have an `id` attribute of `\"content\"` or " |
| 688 |
"`\"heading\"`." |
| 689 |
msgstr "" |
| 690 |
|
| 691 |
# d5a08d957440432db0dc74a9b38a7b54 |
| 692 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 693 |
#: calibre.web.feeds.news.BasicNewsRecipe.language:1 |
| 694 |
msgid "" |
| 695 |
"The language that the news is in. Must be an ISO-639 code either two or " |
| 696 |
"three characters long" |
| 697 |
msgstr "" |
| 698 |
|
| 699 |
# ec2a5e266b5344fb89ebf659fcb960b8 |
| 700 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 701 |
#: calibre.web.feeds.news.BasicNewsRecipe.masthead_url:1 |
| 702 |
msgid "" |
| 703 |
"By default, calibre will use a default image for the masthead (Kindle only)." |
| 704 |
" Override this in your recipe to provide a url to use as a masthead." |
| 705 |
msgstr "" |
| 706 |
|
| 707 |
# 56102bcc599d46bf9e285f074ca33b85 |
| 708 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 709 |
#: calibre.web.feeds.news.BasicNewsRecipe.match_regexps:1 |
| 710 |
msgid "" |
| 711 |
"List of regular expressions that determines which links to follow If empty, " |
| 712 |
"it is ignored. Used only if is_link_wanted is not implemented. For example::" |
| 713 |
msgstr "" |
| 714 |
|
| 715 |
# 0aa39dd53b4a48c28838934b178bebca |
| 716 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 717 |
#: calibre.web.feeds.news.BasicNewsRecipe.match_regexps:7 |
| 718 |
msgid "will match all URLs that have `page=some number` in them." |
| 719 |
msgstr "" |
| 720 |
|
| 721 |
# f7ac9c927b664ec995960d4c3e87668b |
| 722 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 723 |
#: calibre.web.feeds.news.BasicNewsRecipe.max_articles_per_feed:1 |
| 724 |
msgid "" |
| 725 |
"Maximum number of articles to download from each feed. This is primarily " |
| 726 |
"useful for feeds that don't have article dates. For most feeds, you should " |
| 727 |
"use :attr:`BasicNewsRecipe.oldest_article`" |
| 728 |
msgstr "" |
| 729 |
|
| 730 |
# 8b4464e7e9ae460bad70b1ee9cedaf44 |
| 731 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 732 |
#: calibre.web.feeds.news.BasicNewsRecipe.needs_subscription:1 |
| 733 |
msgid "" |
| 734 |
"If True the GUI will ask the user for a username and password to use while " |
| 735 |
"downloading If set to \"optional\" the use of a username and password " |
| 736 |
"becomes optional" |
| 737 |
msgstr "" |
| 738 |
|
| 739 |
# 6d0a4c5a7c9a433fbbde9daa52295b11 |
| 740 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 741 |
#: calibre.web.feeds.news.BasicNewsRecipe.no_stylesheets:1 |
| 742 |
msgid "" |
| 743 |
"Convenient flag to disable loading of stylesheets for websites that have " |
| 744 |
"overly complex stylesheets unsuitable for conversion to ebooks formats If " |
| 745 |
"True stylesheets are not downloaded and processed" |
| 746 |
msgstr "" |
| 747 |
|
| 748 |
# 872b8cc6ee9741db811b03d1bc31ec0f |
| 749 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 750 |
#: calibre.web.feeds.news.BasicNewsRecipe.oldest_article:1 |
| 751 |
msgid "Oldest article to download from this news source. In days." |
| 752 |
msgstr "" |
| 753 |
|
| 754 |
# 5d21b07511664610991fc11fae04a928 |
| 755 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 756 |
#: calibre.web.feeds.news.BasicNewsRecipe.preprocess_regexps:1 |
| 757 |
msgid "" |
| 758 |
"List of :term:`regexp` substitution rules to run on the downloaded " |
| 759 |
":term:`HTML`. Each element of the list should be a two element tuple. The " |
| 760 |
"first element of the tuple should be a compiled regular expression and the " |
| 761 |
"second a callable that takes a single match object and returns a string to " |
| 762 |
"replace the match. For example::" |
| 763 |
msgstr "" |
| 764 |
|
| 765 |
# 4f38ff7f987b45e29f9c4dcb77683f9e |
| 766 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 767 |
#: calibre.web.feeds.news.BasicNewsRecipe.preprocess_regexps:12 |
| 768 |
msgid "will remove everythong from `<!--Article ends here-->` to `</body>`." |
| 769 |
msgstr "" |
| 770 |
|
| 771 |
# 49d86adf6f014eafae24e59e234aa3c5 |
| 772 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 773 |
#: calibre.web.feeds.news.BasicNewsRecipe.publication_type:1 |
| 774 |
msgid "" |
| 775 |
"Publication type Set to newspaper, magazine or blog. If set to None, no " |
| 776 |
"publication type metadata will be written to the opf file." |
| 777 |
msgstr "" |
| 778 |
|
| 779 |
# 3bea9f6b342244d8881b09640db513cd |
| 780 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 781 |
#: calibre.web.feeds.news.BasicNewsRecipe.recipe_disabled:1 |
| 782 |
msgid "" |
| 783 |
"Set to a non empty string to disable this recipe The string will be used as " |
| 784 |
"the disabled message" |
| 785 |
msgstr "" |
| 786 |
|
| 787 |
# 5ae401673cad4c31aa3160179043bcbf |
| 788 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 789 |
#: calibre.web.feeds.news.BasicNewsRecipe.recursions:1 |
| 790 |
msgid "Number of levels of links to follow on article webpages" |
| 791 |
msgstr "" |
| 792 |
|
| 793 |
# e1bbd5ec48164365960334fd9f257807 |
| 794 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 795 |
#: calibre.web.feeds.news.BasicNewsRecipe.remove_attributes:1 |
| 796 |
msgid "List of attributes to remove from all tags For example::" |
| 797 |
msgstr "" |
| 798 |
|
| 799 |
# 714aa81f90ea4b1187912189a3bd6e01 |
| 800 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 801 |
#: calibre.web.feeds.news.BasicNewsRecipe.remove_empty_feeds:1 |
| 802 |
msgid "" |
| 803 |
"If True empty feeds are removed from the output. This option has no effect " |
| 804 |
"if parse_index is overridden in the sub class. It is meant only for recipes " |
| 805 |
"that return a list of feeds using `feeds` or :meth:`get_feeds`. It is also " |
| 806 |
"used if you use the ignore_duplicate_articles option." |
| 807 |
msgstr "" |
| 808 |
|
| 809 |
# 3ca8d522119c44dfab7e4c59a633189f |
| 810 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 811 |
#: calibre.web.feeds.news.BasicNewsRecipe.remove_javascript:1 |
| 812 |
msgid "Convenient flag to strip all javascript tags from the downloaded HTML" |
| 813 |
msgstr "" |
| 814 |
|
| 815 |
# 94eb4b01af2a43348922fa15e7f0d6ae |
| 816 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 817 |
#: calibre.web.feeds.news.BasicNewsRecipe.remove_tags:1 |
| 818 |
msgid "" |
| 819 |
"List of tags to be removed. Specified tags are removed from downloaded HTML." |
| 820 |
" A tag is specified as a dictionary of the form::" |
| 821 |
msgstr "" |
| 822 |
|
| 823 |
# 09e563d2912541eb98917a7545995f41 |
| 824 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 825 |
#: calibre.web.feeds.news.BasicNewsRecipe.remove_tags:9 |
| 826 |
msgid "" |
| 827 |
"All keys are optional. For a full explanation of the search criteria, see " |
| 828 |
"`Beautiful Soup " |
| 829 |
"<http://www.crummy.com/software/BeautifulSoup/bs3/documentation.html#Searching%20the%20Parse%20Tree>`_" |
| 830 |
" A common example::" |
| 831 |
msgstr "" |
| 832 |
|
| 833 |
# 999e041330c549fe853a998ee3a3fb1d |
| 834 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 835 |
#: calibre.web.feeds.news.BasicNewsRecipe.remove_tags:15 |
| 836 |
msgid "" |
| 837 |
"This will remove all `<div class=\"advert\">` tags and all their children " |
| 838 |
"from the downloaded :term:`HTML`." |
| 839 |
msgstr "" |
| 840 |
|
| 841 |
# 36c45f3040e948218dca9f630f615fd4 |
| 842 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 843 |
#: calibre.web.feeds.news.BasicNewsRecipe.remove_tags_after:1 |
| 844 |
msgid "" |
| 845 |
"Remove all tags that occur after the specified tag. For the format for " |
| 846 |
"specifying a tag see :attr:`BasicNewsRecipe.remove_tags`. For example::" |
| 847 |
msgstr "" |
| 848 |
|
| 849 |
# 5423fa03b0504f3c8c5834e0d8285fd6 |
| 850 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 851 |
#: calibre.web.feeds.news.BasicNewsRecipe.remove_tags_after:7 |
| 852 |
msgid "will remove all tags after the first element with `id=\"content\"`." |
| 853 |
msgstr "" |
| 854 |
|
| 855 |
# 4e21cac7244048898c0c1536ee6cc9ae |
| 856 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 857 |
#: calibre.web.feeds.news.BasicNewsRecipe.remove_tags_before:1 |
| 858 |
msgid "" |
| 859 |
"Remove all tags that occur before the specified tag. For the format for " |
| 860 |
"specifying a tag see :attr:`BasicNewsRecipe.remove_tags`. For example::" |
| 861 |
msgstr "" |
| 862 |
|
| 863 |
# 7d1c2692393643c58cc2b8cd9e1fa12f |
| 864 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 865 |
#: calibre.web.feeds.news.BasicNewsRecipe.remove_tags_before:7 |
| 866 |
msgid "will remove all tags before the first element with `id=\"content\"`." |
| 867 |
msgstr "" |
| 868 |
|
| 869 |
# e6b45f2fbf384a49b52411e3cff50517 |
| 870 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 871 |
#: calibre.web.feeds.news.BasicNewsRecipe.requires_version:1 |
| 872 |
msgid "Minimum calibre version needed to use this recipe" |
| 873 |
msgstr "" |
| 874 |
|
| 875 |
# 10f1f7a4ca324eb5ae360853ab88e2fa |
| 876 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 877 |
#: calibre.web.feeds.news.BasicNewsRecipe.reverse_article_order:1 |
| 878 |
msgid "Reverse the order of articles in each feed" |
| 879 |
msgstr "" |
| 880 |
|
| 881 |
# 7f35991ed2d04f6ba2ceab8392876776 |
| 882 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 883 |
#: calibre.web.feeds.news.BasicNewsRecipe.scale_news_images:1 |
| 884 |
msgid "" |
| 885 |
"Maximum dimensions (w,h) to scale images to. If scale_news_images_to_device " |
| 886 |
"is True this is set to the device screen dimensions set by the output " |
| 887 |
"profile unless there is no profile set, in which case it is left at whatever" |
| 888 |
" value it has been assigned (default None)." |
| 889 |
msgstr "" |
| 890 |
|
| 891 |
# 72eb3ca9312a4a02ab8285b1dbada704 |
| 892 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 893 |
#: calibre.web.feeds.news.BasicNewsRecipe.scale_news_images_to_device:1 |
| 894 |
msgid "" |
| 895 |
"Rescale images to fit in the device screen dimensions set by the output " |
| 896 |
"profile. Ignored if no output profile is set." |
| 897 |
msgstr "" |
| 898 |
|
| 899 |
# 33ade171011842aaaf800a0f8ba8aef7 |
| 900 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 901 |
#: calibre.web.feeds.news.BasicNewsRecipe.simultaneous_downloads:1 |
| 902 |
msgid "" |
| 903 |
"Number of simultaneous downloads. Set to 1 if the server is picky. " |
| 904 |
"Automatically reduced to 1 if :attr:`BasicNewsRecipe.delay` > 0" |
| 905 |
msgstr "" |
| 906 |
|
| 907 |
# 96614fee7b154a379f5e80101b68398f |
| 908 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 909 |
#: calibre.web.feeds.news.BasicNewsRecipe.summary_length:1 |
| 910 |
msgid "Max number of characters in the short description" |
| 911 |
msgstr "" |
| 912 |
|
| 913 |
# fa7d74c6ca8a42d6a2c8675d86acce29 |
| 914 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 915 |
#: calibre.web.feeds.news.BasicNewsRecipe.template_css:1 |
| 916 |
msgid "" |
| 917 |
"The CSS that is used to style the templates, i.e., the navigation bars and " |
| 918 |
"the Tables of Contents. Rather than overriding this variable, you should use" |
| 919 |
" `extra_css` in your recipe to customize look and feel." |
| 920 |
msgstr "" |
| 921 |
|
| 922 |
# 8f7e580892f34c42bdf7e1faf52c9fce |
| 923 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 924 |
#: calibre.web.feeds.news.BasicNewsRecipe.timefmt:1 |
| 925 |
msgid "" |
| 926 |
"The format string for the date shown on the first page. By default: " |
| 927 |
"Day_Name, Day_Number Month_Name Year" |
| 928 |
msgstr "" |
| 929 |
|
| 930 |
# ea56b52413704d30bf34951725b62c74 |
| 931 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 932 |
#: calibre.web.feeds.news.BasicNewsRecipe.timeout:1 |
| 933 |
msgid "Timeout for fetching files from server in seconds" |
| 934 |
msgstr "" |
| 935 |
|
| 936 |
# d5f6ddf49fae4fc3b9da5f24925f7720 |
| 937 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 938 |
#: calibre.web.feeds.news.BasicNewsRecipe.title:1 |
| 939 |
msgid "The title to use for the ebook" |
| 940 |
msgstr "" |
| 941 |
|
| 942 |
# fb8f00f89f9c486288c8cc0d325f42c4 |
| 943 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 944 |
#: calibre.web.feeds.news.BasicNewsRecipe.use_embedded_content:1 |
| 945 |
msgid "" |
| 946 |
"Normally we try to guess if a feed has full articles embedded in it based on" |
| 947 |
" the length of the embedded content. If `None`, then the default guessing is" |
| 948 |
" used. If `True` then the we always assume the feeds has embedded content " |
| 949 |
"and if `False` we always assume the feed does not have embedded content." |
| 950 |
msgstr "" |
| 951 |
|
| 952 |
# 856681a3bef54555a784729aa4d6cac8 |
| 953 |
#: ../../home/kovid/work/calibre/src/calibre/web/feeds/news.pydocstring of |
| 954 |
#: calibre.web.feeds.news.BasicNewsRecipe.use_javascript_to_login:1 |
| 955 |
msgid "" |
| 956 |
"If you set this True, then calibre will use javascript to login to the " |
| 957 |
"website. This is needed for some websites that require the use of javascript" |
| 958 |
" to login. If you set this to True you must implement the " |
| 959 |
":meth:`javascript_login` method, to do the actual logging in." |
| 960 |
msgstr "" |