Debian Codegraph @

translations/manual/sv/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 # Jonatan Nyberg, 2026
7 # efef6ec5b435a041fce803c7f8af77d2_2341d43, 2018,2020
8 # efef6ec5b435a041fce803c7f8af77d2_2341d43, 2020
9 # Jonatan Nyberg, 2026
10 # Jonatan Nyberg, 2016-2017,2021-2024,2026
11 # Jonatan Nyberg, 2018-2021
12 # efef6ec5b435a041fce803c7f8af77d2_2341d43, 2018
13 # Jonatan Nyberg, 2026
14 # Merarom <[email protected]>, 2014-2015,2017
15 msgid ""
16 msgstr ""
17 "Project-Id-Version: calibre\n"
18 "Report-Msgid-Bugs-To: \n"
19 "POT-Creation-Date: 2026-09-16 15:05+0000\n"
20 "PO-Revision-Date: 2014-06-17 08:36+0000\n"
21 "Last-Translator: Jonatan Nyberg, 2026\n"
22 "Language-Team: Swedish (http://app.transifex.com/calibre/calibre/language/sv/)\n"
23 "MIME-Version: 1.0\n"
24 "Content-Type: text/plain; charset=UTF-8\n"
25 "Content-Transfer-Encoding: 8bit\n"
26 "Language: sv\n"
27 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
28
29 #: ../../../__w/calibre/calibre/manual/news_recipe.rst:4
30 msgid "API documentation for recipes"
31 msgstr "API-dokumentation för recept"
32
33 #: ../../../__w/calibre/calibre/manual/news_recipe.rst:9
34 msgid "The API for writing recipes is defined by the :class:`BasicNewsRecipe`"
35 msgstr "API:et för att skriva recept definieras av :class:`BasicNewsRecipe`."
36
37 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
38 #: calibre.web.feeds.news.BasicNewsRecipe:1
39 msgid ""
40 "Base class that contains logic needed in all recipes. By overriding "
41 "progressively more of the functionality in this class, you can make "
42 "progressively more customized/powerful recipes. For a tutorial introduction "
43 "to creating recipes, see :doc:`news`."
44 msgstr "Basklass som innehåller den logik som behövs i alla recept. Genom att åsidosätta allt fler funktioner i klassen kan du skapa mer anpassade och kraftfulla recept. En introduktion till att skapa recept finns i :doc:`news`."
45
46 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
47 #: calibre.web.feeds.news.BasicNewsRecipe.adeify_images:1
48 msgid ""
49 "If your recipe when converted to EPUB has problems with images when viewed "
50 "in Adobe Digital Editions, call this method from within "
51 ":meth:`postprocess_html`."
52 msgstr "Om ditt recept vid konvertering till EPUB har problem med bilderna när de visas i Adobe Digital Editions, anropa den här metoden inifrån :meth:`postprocess_html`."
53
54 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
55 #: calibre.web.feeds.news.BasicNewsRecipe.image_url_processor:1
56 msgid ""
57 "Perform some processing on image urls (perhaps removing size restrictions "
58 "for dynamically generated images, etc.) and return the processed URL. Return"
59 " None or an empty string to skip fetching the image."
60 msgstr "Utför en del bearbetning av bild-URL:er (kanske ta bort storleksbegränsningar för dynamiskt genererade bilder etc.) och returnera den bearbetade URL:en. Returnera None eller en tom sträng för att hoppa över att hämta bilden."
61
62 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
63 #: calibre.web.feeds.news.BasicNewsRecipe.print_version:1
64 msgid ""
65 "Take a `url` pointing to the webpage with article content and return the "
66 ":term:`URL` pointing to the print version of the article. By default does "
67 "nothing. For example::"
68 msgstr "Ta en `url` som hänvisar till en webbplats med artikelinnehåll och returnerar :term:`URL` som hänvisar till en utskrivbar version av artikeln. Som standard gör den ingenting. Till exempel::"
69
70 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
71 #: calibre.web.feeds.news.BasicNewsRecipe.tag_to_string:1
72 msgid ""
73 "Convenience method to take a `BeautifulSoup "
74 "<https://www.crummy.com/software/BeautifulSoup/bs4/doc/>`_ :code:`Tag` and "
75 "extract the text from it recursively, including any CDATA sections and alt "
76 "tag attributes. Return a possibly empty Unicode string."
77 msgstr "Hjälpmetod som tar ett :code:`Tag`-objekt från `BeautifulSoup <https://www.crummy.com/software/BeautifulSoup/bs4/doc/>`_ och rekursivt extraherar texten ur det, inklusive eventuella CDATA-avsnitt och alt-attribut. Returnerar en Unicode-sträng som kan vara tom."
78
79 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
80 #: calibre.web.feeds.news.BasicNewsRecipe.tag_to_string:6
81 msgid ""
82 "`use_alt`: If `True` try to use the alt attribute for tags that don't have "
83 "any textual content"
84 msgstr "`use_alt`: Om `True`, försök använda alt-attributet för taggar som saknar textinnehåll."
85
86 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
87 #: calibre.web.feeds.news.BasicNewsRecipe.tag_to_string:9
88 msgid ""
89 "`tag`: `BeautifulSoup "
90 "<https://www.crummy.com/software/BeautifulSoup/bs4/doc/>`_ :code:`Tag`"
91 msgstr "`tag`: `BeautifulSoup <https://www.crummy.com/software/BeautifulSoup/bs4/doc/>`_ :code:`Tag`"
92
93 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
94 #: calibre.web.feeds.news.BasicNewsRecipe.abort_article:1
95 msgid ""
96 "Call this method inside any of the preprocess methods to abort the download "
97 "for the current article. Useful to skip articles that contain inappropriate "
98 "content, such as pure video articles."
99 msgstr "Anropa denna metod inifrån någon av förbehandlingsmetoderna för att avbryta hämtningen av den aktuella artikeln. Det är användbart för att hoppa över artiklar med olämpligt innehåll, till exempel artiklar som enbart innehåller video."
100
101 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
102 #: calibre.web.feeds.news.BasicNewsRecipe.abort_recipe_processing:1
103 msgid ""
104 "Causes the recipe download system to abort the download of this recipe, "
105 "displaying a simple feedback message to the user."
106 msgstr "Får recepthämtningssystemet att avbryta hämtningen av receptet och visa ett enkelt meddelande för användaren."
107
108 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
109 #: calibre.web.feeds.news.BasicNewsRecipe.add_toc_thumbnail:1
110 msgid ""
111 "Call this from populate_article_metadata with the src attribute of an <img> "
112 "tag from the article that is appropriate for use as the thumbnail "
113 "representing the article in the Table of Contents. Whether the thumbnail is "
114 "actually used is device dependent (currently only used by the Kindles). Note"
115 " that the referenced image must be one that was successfully downloaded, "
116 "otherwise it will be ignored."
117 msgstr "Anropa detta från populate_article_metadata med attributet src för en <img>-tagg från artikeln som är lämplig att använda som miniatyrbild som representerar artikeln i innehållsförteckningen. Huruvida miniatyrbilden faktiskt används är enhetsberoende (används för närvarande endast av Kindle-läsenheter). Observera att den refererade bilden måste vara en som hämtats ner, annars kommer den att ignoreras."
118
119 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
120 #: calibre.web.feeds.news.BasicNewsRecipe.canonicalize_internal_url:1
121 msgid ""
122 "Return a set of canonical representations of ``url``. The default "
123 "implementation uses just the server hostname and path of the URL, ignoring "
124 "any query parameters, fragments, etc. The canonical representations must be "
125 "unique across all URLs for this news source. If they are not, then internal "
126 "links may be resolved incorrectly."
127 msgstr "Returnera en uppsättning kanoniska representationer av ``url``. Standardimplementeringen använder bara serverns värdnamn och sökväg för URL:en, ignorerar eventuella frågeparametrar, fragment etc. De kanoniska representationerna måste vara unika för alla URL:er för den här nyhetskällan. Om de inte är det kan interna länkar lösas felaktigt."
128
129 #: ../../../__w/calibre/calibre/manual/news_recipe.rst:0
130 msgid "Parameters"
131 msgstr "Parametrar"
132
133 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
134 #: calibre.web.feeds.news.BasicNewsRecipe.canonicalize_internal_url:7
135 msgid ""
136 "Is True if the URL is coming from an internal link in an HTML file. False if"
137 " the URL is the URL used to download an article."
138 msgstr "Är True om URL:en kommer från en intern länk i en HTML-fil. False om URL:en är URL:en som används för att hämta en artikel."
139
140 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
141 #: calibre.web.feeds.news.BasicNewsRecipe.cleanup:1
142 msgid ""
143 "Called after all articles have been download. Use it to do any cleanup like "
144 "logging out of subscription sites, etc."
145 msgstr "Anropas när alla artiklar har hämtats. Använd metoden för avslutande åtgärder, till exempel att logga ut från prenumerationswebbplatser."
146
147 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
148 #: calibre.web.feeds.news.BasicNewsRecipe.clone_browser:1
149 msgid ""
150 "Clone the browser br. Cloned browsers are used for multi-threaded downloads,"
151 " since mechanize is not thread safe. The default cloning routines should "
152 "capture most browser customization, but if you do something exotic in your "
153 "recipe, you should override this method in your recipe and clone manually."
154 msgstr "Klona webbläsaren br. Klonade webbläsare används för flertrådade hämtningar, eftersom mechanize inte är trådsäkert. Standardrutinerna för kloning bör bevara de flesta webbläsaranpassningar. Om receptet gör något ovanligt bör du åsidosätta metoden i receptet och klona manuellt."
155
156 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
157 #: calibre.web.feeds.news.BasicNewsRecipe.clone_browser:7
158 msgid ""
159 "Cloned browser instances use the same, thread-safe CookieJar by default, "
160 "unless you have customized cookie handling."
161 msgstr "Klonade webbläsarinstanser använder samma, trådsäkra CookieJar som standard, såvida du inte har anpassad hantering av kakor."
162
163 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
164 #: calibre.web.feeds.news.BasicNewsRecipe.default_cover:1
165 msgid "Create a generic cover for recipes that don't have a cover"
166 msgstr "Skapa ett generiskt omslag för recept som inte har ett omslag"
167
168 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
169 #: calibre.web.feeds.news.BasicNewsRecipe.download:1
170 msgid ""
171 "Download and pre-process all articles from the feeds in this recipe. This "
172 "method should be called only once on a particular Recipe instance. Calling "
173 "it more than once will lead to undefined behavior. :return: Path to "
174 "index.html"
175 msgstr "Hämta och förbearbeta alla artiklar från flödena i detta recept. Denna metod bör endast anropas en gång för en viss receptinstans. Att anropa den mer än en gång kommer att leda till odefinierat beteende. :return: Sökväg till index.html"
176
177 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
178 #: calibre.web.feeds.news.BasicNewsRecipe.extract_readable_article:1
179 msgid ""
180 "Extracts main article content from 'html', cleans up and returns as a "
181 "(article_html, extracted_title) tuple. Based on the original readability "
182 "algorithm by Arc90."
183 msgstr "Extraherar artikelns huvudinnehåll från 'html', rensar det och returnerar en tupel av formen (article_html, extracted_title). Bygger på Arc90:s ursprungliga Readability-algoritm."
184
185 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
186 #: calibre.web.feeds.news.BasicNewsRecipe.get_article_url:1
187 msgid ""
188 "Override in a subclass to customize extraction of the :term:`URL` that "
189 "points to the content for each article. Return the article URL. It is called"
190 " with `article`, an object representing a parsed article from a feed. See "
191 "`feedparser <https://pythonhosted.org/feedparser/>`_. By default it looks "
192 "for the original link (for feeds syndicated via a service like FeedBurner or"
193 " Pheedo) and if found, returns that or else returns `article.link "
194 "<https://pythonhosted.org/feedparser/reference-entry-link.html>`_."
195 msgstr "Åsidosätt i en underklass för att anpassa extraheringen av :term:`URL` som hänvisar till innehållet för varje artikel. Returnera artikelns URL. Den anropas med `article`, ett objekt som representerar en analyserad artikel från ett flöde. Se `feedparser <https://pythonhosted.org/feedparser/>`_. Normalt söker den efter den ursprungliga länken (för flöden som syndikeras via en tjänst som FeedBurner eller Pheedo) och om den hittas returneras den; annars returneras `article.link <https://pythonhosted.org/feedparser/reference-entry-link.html>`_."
196
197 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
198 #: calibre.web.feeds.news.BasicNewsRecipe.get_browser:1
199 msgid ""
200 "Return a browser instance used to fetch documents from the web. By default "
201 "it returns a `mechanize <https://mechanize.readthedocs.io/en/latest/>`_ "
202 "browser instance that supports cookies, ignores robots.txt, handles "
203 "refreshes and has a random common user agent."
204 msgstr "Returnera en webbläsarinstans för att hämta dokument från webben. Som standard returneras en instans av `mechanize <https://mechanize.readthedocs.io/en/latest/>`_ som stöder kakor, ignorerar robots.txt, hanterar siduppdateringar och använder en slumpmässigt vald, vanligt förekommande användaragent."
205
206 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
207 #: calibre.web.feeds.news.BasicNewsRecipe.get_browser:6
208 msgid "To customize the browser override this method in your sub-class as::"
209 msgstr "För att anpassa webbläsaren åsidosätt denna metod i din underklass som::"
210
211 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
212 #: calibre.web.feeds.news.BasicNewsRecipe.get_cover_url:1
213 msgid ""
214 "Return a :term:`URL` to the cover image for this issue or `None`. By default"
215 " it returns the value of the member `self.cover_url` which is normally "
216 "`None`. If you want your recipe to download a cover for the e-book override "
217 "this method in your subclass, or set the member variable `self.cover_url` "
218 "before this method is called."
219 msgstr "Returnera en :term:`URL` till omslagsbilden för det här numret eller `None`. Som standard returneras värdet i `self.cover_url`, som normalt är `None`. Om receptet ska hämta ett omslag till e-boken åsidosätter du metoden i underklassen eller anger medlemsvariabeln `self.cover_url` innan metoden anropas."
220
221 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
222 #: calibre.web.feeds.news.BasicNewsRecipe.get_extra_css:1
223 msgid ""
224 "By default returns `self.extra_css`. Override if you want to "
225 "programmatically generate the extra_css."
226 msgstr "Som standard returneras `self.extra_css`. Åsidosätt om du vill programmässigt skapa extra_css."
227
228 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
229 #: calibre.web.feeds.news.BasicNewsRecipe.get_feeds:1
230 msgid ""
231 "Return a list of :term:`RSS` feeds to fetch for this profile. Each element "
232 "of the list must be a 2-element tuple of the form (title, url). If title is "
233 "None or an empty string, the title from the feed is used. This method is "
234 "useful if your recipe needs to do some processing to figure out the list of "
235 "feeds to download. If so, override in your subclass."
236 msgstr "Returnera en lista över :term:`RSS`-flöden som ska hämtas för den här profilen. Varje element i listan måste vara en tupel med två element i formen (title, url). Om title är None eller en tom sträng används flödets titel. Metoden är användbar om receptet behöver bearbeta information för att fastställa listan över flöden som ska hämtas. Åsidosätt i så fall metoden i underklassen."
237
238 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
239 #: calibre.web.feeds.news.BasicNewsRecipe.get_masthead_title:1
240 msgid "Override in subclass to use something other than the recipe title"
241 msgstr "Åsidosätt i underklass för att använda något annat än recepttiteln"
242
243 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
244 #: calibre.web.feeds.news.BasicNewsRecipe.get_masthead_url:1
245 msgid ""
246 "Return a :term:`URL` to the masthead image for this issue or `None`. By "
247 "default it returns the value of the member `self.masthead_url` which is "
248 "normally `None`. If you want your recipe to download a masthead for the "
249 "e-book override this method in your subclass, or set the member variable "
250 "`self.masthead_url` before this method is called. Masthead images are used "
251 "in Kindle MOBI files."
252 msgstr "Returnera en :term:`URL` till redaktionsloggan för denna utgåva eller `None`. Som standard returneras värdet på medlemmen `self.masthead_url` som normalt är `None`. Om du vill att ditt recept ska hämta en redaktionslogga för e-boken åsidosätter du denna metod i din underklass, eller ställer in medlemsvariabeln `self.masthead_url` innan denna metod anropas. Redaktionsloggor används i Kindle MOBI-filer."
253
254 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
255 #: calibre.web.feeds.news.BasicNewsRecipe.get_obfuscated_article:1
256 msgid ""
257 "If you set `articles_are_obfuscated` this method is called with every "
258 "article URL. It should return the path to a file on the filesystem that "
259 "contains the article HTML. That file is processed by the recursive HTML "
260 "fetching engine, so it can contain links to pages/images on the web. "
261 "Alternately, you can return a dictionary of the form: {'data': <HTML data>, "
262 "'url': <the resolved URL of the article>}. This avoids needing to create "
263 "temporary files. The `url` key in the dictionary is useful if the effective "
264 "URL of the article is different from the URL passed into this method, for "
265 "example, because of redirects. It can be omitted if the URL is unchanged."
266 msgstr "Om du anger `articles_are_obfuscated` anropas metoden med varje artikeladress. Den ska returnera sökvägen till en fil i filsystemet som innehåller artikelns HTML. Filen bearbetas av den rekursiva HTML-hämtningsmotorn och kan därför innehålla länkar till sidor och bilder på webben. Alternativt kan du returnera en ordbok i formen: {'data': <HTML data>, 'url': <the resolved URL of the article>}. Då behöver inga tillfälliga filer skapas. Nyckeln `url` är användbar om artikelns faktiska URL skiljer sig från den URL som skickades till metoden, till exempel på grund av omdirigeringar. Den kan utelämnas om URL:en är oförändrad."
267
268 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
269 #: calibre.web.feeds.news.BasicNewsRecipe.get_obfuscated_article:11
270 msgid ""
271 "This method is typically useful for sites that try to make it difficult to "
272 "access article content automatically."
273 msgstr "Denna metod är särskilt användbar för webbplatser som försöker försvåra automatisk åtkomst till artikelinnehåll."
274
275 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
276 #: calibre.web.feeds.news.BasicNewsRecipe.get_url_specific_delay:1
277 msgid ""
278 "Return the delay in seconds before downloading this URL. If you want to "
279 "programmatically determine the delay for the specified URL, override this "
280 "method in your subclass, returning self.delay by default for URLs you do not"
281 " want to affect."
282 msgstr "Returnera fördröjningen i sekunder innan URL:en hämtas. Om du vill bestämma fördröjningen programmatiskt för den angivna URL:en åsidosätter du metoden i underklassen. Returnera self.delay som standard för URL:er som inte ska påverkas."
283
284 #: ../../../__w/calibre/calibre/manual/news_recipe.rst:0
285 msgid "Returns"
286 msgstr "Returnerar"
287
288 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
289 #: calibre.web.feeds.news.BasicNewsRecipe.get_url_specific_delay:5
290 msgid "A floating point number, the delay in seconds."
291 msgstr "Ett flyttal, fördröjningen i sekunder."
292
293 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
294 #: calibre.web.feeds.news.BasicNewsRecipe.index_to_soup:1
295 msgid ""
296 "Convenience method that takes an URL to the index page and returns a "
297 "`BeautifulSoup <https://www.crummy.com/software/BeautifulSoup/bs4/doc>`__ of"
298 " it."
299 msgstr "Hjälpmetod som tar en URL till indexsidan och returnerar ett `BeautifulSoup <https://www.crummy.com/software/BeautifulSoup/bs4/doc>`__-objekt för sidan."
300
301 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
302 #: calibre.web.feeds.news.BasicNewsRecipe.index_to_soup:5
303 msgid "`url_or_raw`: Either a URL or the downloaded index page as a string"
304 msgstr "`url_or_raw`: Antingen en URL eller den hämtade indexsidan som en sträng"
305
306 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
307 #: calibre.web.feeds.news.BasicNewsRecipe.is_link_wanted:1
308 msgid ""
309 "Return True if the link should be followed or False otherwise. By default, "
310 "raises NotImplementedError which causes the downloader to ignore it."
311 msgstr "Returnera True om länken ska följas, annars False. Som standard utlöses NotImplementedError, vilket får hämtningsfunktionen att ignorera metoden."
312
313 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
314 #: calibre.web.feeds.news.BasicNewsRecipe.is_link_wanted:5
315 msgid "The URL to be followed"
316 msgstr "URL:en som ska följas"
317
318 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
319 #: calibre.web.feeds.news.BasicNewsRecipe.is_link_wanted:6
320 msgid "The tag from which the URL was derived"
321 msgstr "Taggen som URL:en hämtades från"
322
323 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
324 #: calibre.web.feeds.news.BasicNewsRecipe.parse_feeds:1
325 msgid ""
326 "Create a list of articles from the list of feeds returned by "
327 ":meth:`BasicNewsRecipe.get_feeds`. Return a list of :class:`Feed` objects."
328 msgstr "Skapa en lista med artiklar från flödena som returneras av :meth:`BasicNewsRecipe.get_feeds`. Returnera en lista med :class:`Feed`-objekt."
329
330 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
331 #: calibre.web.feeds.news.BasicNewsRecipe.parse_index:1
332 msgid ""
333 "This method should be implemented in recipes that parse a website instead of"
334 " feeds to generate a list of articles. Typical uses are for news sources "
335 "that have a \"Print Edition\" webpage that lists all the articles in the "
336 "current print edition. If this function is implemented, it will be used in "
337 "preference to :meth:`BasicNewsRecipe.parse_feeds`."
338 msgstr "Den här metoden bör implementeras i recept som analyserar en webbplats i stället för flöden för att skapa en lista med artiklar. Typiska användningsområden är för nyhetskällor som har en \"tryckt upplaga\"-webbplats som listar alla artiklar i den aktuella tryckupplagan. Om funktionen implementeras används den i stället för :meth:`BasicNewsRecipe.parse_feeds`."
339
340 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
341 #: calibre.web.feeds.news.BasicNewsRecipe.parse_index:7
342 msgid ""
343 "It must return a list. Each element of the list must be a 2-element tuple of"
344 " the form ``('feed title', list of articles)``."
345 msgstr "Det måste returnera en lista. Varje element i listan måste vara en tvåelementstupel av formen ``('feed title', list of articles)``."
346
347 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
348 #: calibre.web.feeds.news.BasicNewsRecipe.parse_index:10
349 msgid "Each list of articles must contain dictionaries of the form::"
350 msgstr "Varje lista med artiklar måste innehålla ordböcker av formen::"
351
352 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
353 #: calibre.web.feeds.news.BasicNewsRecipe.parse_index:23
354 msgid ""
355 "For an example, see the recipe for downloading `The Atlantic`. In addition, "
356 "you can add 'author' for the author of the article."
357 msgstr "Ett exempel finns i receptet för att hämta `The Atlantic`. Du kan även lägga till 'author' för artikelns författare."
358
359 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
360 #: calibre.web.feeds.news.BasicNewsRecipe.parse_index:26
361 msgid ""
362 "If you want to abort processing for some reason and have calibre show the "
363 "user a simple message instead of an error, call "
364 ":meth:`abort_recipe_processing`."
365 msgstr "Om du vill avbryta behandlingen av någon anledning och låta calibre visa användaren ett enkelt budskap i stället för ett fel, anropa :meth:`abort_recipe_processing`."
366
367 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
368 #: calibre.web.feeds.news.BasicNewsRecipe.populate_article_metadata:1
369 msgid ""
370 "Called when each HTML page belonging to article is downloaded. Intended to "
371 "be used to get article metadata like author/summary/etc. from the parsed "
372 "HTML (soup)."
373 msgstr "Anropas när varje HTML-sida som hör till artikeln har hämtats. Metoden är avsedd att användas för att hämta artikelmetadata, såsom författare och sammanfattning, från den analyserade HTML-strukturen (`soup`)."
374
375 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
376 #: calibre.web.feeds.news.BasicNewsRecipe.populate_article_metadata:5
377 msgid ""
378 "A object of class :class:`calibre.web.feeds.Article`. If you change the "
379 "summary, remember to also change the text_summary"
380 msgstr "Ett objekt av klass :class:`calibre.web.feeds.Article`. Om du ändrar sammanfattningen, kom ihåg att också ändra text_summary"
381
382 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
383 #: calibre.web.feeds.news.BasicNewsRecipe.populate_article_metadata:7
384 msgid "Parsed HTML belonging to this article"
385 msgstr "Analyserad HTML som tillhör denna artikel"
386
387 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
388 #: calibre.web.feeds.news.BasicNewsRecipe.populate_article_metadata:8
389 msgid "True iff the parsed HTML is the first page of the article."
390 msgstr "True om och endast om den analyserade HTML-koden är artikelns första sida."
391
392 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
393 #: calibre.web.feeds.news.BasicNewsRecipe.postprocess_book:1
394 msgid "Run any needed post processing on the parsed downloaded e-book."
395 msgstr "Utför den efterbehandling som behövs på den analyserade, hämtade e-boken."
396
397 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
398 #: calibre.web.feeds.news.BasicNewsRecipe.postprocess_book:3
399 msgid "An OEBBook object"
400 msgstr "Ett OEBBook-objekt"
401
402 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
403 #: calibre.web.feeds.news.BasicNewsRecipe.postprocess_book:4
404 msgid "Conversion options"
405 msgstr "Konverteringsalternativ"
406
407 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
408 #: calibre.web.feeds.news.BasicNewsRecipe.postprocess_html:1
409 msgid ""
410 "This method is called with the source of each downloaded :term:`HTML` file, "
411 "after it is parsed for links and images. It can be used to do arbitrarily "
412 "powerful post-processing on the :term:`HTML`. It should return `soup` after "
413 "processing it."
414 msgstr "Denna metod anropas med källkoden för varje hämtad :term:`HTML`-fil, efter att den har analyserats för länkar och bilder. Metoden kan användas för valfri avancerad efterbehandling av :term:`HTML`. Den ska returnera `soup` efter bearbetningen."
415
416 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
417 #: calibre.web.feeds.news.BasicNewsRecipe.postprocess_html:6
418 msgid ""
419 "A `BeautifulSoup <https://www.crummy.com/software/BeautifulSoup/bs4/doc/>`__"
420 " instance containing the downloaded :term:`HTML`."
421 msgstr "En instans av `BeautifulSoup <https://www.crummy.com/software/BeautifulSoup/bs4/doc/>`__ som innehåller den hämtade :term:`HTML`-koden."
422
423 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
424 #: calibre.web.feeds.news.BasicNewsRecipe.postprocess_html:7
425 msgid "True if this is the first page of an article."
426 msgstr "True om detta är första sidan av en artikel."
427
428 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
429 #: calibre.web.feeds.news.BasicNewsRecipe.preprocess_html:1
430 msgid ""
431 "This method is called with the source of each downloaded :term:`HTML` file, "
432 "before it is parsed for links and images. It is called after the cleanup as "
433 "specified by remove_tags etc. It can be used to do arbitrarily powerful pre-"
434 "processing on the :term:`HTML`. It should return `soup` after processing it."
435 msgstr "Denna metod anropas med källkoden för varje hämtad :term:`HTML`-fil, innan den analyseras för länkar och bilder. Anropet sker efter den rensning som anges av remove_tags med flera attribut. Metoden kan användas för valfri avancerad förbehandling av :term:`HTML`. Den ska returnera `soup` efter bearbetningen."
436
437 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
438 #: calibre.web.feeds.news.BasicNewsRecipe.preprocess_html:7
439 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
440 #: calibre.web.feeds.news.BasicNewsRecipe.skip_ad_pages:8
441 msgid ""
442 "`soup`: A `BeautifulSoup "
443 "<https://www.crummy.com/software/BeautifulSoup/bs4/doc/>`__ instance "
444 "containing the downloaded :term:`HTML`."
445 msgstr "`soup`: En instans av `BeautifulSoup <https://www.crummy.com/software/BeautifulSoup/bs4/doc/>`__ som innehåller den hämtade :term:`HTML`-koden."
446
447 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
448 #: calibre.web.feeds.news.BasicNewsRecipe.preprocess_image:1
449 msgid ""
450 "Perform some processing on downloaded image data. This is called on the raw "
451 "data before any resizing is done. Must return the processed raw data. Return"
452 " None to skip the image."
453 msgstr "Utför viss bearbetning av hämtade bilddata. Denna anropas på rådata innan någon storleksändring görs. Måste returnera bearbetade rådata. Returnera None för att hoppa över bilden."
454
455 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
456 #: calibre.web.feeds.news.BasicNewsRecipe.preprocess_raw_html:1
457 msgid ""
458 "This method is called with the source of each downloaded :term:`HTML` file, "
459 "before it is parsed into an object tree. raw_html is a unicode string "
460 "representing the raw HTML downloaded from the web. url is the URL from which"
461 " the HTML was downloaded."
462 msgstr "Den här metoden anropas med källkoden för varje hämtad :term:`HTML`-fil innan filen tolkas till ett objektträd. `raw_html` är en Unicode-sträng som innehåller den råa HTML-kod som hämtades från webben. `url` är den URL som HTML-koden hämtades från."
463
464 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
465 #: calibre.web.feeds.news.BasicNewsRecipe.preprocess_raw_html:6
466 msgid "Note that this method acts *before* preprocess_regexps."
467 msgstr "Observera att den här metoden agerar *före* preprocess_regexps."
468
469 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
470 #: calibre.web.feeds.news.BasicNewsRecipe.preprocess_raw_html:8
471 msgid "This method must return the processed raw_html as a unicode object."
472 msgstr "Denna metod måste returnera den bearbetade raw_html som ett unicode-objekt."
473
474 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
475 #: calibre.web.feeds.news.BasicNewsRecipe.publication_date:1
476 msgid ""
477 "Use this method to set the date when this issue was published. Defaults to "
478 "the moment of download. Must return a :class:`datetime.datetime` object."
479 msgstr "Använd den här metoden för att ställa in datumet då detta nummer publicerades. Standardvärdet är hämtningsögonblicket. Måste returnera ett :class:`datetime.datetime`-objekt."
480
481 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
482 #: calibre.web.feeds.news.BasicNewsRecipe.skip_ad_pages:1
483 msgid ""
484 "This method is called with the source of each downloaded :term:`HTML` file, "
485 "before any of the cleanup attributes like remove_tags, keep_only_tags are "
486 "applied. Note that preprocess_regexps will have already been applied. It is "
487 "meant to allow the recipe to skip ad pages. If the soup represents an ad "
488 "page, return the HTML of the real page. Otherwise return None."
489 msgstr "Denna metod anropas med källkoden för varje hämtad :term:`HTML`-fil, innan rensningsattribut som remove_tags och keep_only_tags tillämpas. Observera att preprocess_regexps redan har tillämpats. Metoden gör att receptet kan hoppa över annonssidor. Om soup representerar en annonssida ska du returnera HTML-koden för den egentliga sidan. Returnera annars None."
490
491 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
492 #: calibre.web.feeds.news.BasicNewsRecipe.sort_index_by:1
493 msgid ""
494 "Convenience method to sort the titles in `index` according to `weights`. "
495 "`index` is sorted in place. Returns `index`."
496 msgstr "Bekväm metod för att sortera titlarna i `index` enligt `weights`. `index` sorteras på plats. Returnerar `index`."
497
498 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
499 #: calibre.web.feeds.news.BasicNewsRecipe.sort_index_by:4
500 msgid "`index`: A list of titles."
501 msgstr "`index`: En lista med titlar."
502
503 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
504 #: calibre.web.feeds.news.BasicNewsRecipe.sort_index_by:6
505 msgid ""
506 "`weights`: A dictionary that maps weights to titles. If any titles in index "
507 "are not in weights, they are assumed to have a weight of 0."
508 msgstr "`weights`: En ordbok som mappar vikter till titlar. Titlar i index som saknas i weights antas ha vikten 0."
509
510 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
511 #: calibre.web.feeds.news.BasicNewsRecipe.articles_are_obfuscated:1
512 msgid ""
513 "Set to True and implement :meth:`get_obfuscated_article` to handle websites "
514 "that try to make it difficult to scrape content."
515 msgstr "Sätt till True och implementera :meth:`get_obfuscated_article` för att hantera webbplatser som försöker göra det svårt att skrapa innehåll."
516
517 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
518 #: calibre.web.feeds.news.BasicNewsRecipe.auto_cleanup:1
519 msgid ""
520 "Automatically extract all the text from downloaded article pages. Uses the "
521 "algorithms from the readability project. Setting this to True, means that "
522 "you do not have to worry about cleaning up the downloaded HTML manually "
523 "(though manual cleanup will always be superior)."
524 msgstr "Extrahera automatiskt all text från hämtade artikelsidor med algoritmer från projektet readability. Om värdet är True behöver du inte rensa den hämtade HTML-koden manuellt, även om manuell rensning alltid ger bättre resultat."
525
526 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
527 #: calibre.web.feeds.news.BasicNewsRecipe.auto_cleanup_keep:1
528 msgid ""
529 "Specify elements that the auto cleanup algorithm should never remove. The "
530 "syntax is a XPath expression. For example::"
531 msgstr "Ange element som den automatiska rensningsalgoritmen aldrig ska ta bort. Syntaxen är ett XPath-uttryck. Till exempel::"
532
533 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
534 #: calibre.web.feeds.news.BasicNewsRecipe.browser_type:1
535 msgid ""
536 "The simulated browser engine to use when downloading from servers. The "
537 "default is to use the Python mechanize browser engine, which supports "
538 "logging in. However, if you don't need logging in, consider changing this to"
539 " either 'webengine' which uses an actual Chromium browser to do the network "
540 "requests or 'qt' which uses the Qt Networking backend. Both 'webengine' and "
541 "'qt' support HTTP/2, which mechanize does not and are thus harder to "
542 "fingerprint for bot protection services."
543 msgstr "Den simulerade webbläsarmotor som ska användas vid hämtning från servrar. Som standard används Pythons webbläsarmotor mechanize, som stöder inloggning. Om du inte behöver inloggning kan du överväga 'webengine', som använder en faktisk Chromium-webbläsare för nätverksförfrågningarna, eller 'qt', som använder Qt Networking. Både 'webengine' och 'qt' stöder HTTP/2, vilket mechanize inte gör. De är därför svårare för botskyddstjänster att identifiera genom digitala fingeravtryck."
544
545 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
546 #: calibre.web.feeds.news.BasicNewsRecipe.center_navbar:1
547 msgid ""
548 "If True the navigation bar is center aligned, otherwise it is left aligned"
549 msgstr "Om True centreras navigationslisten annars är den vänsterjusterad"
550
551 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
552 #: calibre.web.feeds.news.BasicNewsRecipe.compress_news_images:1
553 msgid ""
554 "Set this to False to ignore all scaling and compression parameters and pass "
555 "images through unmodified. If True and the other compression parameters are "
556 "left at their default values, images will be scaled to fit in the screen "
557 "dimensions set by the output profile and compressed to size at most (w * "
558 "h)/16 where w x h are the scaled image dimensions."
559 msgstr "Ange False för att ignorera alla skalnings- och komprimeringsparametrar och lämna bilderna oförändrade. Om värdet är True och övriga komprimeringsparametrar behåller sina standardvärden skalas bilderna så att de ryms inom skärmmåtten i utmatningsprofilen och komprimeras till en storlek på högst (w * h)/16, där w × h är de skalade bildmåtten."
560
561 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
562 #: calibre.web.feeds.news.BasicNewsRecipe.compress_news_images_auto_size:1
563 msgid ""
564 "The factor used when auto compressing JPEG images. If set to None, auto "
565 "compression is disabled. Otherwise, the images will be reduced in size to (w"
566 " * h)/compress_news_images_auto_size bytes if possible by reducing the "
567 "quality level, where w x h are the image dimensions in pixels. The minimum "
568 "JPEG quality will be 5/100 so it is possible this constraint will not be "
569 "met. This parameter can be overridden by the parameter "
570 "compress_news_images_max_size which provides a fixed maximum size for "
571 "images. Note that if you enable scale_news_images_to_device then the image "
572 "will first be scaled and then its quality lowered until its size is less "
573 "than (w * h)/factor where w and h are now the *scaled* image dimensions. In "
574 "other words, this compression happens after scaling."
575 msgstr "Faktorn som används vid automatisk komprimering av JPEG-bilder. Om värdet är None inaktiveras automatisk komprimering. Annars minskas bildernas storlek om möjligt till (w * h)/compress_news_images_auto_size byte genom att kvalitetsnivån sänks, där w × h är bildens mått i pixlar. Den lägsta JPEG-kvaliteten är 5/100, så begränsningen kan inte alltid uppfyllas. Parametern kan åsidosättas av compress_news_images_max_size, som anger en fast maximal bildstorlek. Om scale_news_images_to_device aktiveras skalas bilden först och dess kvalitet sänks sedan tills storleken understiger (w * h)/factor, där w och h nu är de *skalade* bildmåtten. Komprimeringen sker alltså efter skalningen."
576
577 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
578 #: calibre.web.feeds.news.BasicNewsRecipe.compress_news_images_max_size:1
579 msgid ""
580 "Set JPEG quality so images do not exceed the size given (in KBytes). If set,"
581 " this parameter overrides auto compression via "
582 "compress_news_images_auto_size. The minimum JPEG quality will be 5/100 so it"
583 " is possible this constraint will not be met."
584 msgstr "Ställ in JPEG-kvalitet så att bilderna inte överstiger den angivna storleken (i KByte). Om den är inställd, åsidosätter den här parametern automatisk komprimering via compress_news_images_auto_size. Minsta JPEG-kvalitet kommer att vara 5/100 så det är möjligt att den här begränsningen inte kommer att uppfyllas."
585
586 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
587 #: calibre.web.feeds.news.BasicNewsRecipe.conversion_options:1
588 msgid ""
589 "Recipe specific options to control the conversion of the downloaded content "
590 "into an e-book. These will override any user or plugin specified values, so "
591 "only use if absolutely necessary. For example::"
592 msgstr "Receptspecifika alternativ som styr konverteringen av hämtat innehåll till en e-bok. De åsidosätter alla värden som användaren eller insticksmoduler har angett, så använd dem endast när det är absolut nödvändigt. Till exempel::"
593
594 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
595 #: calibre.web.feeds.news.BasicNewsRecipe.cover_margins:1
596 msgid ""
597 "By default, the cover image returned by get_cover_url() will be used as the "
598 "cover for the periodical. Overriding this in your recipe instructs calibre "
599 "to render the downloaded cover into a frame whose width and height are "
600 "expressed as a percentage of the downloaded cover. cover_margins = (10, 15, "
601 "'#ffffff') pads the cover with a white margin 10px on the left and right, "
602 "15px on the top and bottom. Color names are defined `here "
603 "<https://www.imagemagick.org/script/color.php>`_. Note that for some reason,"
604 " white does not always work in Windows. Use #ffffff instead"
605 msgstr "Som standard används omslagsbilden som returneras av get_cover_url() som tidskriftens omslag. Om du åsidosätter detta i receptet placerar calibre det hämtade omslaget i en ram vars bredd och höjd uttrycks i procent av det hämtade omslaget. cover_margins = (10, 15, '#ffffff') lägger till en vit marginal på 10 pixlar till vänster och höger och 15 pixlar upptill och nedtill. Färgnamn definieras `här <https://www.imagemagick.org/script/color.php>`_. Observera att färgnamnet white av någon anledning inte alltid fungerar i Windows. Använd #ffffff i stället."
606
607 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
608 #: calibre.web.feeds.news.BasicNewsRecipe.delay:1
609 msgid ""
610 "The default delay between consecutive downloads in seconds. The argument may"
611 " be a floating point number to indicate a more precise time. See "
612 ":meth:`get_url_specific_delay` to implement per URL delays."
613 msgstr "Standardfördröjningen i sekunder mellan hämtningar som följer på varandra. Argumentet kan vara ett flyttal för att ange en mer exakt tid. Se :meth:`get_url_specific_delay` för att ange fördröjningar per URL."
614
615 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
616 #: calibre.web.feeds.news.BasicNewsRecipe.description:1
617 msgid ""
618 "A couple of lines that describe the content this recipe downloads. This will"
619 " be used primarily in a GUI that presents a list of recipes."
620 msgstr "Ett par rader som beskriver innehållet detta recept hämtar. Detta kommer främst att användas i ett användargränssnitt som presenterar en lista med recept."
621
622 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
623 #: calibre.web.feeds.news.BasicNewsRecipe.encoding:1
624 msgid ""
625 "Specify an override encoding for sites that have an incorrect charset "
626 "specification. The most common being specifying ``latin1`` and using "
627 "``cp1252``. If None, try to detect the encoding. If it is a callable, the "
628 "callable is called with two arguments: The recipe object and the source to "
629 "be decoded. It must return the decoded source."
630 msgstr "Ange en teckenkodning som åsidosätter webbplatsens när webbplatsen anger fel teckenuppsättning. Det vanligaste är att webbplatsen anger ``latin1`` men använder ``cp1252``. Om värdet är None försöker kodningen identifieras automatiskt. Om värdet är ett anropbart objekt anropas det med två argument: receptobjektet och källkoden som ska avkodas. Det måste returnera den avkodade källkoden."
631
632 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
633 #: calibre.web.feeds.news.BasicNewsRecipe.extra_css:1
634 msgid ""
635 "Specify any extra :term:`CSS` that should be added to downloaded "
636 ":term:`HTML` files. It will be inserted into `<style>` tags, just before the"
637 " closing `</head>` tag thereby overriding all :term:`CSS` except that which "
638 "is declared using the style attribute on individual :term:`HTML` tags. Note "
639 "that if you want to programmatically generate the extra_css override the "
640 ":meth:`get_extra_css()` method instead. For example::"
641 msgstr "Ange extra :term:`CSS` som ska läggas till i hämtade :term:`HTML`-filer. Koden infogas i `<style>`-taggar strax före den avslutande `</head>`-taggen och åsidosätter därmed all :term:`CSS` utom den som anges med style-attribut på enskilda :term:`HTML`-taggar. Om du vill skapa extra_css programmatiskt ska du i stället åsidosätta metoden :meth:`get_extra_css()`. Till exempel::"
642
643 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
644 #: calibre.web.feeds.news.BasicNewsRecipe.feeds:1
645 msgid ""
646 "List of feeds to download. Can be either ``[url1, url2, ...]`` or "
647 "``[('title1', url1), ('title2', url2),...]``"
648 msgstr "Lista över flöden som ska hämtas. Kan vara antingen ``[url1, url2, ...]`` eller ``[('title1', url1), ('title2', url2),...]``"
649
650 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
651 #: calibre.web.feeds.news.BasicNewsRecipe.filter_regexps:1
652 msgid ""
653 "List of regular expressions that determines which links to ignore. If empty "
654 "it is ignored. Used only if is_link_wanted is not implemented. For example::"
655 msgstr "Lista med reguljära uttryck som avgör vilka länkar att ignorera. Om den är tom ignoreras den. Används endast om is_link_wanted inte implementeras. Till exempel::"
656
657 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
658 #: calibre.web.feeds.news.BasicNewsRecipe.filter_regexps:7
659 msgid "will remove all URLs that have `ads.doubleclick.net` in them."
660 msgstr "kommer att ta bort alla URL:er som innehåller `ads.doubleclick.net`."
661
662 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
663 #: calibre.web.feeds.news.BasicNewsRecipe.filter_regexps:9
664 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
665 #: calibre.web.feeds.news.BasicNewsRecipe.match_regexps:9
666 msgid ""
667 "Only one of :attr:`BasicNewsRecipe.match_regexps` or "
668 ":attr:`BasicNewsRecipe.filter_regexps` should be defined."
669 msgstr "Endast en av :attr:`BasicNewsRecipe.match_regexps` eller :attr:`BasicNewsRecipe.filter_regexps` bör definieras."
670
671 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
672 #: calibre.web.feeds.news.BasicNewsRecipe.handle_gzip:1
673 msgid ""
674 "Set to False if you do not want to use gzipped transfers with the mechanize "
675 "browser. Note that some old servers flake out with gzip."
676 msgstr "Ange False om du inte vill använda gzip-komprimerade överföringar med webbläsaren mechanize. Observera att vissa äldre servrar inte fungerar som de ska med gzip."
677
678 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
679 #: calibre.web.feeds.news.BasicNewsRecipe.ignore_duplicate_articles:1
680 msgid ""
681 "Ignore duplicates of articles that are present in more than one section. A "
682 "duplicate article is an article that has the same title and/or URL. To "
683 "ignore articles with the same title, set this to::"
684 msgstr "Ignorera dubbletter av artiklar som finns i mer än ett avsnitt. En dubblettartikel är en artikel som har samma titel och/eller URL. Att ignorera artiklar med samma titel, ställ in detta till::"
685
686 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
687 #: calibre.web.feeds.news.BasicNewsRecipe.ignore_duplicate_articles:7
688 msgid "To use URLs instead, set it to::"
689 msgstr "För att använda URL:er i stället, ställ in den till::"
690
691 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
692 #: calibre.web.feeds.news.BasicNewsRecipe.ignore_duplicate_articles:11
693 msgid "To match on title or URL, set it to::"
694 msgstr "För att matcha titel eller URL, ställ in den till::"
695
696 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
697 #: calibre.web.feeds.news.BasicNewsRecipe.keep_only_tags:1
698 msgid ""
699 "Keep only the specified tags and their children. For the format for "
700 "specifying a tag see :attr:`BasicNewsRecipe.remove_tags`. If this list is "
701 "not empty, then the `<body>` tag will be emptied and re-filled with the tags"
702 " that match the entries in this list. For example::"
703 msgstr "Behåll endast de angivna taggarna och deras underordnade element. Formatet för att ange en tagg beskrivs i :attr:`BasicNewsRecipe.remove_tags`. Om listan inte är tom töms `<body>`-taggen och fylls på nytt med de taggar som matchar posterna i listan. Till exempel::"
704
705 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
706 #: calibre.web.feeds.news.BasicNewsRecipe.keep_only_tags:8
707 msgid ""
708 "will keep only tags that have an `id` attribute of `\"content\"` or "
709 "`\"heading\"`."
710 msgstr "kommer bara behålla taggar som har ett `id`-attribut som är `\"content\"` eller `\"heading\"`."
711
712 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
713 #: calibre.web.feeds.news.BasicNewsRecipe.language:1
714 msgid ""
715 "The language that the news is in. Must be an ISO-639 code either two or "
716 "three characters long"
717 msgstr "Språket som nyheterna är på. Måste vara en ISO-639-kod, antingen två eller tre tecken lång"
718
719 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
720 #: calibre.web.feeds.news.BasicNewsRecipe.masthead_url:1
721 msgid ""
722 "By default, calibre will use a default image for the masthead (Kindle only)."
723 " Override this in your recipe to provide a URL to use as a masthead."
724 msgstr "Som standard använder calibre en standardbild för redaktionsloggan (endast Kindle). Åsidosätt detta i ditt recept för att tillhandahålla en URL som du kan använda som redaktionslogga."
725
726 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
727 #: calibre.web.feeds.news.BasicNewsRecipe.match_regexps:1
728 msgid ""
729 "List of regular expressions that determines which links to follow. If empty,"
730 " it is ignored. Used only if is_link_wanted is not implemented. For "
731 "example::"
732 msgstr "Lista med reguljära uttryck som avgör vilka länkar som ska följas. Listan ignoreras om den är tom. Används endast om is_link_wanted inte har implementerats. Till exempel::"
733
734 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
735 #: calibre.web.feeds.news.BasicNewsRecipe.match_regexps:7
736 msgid "will match all URLs that have `page=some number` in them."
737 msgstr "kommer matcha alla URL:er som har `page=some number` i sig."
738
739 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
740 #: calibre.web.feeds.news.BasicNewsRecipe.max_articles_per_feed:1
741 msgid ""
742 "Maximum number of articles to download from each feed. This is primarily "
743 "useful for feeds that don't have article dates. For most feeds, you should "
744 "use :attr:`BasicNewsRecipe.oldest_article`"
745 msgstr "Högsta antal artiklar som ska hämtas från varje flöde. Detta är främst användbart för flöden som saknar artikeldatum. För de flesta flöden bör du använda :attr:`BasicNewsRecipe.oldest_article`."
746
747 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
748 #: calibre.web.feeds.news.BasicNewsRecipe.needs_subscription:1
749 msgid ""
750 "If True the GUI will ask the user for a username and password to use while "
751 "downloading. If set to \"optional\" the use of a username and password "
752 "becomes optional"
753 msgstr "Om True ber användargränssnittet om ett användarnamn och lösenord för hämtningen. Om värdet är \"optional\" är det valfritt att använda användarnamn och lösenord."
754
755 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
756 #: calibre.web.feeds.news.BasicNewsRecipe.no_stylesheets:1
757 msgid ""
758 "Convenient flag to disable loading of stylesheets for websites that have "
759 "overly complex stylesheets unsuitable for conversion to e-book formats. If "
760 "True stylesheets are not downloaded and processed"
761 msgstr "Bekväm flagga för att inaktivera laddning av formatmallar för webbplatser som har alltför komplexa formatmallar som är olämpliga för konvertering till e-bokformat. Om True hämtas och bearbetas inte formatmallar"
762
763 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
764 #: calibre.web.feeds.news.BasicNewsRecipe.oldest_article:1
765 msgid "Oldest article to download from this news source. In days."
766 msgstr "Högsta ålder i dagar för artiklar som ska hämtas från denna nyhetskälla."
767
768 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
769 #: calibre.web.feeds.news.BasicNewsRecipe.preprocess_regexps:1
770 msgid ""
771 "List of :term:`regexp` substitution rules to run on the downloaded "
772 ":term:`HTML`. Each element of the list should be a two element tuple. The "
773 "first element of the tuple should be a compiled regular expression and the "
774 "second a callable that takes a single match object and returns a string to "
775 "replace the match. For example::"
776 msgstr "Lista med ersättningsregler med :term:`regexp` som ska tillämpas på den hämtade :term:`HTML`-koden. Varje post i listan ska vara en tupel med två element: ett kompilerat reguljärt uttryck och ett anropbart objekt som tar ett matchningsobjekt och returnerar strängen som ska ersätta matchningen. Till exempel::"
777
778 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
779 #: calibre.web.feeds.news.BasicNewsRecipe.preprocess_regexps:12
780 msgid "will remove everything from `<!--Article ends here-->` to `</body>`."
781 msgstr "kommer att ta bort allt från `<!--Article ends here-->` till `</body>`."
782
783 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
784 #: calibre.web.feeds.news.BasicNewsRecipe.publication_type:1
785 msgid ""
786 "Publication type Set to newspaper, magazine or blog. If set to None, no "
787 "publication type metadata will be written to the opf file."
788 msgstr "Publikationstyp. Ange newspaper, magazine eller blog. Om värdet är None skrivs ingen metadata om publikationstyp till OPF-filen."
789
790 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
791 #: calibre.web.feeds.news.BasicNewsRecipe.recipe_disabled:1
792 msgid ""
793 "Set to a non empty string to disable this recipe. The string will be used as"
794 " the disabled message"
795 msgstr "Ändra till en icke-tom sträng för att inaktivera detta recept. Strängen kommer att användas som det inaktiverade meddelandet"
796
797 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
798 #: calibre.web.feeds.news.BasicNewsRecipe.recipe_specific_options:1
799 msgid ""
800 "Specify options specific to this recipe. These will be available for the "
801 "user to customize in the Advanced tab of the Fetch News dialog or at the "
802 "ebook-convert command line. The options are specified as a dictionary "
803 "mapping option name to metadata about the option. For example::"
804 msgstr "Ange alternativ som är specifika för receptet. Användaren kan anpassa dem på fliken Avancerat i dialogrutan Hämta nyheter eller på kommandoraden för ebook-convert. Alternativen anges som en ordbok som mappar alternativnamn till metadata om respektive alternativ. Exempel::"
805
806 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
807 #: calibre.web.feeds.news.BasicNewsRecipe.recipe_specific_options:13
808 msgid ""
809 "When the recipe is run, self.recipe_specific_options will be a dict mapping "
810 "option name to the option value specified by the user. When the option is "
811 "unspecified by the user, it will have the value specified by 'default'. If "
812 "no default is specified, the option will not be in the dict at all, when "
813 "unspecified by the user."
814 msgstr "När receptet körs är self.recipe_specific_options en dict som mappar varje alternativnamn till det värde som användaren har angett. Om användaren inte anger något används värdet i 'default'. Om inget standardvärde har angetts finns alternativet inte alls i dict när användaren lämnar det ospecificerat."
815
816 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
817 #: calibre.web.feeds.news.BasicNewsRecipe.recursions:1
818 msgid "Number of levels of links to follow on article webpages"
819 msgstr "Antal nivåer av länkar att följa på en artikelwebbplats"
820
821 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
822 #: calibre.web.feeds.news.BasicNewsRecipe.remove_attributes:1
823 msgid "List of attributes to remove from all tags. For example::"
824 msgstr "Lista med attribut att ta bort från alla taggar. Till exempel::"
825
826 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
827 #: calibre.web.feeds.news.BasicNewsRecipe.remove_empty_feeds:1
828 msgid ""
829 "If True empty feeds are removed from the output. This option has no effect "
830 "if parse_index is overridden in the sub class. It is meant only for recipes "
831 "that return a list of feeds using `feeds` or :meth:`get_feeds`. It is also "
832 "used if you use the ignore_duplicate_articles option."
833 msgstr "Om True tas tomma flöden bort från utmatningen. Det här alternativet har ingen effekt om parse_index åsidosätts i underklassen. Den är avsedd endast för recept som returnerar en lista med flöden som använder `feeds` eller :meth:`get_feeds`. Den används också om du använder alternativet ignore_duplicate_articles."
834
835 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
836 #: calibre.web.feeds.news.BasicNewsRecipe.remove_javascript:1
837 msgid "Convenient flag to strip all JavaScript tags from the downloaded HTML"
838 msgstr "Praktisk flagga för att ta bort alla JavaScript-taggar från den hämtade HTML-koden"
839
840 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
841 #: calibre.web.feeds.news.BasicNewsRecipe.remove_tags:1
842 msgid ""
843 "List of tags to be removed. Specified tags are removed from downloaded HTML."
844 " A tag is specified as a dictionary of the form::"
845 msgstr "Lista med taggar som ska avlägsnas. Angivna taggar tas bort från hämtad HTML. En tagg anges som en ordbok på formen::"
846
847 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
848 #: calibre.web.feeds.news.BasicNewsRecipe.remove_tags:9
849 msgid ""
850 "All keys are optional. For a full explanation of the search criteria, see "
851 "`Beautiful Soup "
852 "<https://www.crummy.com/software/BeautifulSoup/bs4/doc/#searching-the-"
853 "tree>`__ A common example::"
854 msgstr "Alla nycklar är valfria. För en fullständig förklaring av sökkriterierna, se `Beautiful Soup <https://www.crummy.com/software/BeautifulSoup/bs4/doc/#searching-the-tree>`__ Ett vanligt exempel::"
855
856 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
857 #: calibre.web.feeds.news.BasicNewsRecipe.remove_tags:15
858 msgid ""
859 "This will remove all `<div class=\"advert\">` tags and all their children "
860 "from the downloaded :term:`HTML`."
861 msgstr "Detta tar bort alla `<div class=\"advert\">`-taggar och deras underordnade element från den hämtade :term:`HTML`-koden."
862
863 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
864 #: calibre.web.feeds.news.BasicNewsRecipe.remove_tags_after:1
865 msgid ""
866 "Remove all tags that occur after the specified tag. For the format for "
867 "specifying a tag see :attr:`BasicNewsRecipe.remove_tags`. For example::"
868 msgstr "Ta bort alla taggar som förekommer efter angiven tagg. För formatet att ange en tagg se :attr:`BasicNewsRecipe.remove_tags`. Till exempel::"
869
870 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
871 #: calibre.web.feeds.news.BasicNewsRecipe.remove_tags_after:7
872 msgid "will remove all tags after the first element with `id=\"content\"`."
873 msgstr "kommer att ta bort alla taggar efter första elementet med `id=\"content\"`."
874
875 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
876 #: calibre.web.feeds.news.BasicNewsRecipe.remove_tags_before:1
877 msgid ""
878 "Remove all tags that occur before the specified tag. For the format for "
879 "specifying a tag see :attr:`BasicNewsRecipe.remove_tags`. For example::"
880 msgstr "Ta bort alla taggar som förekommer före angiven tagg. För formatet att ange en tagg se :attr:`BasicNewsRecipe.remove_tags`. Till exempel::"
881
882 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
883 #: calibre.web.feeds.news.BasicNewsRecipe.remove_tags_before:7
884 msgid "will remove all tags before the first element with `id=\"content\"`."
885 msgstr "kommer ta bort alla taggar före första elementet med `id=\"content\"`."
886
887 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
888 #: calibre.web.feeds.news.BasicNewsRecipe.requires_version:1
889 msgid "Minimum calibre version needed to use this recipe"
890 msgstr "Lägsta version av calibre som behövs för detta recept"
891
892 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
893 #: calibre.web.feeds.news.BasicNewsRecipe.resolve_internal_links:1
894 msgid ""
895 "If set to True then links in downloaded articles that point to other "
896 "downloaded articles are changed to point to the downloaded copy of the "
897 "article rather than its original web URL. If you set this to True, you might"
898 " also need to implement :meth:`canonicalize_internal_url` to work with the "
899 "URL scheme of your particular website."
900 msgstr "Om True ändras länkar i hämtade artiklar som hänvisar till andra hämtade artiklar så att de hänvisar till den hämtade kopian i stället för artikelns ursprungliga URL. Du kan då också behöva implementera :meth:`canonicalize_internal_url` för att hantera webbplatsens URL-schema."
901
902 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
903 #: calibre.web.feeds.news.BasicNewsRecipe.reverse_article_order:1
904 msgid "Reverse the order of articles in each feed"
905 msgstr "Vänd om ordningen på artiklar i varje flöde"
906
907 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
908 #: calibre.web.feeds.news.BasicNewsRecipe.scale_news_images:1
909 msgid ""
910 "Maximum dimensions (w,h) to scale images to. If scale_news_images_to_device "
911 "is True this is set to the device screen dimensions set by the output "
912 "profile unless there is no profile set, in which case it is left at whatever"
913 " value it has been assigned (default None)."
914 msgstr "Största mått (w, h) som bilderna ska skalas till. Om scale_news_images_to_device är True sätts värdet till enhetens skärmmått enligt utmatningsprofilen. Om ingen utmatningsprofil har angetts behålls det tilldelade värdet, vars standardvärde är None."
915
916 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
917 #: calibre.web.feeds.news.BasicNewsRecipe.scale_news_images_to_device:1
918 msgid ""
919 "Rescale images to fit in the device screen dimensions set by the output "
920 "profile. Ignored if no output profile is set."
921 msgstr "Skala om bilder för att passa enhetens skärmmått inställda av utmatningsprofilen. Ignoreras om ingen utmatningsprofil är angiven."
922
923 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
924 #: calibre.web.feeds.news.BasicNewsRecipe.simultaneous_downloads:1
925 msgid ""
926 "Number of simultaneous downloads. Set to 1 if the server is picky. "
927 "Automatically reduced to 1 if :attr:`BasicNewsRecipe.delay` > 0"
928 msgstr "Antal samtidiga hämtningar. Ställ in till 1 om servern är kräsen. Sänks automatiskt till 1 om :attr:`BasicNewsRecipe.delay` > 0"
929
930 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
931 #: calibre.web.feeds.news.BasicNewsRecipe.summary_length:1
932 msgid "Max number of characters in the short description"
933 msgstr "Högsta antal tecken i den korta beskrivningen"
934
935 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
936 #: calibre.web.feeds.news.BasicNewsRecipe.template_css:1
937 msgid ""
938 "The CSS that is used to style the templates, i.e., the navigation bars and "
939 "the Tables of Contents. Rather than overriding this variable, you should use"
940 " `extra_css` in your recipe to customize look and feel."
941 msgstr "CSS som används för att utforma mallar, dvs. navigeringsfältet och innehållsförteckningen. I stället för att åsidosätta denna variabel bör du använda `extra_css` i ditt recept för att anpassa utseende och känsla."
942
943 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
944 #: calibre.web.feeds.news.BasicNewsRecipe.timefmt:1
945 msgid ""
946 "The format string for the date shown on the first page. By default: "
947 "Day_Name, Day_Number Month_Name Year"
948 msgstr "Formatsträngen för datumet som visas på första sidan. Som standard: Day_Name, Day_Number Month_Name Year"
949
950 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
951 #: calibre.web.feeds.news.BasicNewsRecipe.timeout:1
952 msgid "Timeout for fetching files from server in seconds"
953 msgstr "Tidsbegränsning för att hämta filer från servern i sekunder"
954
955 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
956 #: calibre.web.feeds.news.BasicNewsRecipe.title:1
957 msgid "The title to use for the e-book"
958 msgstr "Titel att använda för e-boken"
959
960 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of
961 #: calibre.web.feeds.news.BasicNewsRecipe.use_embedded_content:1
962 msgid ""
963 "Normally we try to guess if a feed has full articles embedded in it based on"
964 " the length of the embedded content. If `None`, then the default guessing is"
965 " used. If `True` then the we always assume the feeds has embedded content "
966 "and if `False` we always assume the feed does not have embedded content."
967 msgstr "Normalt försöker vi avgöra om ett flöde innehåller hela inbäddade artiklar utifrån det inbäddade innehållets längd. Om värdet är `None` används denna standardbedömning. Om värdet är `True` antas flödet alltid ha inbäddat innehåll, och om värdet är `False` antas det alltid sakna inbäddat innehåll."