# SOME DESCRIPTIVE TITLE. # Copyright (C) Kovid Goyal # This file is distributed under the same license as the calibre package. # # Translators: # Jonatan Nyberg, 2026 # efef6ec5b435a041fce803c7f8af77d2_2341d43, 2018,2020 # efef6ec5b435a041fce803c7f8af77d2_2341d43, 2020 # Jonatan Nyberg, 2026 # Jonatan Nyberg, 2016-2017,2021-2024,2026 # Jonatan Nyberg, 2018-2021 # efef6ec5b435a041fce803c7f8af77d2_2341d43, 2018 # Jonatan Nyberg, 2026 # Merarom , 2014-2015,2017 msgid "" msgstr "" "Project-Id-Version: calibre\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2026-09-16 15:05+0000\n" "PO-Revision-Date: 2014-06-17 08:36+0000\n" "Last-Translator: Jonatan Nyberg, 2026\n" "Language-Team: Swedish (http://app.transifex.com/calibre/calibre/language/sv/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: sv\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../../../__w/calibre/calibre/manual/news_recipe.rst:4 msgid "API documentation for recipes" msgstr "API-dokumentation för recept" #: ../../../__w/calibre/calibre/manual/news_recipe.rst:9 msgid "The API for writing recipes is defined by the :class:`BasicNewsRecipe`" msgstr "API:et för att skriva recept definieras av :class:`BasicNewsRecipe`." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe:1 msgid "" "Base class that contains logic needed in all recipes. By overriding " "progressively more of the functionality in this class, you can make " "progressively more customized/powerful recipes. For a tutorial introduction " "to creating recipes, see :doc:`news`." 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`." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.adeify_images:1 msgid "" "If your recipe when converted to EPUB has problems with images when viewed " "in Adobe Digital Editions, call this method from within " ":meth:`postprocess_html`." 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`." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.image_url_processor:1 msgid "" "Perform some processing on image urls (perhaps removing size restrictions " "for dynamically generated images, etc.) and return the processed URL. Return" " None or an empty string to skip fetching the image." 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." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.print_version:1 msgid "" "Take a `url` pointing to the webpage with article content and return the " ":term:`URL` pointing to the print version of the article. By default does " "nothing. For example::" 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::" #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.tag_to_string:1 msgid "" "Convenience method to take a `BeautifulSoup " "`_ :code:`Tag` and " "extract the text from it recursively, including any CDATA sections and alt " "tag attributes. Return a possibly empty Unicode string." msgstr "Hjälpmetod som tar ett :code:`Tag`-objekt från `BeautifulSoup `_ och rekursivt extraherar texten ur det, inklusive eventuella CDATA-avsnitt och alt-attribut. Returnerar en Unicode-sträng som kan vara tom." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.tag_to_string:6 msgid "" "`use_alt`: If `True` try to use the alt attribute for tags that don't have " "any textual content" msgstr "`use_alt`: Om `True`, försök använda alt-attributet för taggar som saknar textinnehåll." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.tag_to_string:9 msgid "" "`tag`: `BeautifulSoup " "`_ :code:`Tag`" msgstr "`tag`: `BeautifulSoup `_ :code:`Tag`" #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.abort_article:1 msgid "" "Call this method inside any of the preprocess methods to abort the download " "for the current article. Useful to skip articles that contain inappropriate " "content, such as pure video articles." 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." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.abort_recipe_processing:1 msgid "" "Causes the recipe download system to abort the download of this recipe, " "displaying a simple feedback message to the user." msgstr "Får recepthämtningssystemet att avbryta hämtningen av receptet och visa ett enkelt meddelande för användaren." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.add_toc_thumbnail:1 msgid "" "Call this from populate_article_metadata with the src attribute of an " "tag from the article that is appropriate for use as the thumbnail " "representing the article in the Table of Contents. Whether the thumbnail is " "actually used is device dependent (currently only used by the Kindles). Note" " that the referenced image must be one that was successfully downloaded, " "otherwise it will be ignored." msgstr "Anropa detta från populate_article_metadata med attributet src för en -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." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.canonicalize_internal_url:1 msgid "" "Return a set of canonical representations of ``url``. The default " "implementation uses just the server hostname and path of the URL, ignoring " "any query parameters, fragments, etc. The canonical representations must be " "unique across all URLs for this news source. If they are not, then internal " "links may be resolved incorrectly." 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." #: ../../../__w/calibre/calibre/manual/news_recipe.rst:0 msgid "Parameters" msgstr "Parametrar" #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.canonicalize_internal_url:7 msgid "" "Is True if the URL is coming from an internal link in an HTML file. False if" " the URL is the URL used to download an article." 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." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.cleanup:1 msgid "" "Called after all articles have been download. Use it to do any cleanup like " "logging out of subscription sites, etc." 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." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.clone_browser:1 msgid "" "Clone the browser br. Cloned browsers are used for multi-threaded downloads," " since mechanize is not thread safe. The default cloning routines should " "capture most browser customization, but if you do something exotic in your " "recipe, you should override this method in your recipe and clone manually." 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." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.clone_browser:7 msgid "" "Cloned browser instances use the same, thread-safe CookieJar by default, " "unless you have customized cookie handling." msgstr "Klonade webbläsarinstanser använder samma, trådsäkra CookieJar som standard, såvida du inte har anpassad hantering av kakor." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.default_cover:1 msgid "Create a generic cover for recipes that don't have a cover" msgstr "Skapa ett generiskt omslag för recept som inte har ett omslag" #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.download:1 msgid "" "Download and pre-process all articles from the feeds in this recipe. This " "method should be called only once on a particular Recipe instance. Calling " "it more than once will lead to undefined behavior. :return: Path to " "index.html" 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" #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.extract_readable_article:1 msgid "" "Extracts main article content from 'html', cleans up and returns as a " "(article_html, extracted_title) tuple. Based on the original readability " "algorithm by Arc90." 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." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.get_article_url:1 msgid "" "Override in a subclass to customize extraction of the :term:`URL` that " "points to the content for each article. Return the article URL. It is called" " with `article`, an object representing a parsed article from a feed. See " "`feedparser `_. By default it looks " "for the original link (for feeds syndicated via a service like FeedBurner or" " Pheedo) and if found, returns that or else returns `article.link " "`_." 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 `_. 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 `_." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.get_browser:1 msgid "" "Return a browser instance used to fetch documents from the web. By default " "it returns a `mechanize `_ " "browser instance that supports cookies, ignores robots.txt, handles " "refreshes and has a random common user agent." msgstr "Returnera en webbläsarinstans för att hämta dokument från webben. Som standard returneras en instans av `mechanize `_ som stöder kakor, ignorerar robots.txt, hanterar siduppdateringar och använder en slumpmässigt vald, vanligt förekommande användaragent." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.get_browser:6 msgid "To customize the browser override this method in your sub-class as::" msgstr "För att anpassa webbläsaren åsidosätt denna metod i din underklass som::" #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.get_cover_url:1 msgid "" "Return a :term:`URL` to the cover image for this issue or `None`. By default" " it returns the value of the member `self.cover_url` which is normally " "`None`. If you want your recipe to download a cover for the e-book override " "this method in your subclass, or set the member variable `self.cover_url` " "before this method is called." 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." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.get_extra_css:1 msgid "" "By default returns `self.extra_css`. Override if you want to " "programmatically generate the extra_css." msgstr "Som standard returneras `self.extra_css`. Åsidosätt om du vill programmässigt skapa extra_css." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.get_feeds:1 msgid "" "Return a list of :term:`RSS` feeds to fetch for this profile. Each element " "of the list must be a 2-element tuple of the form (title, url). If title is " "None or an empty string, the title from the feed is used. This method is " "useful if your recipe needs to do some processing to figure out the list of " "feeds to download. If so, override in your subclass." 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." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.get_masthead_title:1 msgid "Override in subclass to use something other than the recipe title" msgstr "Åsidosätt i underklass för att använda något annat än recepttiteln" #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.get_masthead_url:1 msgid "" "Return a :term:`URL` to the masthead image for this issue or `None`. By " "default it returns the value of the member `self.masthead_url` which is " "normally `None`. If you want your recipe to download a masthead for the " "e-book override this method in your subclass, or set the member variable " "`self.masthead_url` before this method is called. Masthead images are used " "in Kindle MOBI files." 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." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.get_obfuscated_article:1 msgid "" "If you set `articles_are_obfuscated` this method is called with every " "article URL. It should return the path to a file on the filesystem that " "contains the article HTML. That file is processed by the recursive HTML " "fetching engine, so it can contain links to pages/images on the web. " "Alternately, you can return a dictionary of the form: {'data': , " "'url': }. This avoids needing to create " "temporary files. The `url` key in the dictionary is useful if the effective " "URL of the article is different from the URL passed into this method, for " "example, because of redirects. It can be omitted if the URL is unchanged." 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': , 'url': }. 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." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.get_obfuscated_article:11 msgid "" "This method is typically useful for sites that try to make it difficult to " "access article content automatically." msgstr "Denna metod är särskilt användbar för webbplatser som försöker försvåra automatisk åtkomst till artikelinnehåll." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.get_url_specific_delay:1 msgid "" "Return the delay in seconds before downloading this URL. If you want to " "programmatically determine the delay for the specified URL, override this " "method in your subclass, returning self.delay by default for URLs you do not" " want to affect." 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." #: ../../../__w/calibre/calibre/manual/news_recipe.rst:0 msgid "Returns" msgstr "Returnerar" #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.get_url_specific_delay:5 msgid "A floating point number, the delay in seconds." msgstr "Ett flyttal, fördröjningen i sekunder." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.index_to_soup:1 msgid "" "Convenience method that takes an URL to the index page and returns a " "`BeautifulSoup `__ of" " it." msgstr "Hjälpmetod som tar en URL till indexsidan och returnerar ett `BeautifulSoup `__-objekt för sidan." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.index_to_soup:5 msgid "`url_or_raw`: Either a URL or the downloaded index page as a string" msgstr "`url_or_raw`: Antingen en URL eller den hämtade indexsidan som en sträng" #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.is_link_wanted:1 msgid "" "Return True if the link should be followed or False otherwise. By default, " "raises NotImplementedError which causes the downloader to ignore it." msgstr "Returnera True om länken ska följas, annars False. Som standard utlöses NotImplementedError, vilket får hämtningsfunktionen att ignorera metoden." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.is_link_wanted:5 msgid "The URL to be followed" msgstr "URL:en som ska följas" #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.is_link_wanted:6 msgid "The tag from which the URL was derived" msgstr "Taggen som URL:en hämtades från" #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.parse_feeds:1 msgid "" "Create a list of articles from the list of feeds returned by " ":meth:`BasicNewsRecipe.get_feeds`. Return a list of :class:`Feed` objects." msgstr "Skapa en lista med artiklar från flödena som returneras av :meth:`BasicNewsRecipe.get_feeds`. Returnera en lista med :class:`Feed`-objekt." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.parse_index:1 msgid "" "This method should be implemented in recipes that parse a website instead of" " feeds to generate a list of articles. Typical uses are for news sources " "that have a \"Print Edition\" webpage that lists all the articles in the " "current print edition. If this function is implemented, it will be used in " "preference to :meth:`BasicNewsRecipe.parse_feeds`." 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`." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.parse_index:7 msgid "" "It must return a list. Each element of the list must be a 2-element tuple of" " the form ``('feed title', list of articles)``." msgstr "Det måste returnera en lista. Varje element i listan måste vara en tvåelementstupel av formen ``('feed title', list of articles)``." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.parse_index:10 msgid "Each list of articles must contain dictionaries of the form::" msgstr "Varje lista med artiklar måste innehålla ordböcker av formen::" #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.parse_index:23 msgid "" "For an example, see the recipe for downloading `The Atlantic`. In addition, " "you can add 'author' for the author of the article." 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." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.parse_index:26 msgid "" "If you want to abort processing for some reason and have calibre show the " "user a simple message instead of an error, call " ":meth:`abort_recipe_processing`." 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`." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.populate_article_metadata:1 msgid "" "Called when each HTML page belonging to article is downloaded. Intended to " "be used to get article metadata like author/summary/etc. from the parsed " "HTML (soup)." 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`)." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.populate_article_metadata:5 msgid "" "A object of class :class:`calibre.web.feeds.Article`. If you change the " "summary, remember to also change the text_summary" msgstr "Ett objekt av klass :class:`calibre.web.feeds.Article`. Om du ändrar sammanfattningen, kom ihåg att också ändra text_summary" #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.populate_article_metadata:7 msgid "Parsed HTML belonging to this article" msgstr "Analyserad HTML som tillhör denna artikel" #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.populate_article_metadata:8 msgid "True iff the parsed HTML is the first page of the article." msgstr "True om och endast om den analyserade HTML-koden är artikelns första sida." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.postprocess_book:1 msgid "Run any needed post processing on the parsed downloaded e-book." msgstr "Utför den efterbehandling som behövs på den analyserade, hämtade e-boken." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.postprocess_book:3 msgid "An OEBBook object" msgstr "Ett OEBBook-objekt" #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.postprocess_book:4 msgid "Conversion options" msgstr "Konverteringsalternativ" #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.postprocess_html:1 msgid "" "This method is called with the source of each downloaded :term:`HTML` file, " "after it is parsed for links and images. It can be used to do arbitrarily " "powerful post-processing on the :term:`HTML`. It should return `soup` after " "processing it." 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." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.postprocess_html:6 msgid "" "A `BeautifulSoup `__" " instance containing the downloaded :term:`HTML`." msgstr "En instans av `BeautifulSoup `__ som innehåller den hämtade :term:`HTML`-koden." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.postprocess_html:7 msgid "True if this is the first page of an article." msgstr "True om detta är första sidan av en artikel." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.preprocess_html:1 msgid "" "This method is called with the source of each downloaded :term:`HTML` file, " "before it is parsed for links and images. It is called after the cleanup as " "specified by remove_tags etc. It can be used to do arbitrarily powerful pre-" "processing on the :term:`HTML`. It should return `soup` after processing it." 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." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.preprocess_html:7 #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.skip_ad_pages:8 msgid "" "`soup`: A `BeautifulSoup " "`__ instance " "containing the downloaded :term:`HTML`." msgstr "`soup`: En instans av `BeautifulSoup `__ som innehåller den hämtade :term:`HTML`-koden." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.preprocess_image:1 msgid "" "Perform some processing on downloaded image data. This is called on the raw " "data before any resizing is done. Must return the processed raw data. Return" " None to skip the image." 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." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.preprocess_raw_html:1 msgid "" "This method is called with the source of each downloaded :term:`HTML` file, " "before it is parsed into an object tree. raw_html is a unicode string " "representing the raw HTML downloaded from the web. url is the URL from which" " the HTML was downloaded." 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." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.preprocess_raw_html:6 msgid "Note that this method acts *before* preprocess_regexps." msgstr "Observera att den här metoden agerar *före* preprocess_regexps." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.preprocess_raw_html:8 msgid "This method must return the processed raw_html as a unicode object." msgstr "Denna metod måste returnera den bearbetade raw_html som ett unicode-objekt." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.publication_date:1 msgid "" "Use this method to set the date when this issue was published. Defaults to " "the moment of download. Must return a :class:`datetime.datetime` object." 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." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.skip_ad_pages:1 msgid "" "This method is called with the source of each downloaded :term:`HTML` file, " "before any of the cleanup attributes like remove_tags, keep_only_tags are " "applied. Note that preprocess_regexps will have already been applied. It is " "meant to allow the recipe to skip ad pages. If the soup represents an ad " "page, return the HTML of the real page. Otherwise return None." 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." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.sort_index_by:1 msgid "" "Convenience method to sort the titles in `index` according to `weights`. " "`index` is sorted in place. Returns `index`." msgstr "Bekväm metod för att sortera titlarna i `index` enligt `weights`. `index` sorteras på plats. Returnerar `index`." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.sort_index_by:4 msgid "`index`: A list of titles." msgstr "`index`: En lista med titlar." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.sort_index_by:6 msgid "" "`weights`: A dictionary that maps weights to titles. If any titles in index " "are not in weights, they are assumed to have a weight of 0." msgstr "`weights`: En ordbok som mappar vikter till titlar. Titlar i index som saknas i weights antas ha vikten 0." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.articles_are_obfuscated:1 msgid "" "Set to True and implement :meth:`get_obfuscated_article` to handle websites " "that try to make it difficult to scrape content." 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." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.auto_cleanup:1 msgid "" "Automatically extract all the text from downloaded article pages. Uses the " "algorithms from the readability project. Setting this to True, means that " "you do not have to worry about cleaning up the downloaded HTML manually " "(though manual cleanup will always be superior)." 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." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.auto_cleanup_keep:1 msgid "" "Specify elements that the auto cleanup algorithm should never remove. The " "syntax is a XPath expression. For example::" msgstr "Ange element som den automatiska rensningsalgoritmen aldrig ska ta bort. Syntaxen är ett XPath-uttryck. Till exempel::" #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.browser_type:1 msgid "" "The simulated browser engine to use when downloading from servers. The " "default is to use the Python mechanize browser engine, which supports " "logging in. However, if you don't need logging in, consider changing this to" " either 'webengine' which uses an actual Chromium browser to do the network " "requests or 'qt' which uses the Qt Networking backend. Both 'webengine' and " "'qt' support HTTP/2, which mechanize does not and are thus harder to " "fingerprint for bot protection services." 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." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.center_navbar:1 msgid "" "If True the navigation bar is center aligned, otherwise it is left aligned" msgstr "Om True centreras navigationslisten annars är den vänsterjusterad" #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.compress_news_images:1 msgid "" "Set this to False to ignore all scaling and compression parameters and pass " "images through unmodified. If True and the other compression parameters are " "left at their default values, images will be scaled to fit in the screen " "dimensions set by the output profile and compressed to size at most (w * " "h)/16 where w x h are the scaled image dimensions." 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." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.compress_news_images_auto_size:1 msgid "" "The factor used when auto compressing JPEG images. If set to None, auto " "compression is disabled. Otherwise, the images will be reduced in size to (w" " * h)/compress_news_images_auto_size bytes if possible by reducing the " "quality level, where w x h are the image dimensions in pixels. The minimum " "JPEG quality will be 5/100 so it is possible this constraint will not be " "met. This parameter can be overridden by the parameter " "compress_news_images_max_size which provides a fixed maximum size for " "images. Note that if you enable scale_news_images_to_device then the image " "will first be scaled and then its quality lowered until its size is less " "than (w * h)/factor where w and h are now the *scaled* image dimensions. In " "other words, this compression happens after scaling." 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." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.compress_news_images_max_size:1 msgid "" "Set JPEG quality so images do not exceed the size given (in KBytes). If set," " this parameter overrides auto compression via " "compress_news_images_auto_size. The minimum JPEG quality will be 5/100 so it" " is possible this constraint will not be met." 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." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.conversion_options:1 msgid "" "Recipe specific options to control the conversion of the downloaded content " "into an e-book. These will override any user or plugin specified values, so " "only use if absolutely necessary. For example::" 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::" #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.cover_margins:1 msgid "" "By default, the cover image returned by get_cover_url() will be used as the " "cover for the periodical. Overriding this in your recipe instructs calibre " "to render the downloaded cover into a frame whose width and height are " "expressed as a percentage of the downloaded cover. cover_margins = (10, 15, " "'#ffffff') pads the cover with a white margin 10px on the left and right, " "15px on the top and bottom. Color names are defined `here " "`_. Note that for some reason," " white does not always work in Windows. Use #ffffff instead" 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 `_. Observera att färgnamnet white av någon anledning inte alltid fungerar i Windows. Använd #ffffff i stället." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.delay:1 msgid "" "The default delay between consecutive downloads in seconds. The argument may" " be a floating point number to indicate a more precise time. See " ":meth:`get_url_specific_delay` to implement per URL delays." 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." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.description:1 msgid "" "A couple of lines that describe the content this recipe downloads. This will" " be used primarily in a GUI that presents a list of recipes." 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." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.encoding:1 msgid "" "Specify an override encoding for sites that have an incorrect charset " "specification. The most common being specifying ``latin1`` and using " "``cp1252``. If None, try to detect the encoding. If it is a callable, the " "callable is called with two arguments: The recipe object and the source to " "be decoded. It must return the decoded source." 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." #: ../../../__w/calibre/calibre/src/calibre/web/feeds/news.pydocstring of #: calibre.web.feeds.news.BasicNewsRecipe.extra_css:1 msgid "" "Specify any extra :term:`CSS` that should be added to downloaded " ":term:`HTML` files. It will be inserted into `