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