Debian Codegraph @

translations/manual/nb/news_recipe.po

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