| 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 |
# Alex, 2016 |
| 7 |
# Alex, 2016 |
| 8 |
# M. de Boer <[email protected]>, 2018 |
| 9 |
# Meteor0id, 2019 |
| 10 |
# Meteor0id, 2019 |
| 11 |
# Rodolfo_Jadon, 2015 |
| 12 |
# peter <[email protected]>, 2021-2022 |
| 13 |
# Rodolfo_Jadon, 2015 |
| 14 |
# Volluta <[email protected]>, 2016 |
| 15 |
# W.P.M.E. Hofland <[email protected]>, 2015 |
| 16 |
msgid "" |
| 17 |
msgstr "" |
| 18 |
"Project-Id-Version: calibre\n" |
| 19 |
"Report-Msgid-Bugs-To: \n" |
| 20 |
"POT-Creation-Date: 2026-02-17 16:44+0000\n" |
| 21 |
"PO-Revision-Date: 2014-06-17 08:34+0000\n" |
| 22 |
"Last-Translator: W.P.M.E. Hofland <[email protected]>, 2015\n" |
| 23 |
"Language-Team: Dutch (http://app.transifex.com/calibre/calibre/language/nl/)\n" |
| 24 |
"MIME-Version: 1.0\n" |
| 25 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 26 |
"Content-Transfer-Encoding: 8bit\n" |
| 27 |
"Language: nl\n" |
| 28 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n" |
| 29 |
|
| 30 |
#: ../../../__w/calibre/calibre/manual/news.rst:4 |
| 31 |
msgid "Adding your favorite news website" |
| 32 |
msgstr "Uw favoriete nieuws website toevoegen" |
| 33 |
|
| 34 |
#: ../../../__w/calibre/calibre/manual/news.rst:6 |
| 35 |
msgid "" |
| 36 |
"calibre has a powerful, flexible and easy-to-use framework for downloading " |
| 37 |
"news from the Internet and converting it into an e-book. The following will " |
| 38 |
"show you, by means of examples, how to get news from various websites." |
| 39 |
msgstr "calibre heeft een krachtig, flexibel en gemakkelijk te gebruiken kader voor downloaden van nieuws van internet en converteren naar een e-boek. Het volgende toont u aan de hand van voorbeelden, hoe u nieuws van verschillende websites kunt krijgen." |
| 40 |
|
| 41 |
#: ../../../__w/calibre/calibre/manual/news.rst:8 |
| 42 |
msgid "" |
| 43 |
"To gain an understanding of how to use the framework, follow the examples in" |
| 44 |
" the order listed below:" |
| 45 |
msgstr "Om een goed begrip te krijgen van het gebruik van het raamwerk, volgt u de voorbeelden in de onderstaande volgorde:" |
| 46 |
|
| 47 |
#: ../../../__w/calibre/calibre/manual/news.rst:15 |
| 48 |
msgid "Completely automatic fetching" |
| 49 |
msgstr "Compleet automatisch ophalen" |
| 50 |
|
| 51 |
#: ../../../__w/calibre/calibre/manual/news.rst:17 |
| 52 |
msgid "" |
| 53 |
"If your news source is simple enough, calibre may well be able to fetch it " |
| 54 |
"completely automatically, all you need to do is provide the URL. calibre " |
| 55 |
"gathers all the information needed to download a news source into a " |
| 56 |
":term:`recipe`. In order to tell calibre about a news source, you have to " |
| 57 |
"create a :term:`recipe` for it. Let's see some examples:" |
| 58 |
msgstr "Als uw nieuwsbron eenvoudig genoeg is, kan Calibre deze mogelijk volledig automatisch ophalen, het enige wat u hoeft te doen is de URL opgeven. Calibre verzamelt alle informatie die nodig is om een nieuwsbron te downloaden naar een :term :`recept`. Om Calibre over een nieuwsbron te vertellen, moet je een :term :`recept` ervoor maken. Laten we enkele voorbeelden bekijken:" |
| 59 |
|
| 60 |
#: ../../../__w/calibre/calibre/manual/news.rst:26 |
| 61 |
msgid "The calibre blog" |
| 62 |
msgstr "De Calibre blog" |
| 63 |
|
| 64 |
#: ../../../__w/calibre/calibre/manual/news.rst:28 |
| 65 |
msgid "" |
| 66 |
"The calibre blog is a blog of posts that describe many useful calibre " |
| 67 |
"features in a simple and accessible way for new calibre users. In order to " |
| 68 |
"download this blog into an e-book, we rely on the :term:`RSS` feed of the " |
| 69 |
"blog::" |
| 70 |
msgstr "De calibre blog is een blog met posts die veel nuttige calibre kenmerken beschrijven op een simpele en toegankelijke manier voor nieuwe calibre gebruikers. Om deze blog te downloaden als e-boek, vertrouwen we op de :term:`RSS` feed of the blog::" |
| 71 |
|
| 72 |
#: ../../../__w/calibre/calibre/manual/news.rst:34 |
| 73 |
msgid "" |
| 74 |
"I got the RSS URL by looking under \"Subscribe to\" at the bottom of the " |
| 75 |
"blog page and choosing :guilabel:`Posts->Atom`. To make calibre download the" |
| 76 |
" feeds and convert them into an e-book, you should right click the " |
| 77 |
":guilabel:`Fetch news` button and then the :guilabel:`Add a custom news " |
| 78 |
"source` menu item and then the :guilabel:`New Recipe` button. A dialog " |
| 79 |
"similar to that shown below should open up." |
| 80 |
msgstr "Ik vond de RSS URL door te zoeken in \"Abonneren op\" onderaan de blogpagina en kiezen voor :guilabel:`Posts->Atom`. Om calibre de feeds te laten downloaden en converteren naar een e-boek, moet u rechtsklikken op de :guilabel:`Nieuws ophalen` knop en dan het :guilabel:`Aangepaste nieuwsbron toevoegen` menu item en dan de :guilabel:`Nieuw Recept` knop. Een dialoog zoals onder getoond verschijnt." |
| 81 |
|
| 82 |
#: ../../../__w/calibre/calibre/manual/news.rst:43 |
| 83 |
msgid "" |
| 84 |
"First enter ``Calibre Blog`` into the :guilabel:`Recipe title` field. This " |
| 85 |
"will be the title of the e-book that will be created from the articles in " |
| 86 |
"the above feeds." |
| 87 |
msgstr "Voer eerst ``Calibre Blog`` in in het :guilabel:`Recept titel` veld. Dit zal de titel van het e-boek zijn dat wordt gecreëerd van het artikel in de feeds boven." |
| 88 |
|
| 89 |
#: ../../../__w/calibre/calibre/manual/news.rst:45 |
| 90 |
msgid "" |
| 91 |
"The next two fields (:guilabel:`Oldest article` and :guilabel:`Max. number " |
| 92 |
"of articles`) allow you some control over how many articles should be " |
| 93 |
"downloaded from each feed, and they are pretty self explanatory." |
| 94 |
msgstr "De volgende twee velden (:guilabel:`Oudste artikel` en :guilabel:`Max. aantal artikelen`) geven u enige controle over hoeveel artikelen moeten gedownload worden van elke feed, en ze zijn zo klaar als een klontje." |
| 95 |
|
| 96 |
#: ../../../__w/calibre/calibre/manual/news.rst:47 |
| 97 |
msgid "" |
| 98 |
"To add the feeds to the recipe, enter the feed title and the feed URL and " |
| 99 |
"click the :guilabel:`Add feed` button. Once you have added the feed, simply " |
| 100 |
"click the :guilabel:`Save` button and you're done! Close the dialog." |
| 101 |
msgstr "Om de feeds aan het recept toe te voegen, voer de feedtitel en de feed URL in en klik op de :guilabel:`Feed toevoegen` knop. Als u de feed hebt toegevoegd, klik gewoon op de :guilabel:`Opslaan` knop en u bent klaar! Sluit de dialoog." |
| 102 |
|
| 103 |
#: ../../../__w/calibre/calibre/manual/news.rst:51 |
| 104 |
msgid "" |
| 105 |
"To test your new :term:`recipe`, click the :guilabel:`Fetch news` button and" |
| 106 |
" in the :guilabel:`Custom news sources` sub-menu click :guilabel:`calibre " |
| 107 |
"Blog`. After a couple of minutes, the newly downloaded e-book of blog posts " |
| 108 |
"will appear in the main library view (if you have your reader connected, it " |
| 109 |
"will be put onto the reader instead of into the library). Select it and hit " |
| 110 |
"the :guilabel:`View` button to read!" |
| 111 |
msgstr "Om uw nieuw :term:`recept` te testen, klik op de :guilabel:`Nieuws ophalen` knop en in hat :guilabel:`Aangepaste nieuwsbronnen` sub-menu klik op :guilabel:`calibre Blog`. Na een paar minuten verschijnt het nieuw gedownloade e-boek met blogposts in de hoofdbibliotheekweergave (als uw reader aangesloten is, wordt het op de reader gezet i.p.v. in de bibliotheek). Selecteer het en raak de :guilabel:`Tonen` knop om te lezen!" |
| 112 |
|
| 113 |
#: ../../../__w/calibre/calibre/manual/news.rst:53 |
| 114 |
msgid "" |
| 115 |
"The reason this worked so well, with so little effort is that the blog " |
| 116 |
"provides *full-content* :term:`RSS` feeds, i.e., the article content is " |
| 117 |
"embedded in the feed itself. For most news sources that provide news in this" |
| 118 |
" fashion, with *full-content* feeds, you don't need any more effort to " |
| 119 |
"convert them to e-books. Now we will look at a news source that does not " |
| 120 |
"provide full content feeds. In such feeds, the full article is a webpage and" |
| 121 |
" the feed only contains a link to the webpage with a short summary of the " |
| 122 |
"article." |
| 123 |
msgstr "De reden dat dit zo goed werkt en met zo weinig inspanning is dat de blog *volledige inhoud* :term:`RSS` feeds voorziet, m.a.w. de artikel inhoud is ingebed in de feed zelf. Voor de meeste bronnen die nieuws voorzien op deze wijze, met *volledige inhoud* feeds, moet u niet meer inspanning doen om ze te converteren naar e-boeken. Nu een kijkje naar een nieuwsbron die geen volledige inhoud feeds levert. In zo'n feeds is het volledige artikel een webpagina en bevat de feed enkel een link met een korte samenvatting." |
| 124 |
|
| 125 |
#: ../../../__w/calibre/calibre/manual/news.rst:58 |
| 126 |
msgid "bbc.co.uk" |
| 127 |
msgstr "bbc.co.uk" |
| 128 |
|
| 129 |
#: ../../../__w/calibre/calibre/manual/news.rst:60 |
| 130 |
msgid "Let's try the following two feeds from *The BBC*:" |
| 131 |
msgstr "Laten we de volgende twee feeds van *De BBC* proberen:" |
| 132 |
|
| 133 |
#: ../../../__w/calibre/calibre/manual/news.rst:62 |
| 134 |
msgid "" |
| 135 |
"News Front Page: " |
| 136 |
"https://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml" |
| 137 |
msgstr "Nieuws Front Pagina: https://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml" |
| 138 |
|
| 139 |
#: ../../../__w/calibre/calibre/manual/news.rst:63 |
| 140 |
msgid "" |
| 141 |
"Science/Nature: " |
| 142 |
"https://newsrss.bbc.co.uk/rss/newsonline_world_edition/science/nature/rss.xml" |
| 143 |
msgstr "Wetenschap/Natuur: https://newsrss.bbc.co.uk/rss/newsonline_world_edition/science/nature/rss.xml" |
| 144 |
|
| 145 |
#: ../../../__w/calibre/calibre/manual/news.rst:65 |
| 146 |
msgid "" |
| 147 |
"Follow the procedure outlined in :ref:`calibre_blog` above to create a " |
| 148 |
"recipe for *The BBC* (using the feeds above). Looking at the downloaded " |
| 149 |
"e-book, we see that calibre has done a creditable job of extracting only the" |
| 150 |
" content you care about from each article's webpage. However, the extraction" |
| 151 |
" process is not perfect. Sometimes it leaves in undesirable content like " |
| 152 |
"menus and navigation aids or it removes content that should have been left " |
| 153 |
"alone, like article headings. In order, to have perfect content extraction, " |
| 154 |
"we will need to customize the fetch process, as described in the next " |
| 155 |
"section." |
| 156 |
msgstr "Volg de procedure beschreven in :ref:`calibre_blog` boven om een recept te creëren voor *The BBC* (met de feeds boven). Kijkend naar het gedownloade e-boek zien we dat calibre een lovenswaardige inspanning heeft gedaan om enkel de inhoud waar u om geeft te halen uit elk artikel z'n webpagina. Het proces is echter niet perfect. Soms is er nog ongewenste inhoud zoals menu's en navigatie hulpjes of het verwijderde inhoud waar het had moeten afblijven, zoals artikelkoppen. Voor het perfecte proces zullen we het moeten aanpassen zoals beschreven in het volgende onderdeel." |
| 157 |
|
| 158 |
#: ../../../__w/calibre/calibre/manual/news.rst:68 |
| 159 |
msgid "Customizing the fetch process" |
| 160 |
msgstr "Het ophaalproces aanpassen" |
| 161 |
|
| 162 |
#: ../../../__w/calibre/calibre/manual/news.rst:70 |
| 163 |
msgid "" |
| 164 |
"When you want to perfect the download process, or download content from a " |
| 165 |
"particularly complex website, you can avail yourself of all the power and " |
| 166 |
"flexibility of the :term:`recipe` framework. In order to do that, in the " |
| 167 |
":guilabel:`Add custom news sources` dialog, simply click the " |
| 168 |
":guilabel:`Switch to Advanced mode` button." |
| 169 |
msgstr "Als u het downloadproces wil perfectioneren of inhoud downloaden van een zeer complexe webstek, kan u gebruik maken van al de kracht en soepelheid van het :term:`recept` raamwerk. Om dat te doen, klik in de :guilabel:`Aangepaste nieuwsbronnen` dialoog gewoon op de :guilabel:`Schakel over naar Geavanceerde modus` knop." |
| 170 |
|
| 171 |
#: ../../../__w/calibre/calibre/manual/news.rst:72 |
| 172 |
msgid "" |
| 173 |
"The easiest and often most productive customization is to use the print " |
| 174 |
"version of the online articles. The print version typically has much less " |
| 175 |
"cruft and translates much more smoothly to an e-book. Let's try to use the " |
| 176 |
"print version of the articles from *The BBC*." |
| 177 |
msgstr "De gemakkelijkste en dikwijls productiefste aanpassing is de afdrukversie van de online artikelen gebruiken. De afdrukversie bevat gewoonlijk veel minder rommel en vertaalt veel vlotter naar een e-boek. Laten we de afdrukversie van de artikelen van *De BBC* proberen." |
| 178 |
|
| 179 |
#: ../../../__w/calibre/calibre/manual/news.rst:75 |
| 180 |
msgid "Using the print version of bbc.co.uk" |
| 181 |
msgstr "Gebruik van de print versie van bbc.co.uk" |
| 182 |
|
| 183 |
#: ../../../__w/calibre/calibre/manual/news.rst:77 |
| 184 |
msgid "" |
| 185 |
"The first step is to look at the e-book we downloaded previously from " |
| 186 |
":ref:`bbc`. At the end of each article, in the e-book is a little blurb " |
| 187 |
"telling you where the article was downloaded from. Copy and paste that URL " |
| 188 |
"into a browser. Now on the article webpage look for a link that points to " |
| 189 |
"the \"Printable version\". Click it to see the print version of the article." |
| 190 |
" It looks much neater! Now compare the two URLs. For me they were:" |
| 191 |
msgstr "De eerste stap is kijken naar het e-boek dat we downloadden van :ref:`bbc`. Aan het einde van elk artikel in het e-boek is een kleine blurb die toont waar het artikel werd gedownload. Kopieer en plak die URL in een browser. Zoek op de webpagina van het artikel voor een link die wijst naar de \"Afdrukversie\". Klik erop om de afdrukversie van het artikel te zien. Ziet er veel strakker uit! Vergelijk nu de twee URL's. Bij mij waren het:" |
| 192 |
|
| 193 |
#: ../../../__w/calibre/calibre/manual/news.rst:79 |
| 194 |
msgid "Article URL" |
| 195 |
msgstr "Artikel URL" |
| 196 |
|
| 197 |
#: ../../../__w/calibre/calibre/manual/news.rst:80 |
| 198 |
msgid "https://news.bbc.co.uk/2/hi/science/nature/7312016.stm" |
| 199 |
msgstr "https://news.bbc.co.uk/2/hi/science/nature/7312016.stm" |
| 200 |
|
| 201 |
#: ../../../__w/calibre/calibre/manual/news.rst:82 |
| 202 |
msgid "Print version URL" |
| 203 |
msgstr "Print versie URL" |
| 204 |
|
| 205 |
#: ../../../__w/calibre/calibre/manual/news.rst:83 |
| 206 |
msgid "" |
| 207 |
"https://newsvote.bbc.co.uk/mpapps/pagetools/print/news.bbc.co.uk/2/hi/science/nature/7312016.stm" |
| 208 |
msgstr "https://newsvote.bbc.co.uk/mpapps/pagetools/print/news.bbc.co.uk/2/hi/science/nature/7312016.stm" |
| 209 |
|
| 210 |
#: ../../../__w/calibre/calibre/manual/news.rst:85 |
| 211 |
msgid "" |
| 212 |
"So it looks like to get the print version, we need to prefix every article " |
| 213 |
"URL with:" |
| 214 |
msgstr "Het lijkt erop dat om de afdrukversie te krijgen, we elke artikel URL moeten laten voorafgaan door:" |
| 215 |
|
| 216 |
#: ../../../__w/calibre/calibre/manual/news.rst:87 |
| 217 |
msgid "newsvote.bbc.co.uk/mpapps/pagetools/print/" |
| 218 |
msgstr "newsvote.bbc.co.uk/mpapps/pagetools/print/" |
| 219 |
|
| 220 |
#: ../../../__w/calibre/calibre/manual/news.rst:89 |
| 221 |
msgid "" |
| 222 |
"Now in the :guilabel:`Advanced mode` of the Custom news sources dialog, you " |
| 223 |
"should see something like (remember to select *The BBC* recipe before " |
| 224 |
"switching to advanced mode):" |
| 225 |
msgstr "In de :guilabel:`Geavanceerde modus` van de Aangepaste nieuwsbronnendialoog zou u iets moeten zien zoals (denk eraan om het *The BBC* recept te selecteren voor naar geavanceerde modus over te schakelen):" |
| 226 |
|
| 227 |
#: ../../../__w/calibre/calibre/manual/news.rst:94 |
| 228 |
msgid "" |
| 229 |
"You can see that the fields from the :guilabel:`Basic mode` have been " |
| 230 |
"translated to Python code in a straightforward manner. We need to add " |
| 231 |
"instructions to this recipe to use the print version of the articles. All " |
| 232 |
"that's needed is to add the following two lines:" |
| 233 |
msgstr "U ziet dat de velden van de :guilabel:`Basis modus` op een rechttoe rechtaan manier zijn vertaald naar Python code. We moeten instructies toevoegen aan dit recept om de afdrukversie van het artikel te gebruiken. Al wat nodig is, is toevoegen van volgende twee regels:" |
| 234 |
|
| 235 |
#: ../../../__w/calibre/calibre/manual/news.rst:101 |
| 236 |
msgid "" |
| 237 |
"This is Python, so indentation is important. After you've added the lines, " |
| 238 |
"it should look like:" |
| 239 |
msgstr "Dit is Python, dus inspringing is belangrijk. Na toevoegen van de lijnen zou het er moeten uitzien als:" |
| 240 |
|
| 241 |
#: ../../../__w/calibre/calibre/manual/news.rst:106 |
| 242 |
msgid "" |
| 243 |
"In the above, ``def print_version(self, url)`` defines a *method* that is " |
| 244 |
"called by calibre for every article. ``url`` is the URL of the original " |
| 245 |
"article. What ``print_version`` does is take that url and replace it with " |
| 246 |
"the new URL that points to the print version of the article. To learn about " |
| 247 |
"`Python <https://www.python.org>`_ see the `tutorial " |
| 248 |
"<https://docs.python.org/tutorial/>`_." |
| 249 |
msgstr "Boven definieert ``def print_version(self, url)`` een *methode* die door calibre wordt aangeroepen voor elk artikel. ``url`` is de URL van het originele artikel. Wat ``print_version`` doet, is die url nemen en vervangen door de nieuwe URL die wijst naar de afdrukversie van het artikel. Om te leren over `Python <https://www.python.org>`_ see the `tutorial <https://docs.python.org/tutorial/>`_." |
| 250 |
|
| 251 |
#: ../../../__w/calibre/calibre/manual/news.rst:108 |
| 252 |
msgid "" |
| 253 |
"Now, click the :guilabel:`Add/update recipe` button and your changes will be" |
| 254 |
" saved. Re-download the e-book. You should have a much improved e-book. One " |
| 255 |
"of the problems with the new version is that the fonts on the print version " |
| 256 |
"webpage are too small. This is automatically fixed when converting to an " |
| 257 |
"e-book, but even after the fixing process, the font size of the menus and " |
| 258 |
"navigation bar become too large relative to the article text. To fix this, " |
| 259 |
"we will do some more customization, in the next section." |
| 260 |
msgstr "Klik nu op de :guilabel:`Toevoegen/updaten recept` knop en uw wijzigingen worden opgeslagen. Download het e-boek opnieuw. U zou nu een veel betere versie moeten hebben. Een van de problemen met de nieuwe versie is dat de lettertypes op de webpagina van de afdrukversie te klein zijn. Dit wordt ge-auto-fixxed bij converteren naar een e-boek maar zelfs daarna is de lettertypegrootte van menu's en navigatiebalk te groot vergeleken met de artikeltekst. Om dit te in orde te brengen, doen we nog wat aanpassingen in het volgende onderdeel." |
| 261 |
|
| 262 |
#: ../../../__w/calibre/calibre/manual/news.rst:111 |
| 263 |
msgid "Replacing article styles" |
| 264 |
msgstr "Artikel stijlen vervangen" |
| 265 |
|
| 266 |
#: ../../../__w/calibre/calibre/manual/news.rst:113 |
| 267 |
msgid "" |
| 268 |
"In the previous section, we saw that the font size for articles from the " |
| 269 |
"print version of *The BBC* was too small. In most websites, *The BBC* " |
| 270 |
"included, this font size is set by means of :term:`CSS` stylesheets. We can " |
| 271 |
"disable the fetching of such stylesheets by adding the line::" |
| 272 |
msgstr "In de vorige sectie zagen we dat de lettertypegrootte voor artikelen van de afdrukversie van *The BBC* te klein was. Op de meeste webstekken, *The BBC* inbegrepen, is deze lettertypegrootte ingesteld door de :term:`CSS` stijlbladen. We kunnen dit ophalen uitschakelen door toevoegen van de regel::" |
| 273 |
|
| 274 |
#: ../../../__w/calibre/calibre/manual/news.rst:119 |
| 275 |
msgid "The recipe now looks like:" |
| 276 |
msgstr "Het recept ziet er als volgt uit:" |
| 277 |
|
| 278 |
#: ../../../__w/calibre/calibre/manual/news.rst:124 |
| 279 |
msgid "" |
| 280 |
"The new version looks pretty good. If you're a perfectionist, you'll want to" |
| 281 |
" read the next section, which deals with actually modifying the downloaded " |
| 282 |
"content." |
| 283 |
msgstr "De nieuwe versie ziet er goed uit. Als u een perfectionist bent, dan zult u het volgende gedeelte willen lezen, deze gaat over het aanpassen van de gedownloade content." |
| 284 |
|
| 285 |
#: ../../../__w/calibre/calibre/manual/news.rst:127 |
| 286 |
msgid "Slicing and dicing" |
| 287 |
msgstr "Splitsen en verdelen" |
| 288 |
|
| 289 |
#: ../../../__w/calibre/calibre/manual/news.rst:129 |
| 290 |
msgid "" |
| 291 |
"calibre contains very powerful and flexible abilities when it comes to " |
| 292 |
"manipulating downloaded content. To show off a couple of these, let's look " |
| 293 |
"at our old friend the :ref:`The BBC <bbc1>` recipe again. Looking at the " |
| 294 |
"source code (:term:`HTML`) of a couple of articles (print version), we see " |
| 295 |
"that they have a footer that contains no useful information, contained in" |
| 296 |
msgstr "calibre bevat zeer krachtige en flexibele mogelijkheden om gedownloadede inhoud te manipuleren. Om enkele hiervan te tonen, laten we nogmaals een kijkje nemen bij onze oude vriend het :ref:`The BBC <bbc1>` recept. Bij kijken naar de broncode (:term:`HTML`) van een paar artikelen (afdrukversie), zien we dat ze een voettekst hebben zonder bruikbare informatie, gevat in" |
| 297 |
|
| 298 |
#: ../../../__w/calibre/calibre/manual/news.rst:137 |
| 299 |
msgid "This can be removed by adding::" |
| 300 |
msgstr "Dit kan worden verwijderd door toevoeging van::" |
| 301 |
|
| 302 |
#: ../../../__w/calibre/calibre/manual/news.rst:141 |
| 303 |
msgid "" |
| 304 |
"to the recipe. Finally, let's replace some of the :term:`CSS` that we " |
| 305 |
"disabled earlier, with our own :term:`CSS` that is suitable for conversion " |
| 306 |
"to an e-book::" |
| 307 |
msgstr "" |
| 308 |
|
| 309 |
#: ../../../__w/calibre/calibre/manual/news.rst:145 |
| 310 |
msgid "With these additions, our recipe has become \"production quality\"." |
| 311 |
msgstr "Met deze toevoegingen is ons recept \"productiekwaliteit\" geworden." |
| 312 |
|
| 313 |
#: ../../../__w/calibre/calibre/manual/news.rst:147 |
| 314 |
msgid "" |
| 315 |
"This :term:`recipe` explores only the tip of the iceberg when it comes to " |
| 316 |
"the power of calibre. To explore more of the abilities of calibre we'll " |
| 317 |
"examine a more complex real life example in the next section." |
| 318 |
msgstr "Deze :term:`recept` verkent enkel het tipje van de ijsberg als het over de kracht van calibre gaat. Om meer mogelijkheden van calibre te ontdekken, onderzoeken we een ingewikkelder voorbeeld uit het echte leven in de volgende sectie." |
| 319 |
|
| 320 |
#: ../../../__w/calibre/calibre/manual/news.rst:150 |
| 321 |
msgid "Real life example" |
| 322 |
msgstr "Werkend voorbeeld" |
| 323 |
|
| 324 |
#: ../../../__w/calibre/calibre/manual/news.rst:152 |
| 325 |
msgid "" |
| 326 |
"A reasonably complex real life example that exposes more of the :term:`API` " |
| 327 |
"of ``BasicNewsRecipe`` is the :term:`recipe` for *The New York Times*" |
| 328 |
msgstr "Een redelijk complex real life voorbeeld dat meer van de :term:`API` van ``BasicNewsRecipe`` toont is het :term:`recept` voor *The New York Times*" |
| 329 |
|
| 330 |
#: ../../../__w/calibre/calibre/manual/news.rst:238 |
| 331 |
msgid "We see several new features in this :term:`recipe`. First, we have::" |
| 332 |
msgstr "We zien verscheidene nieuwe kenmerken in dit :term:`recept`. Om te beginnen::" |
| 333 |
|
| 334 |
#: ../../../__w/calibre/calibre/manual/news.rst:242 |
| 335 |
msgid "" |
| 336 |
"This sets the displayed time on the front page of the created e-book to be " |
| 337 |
"in the format, ``Day, Day_Number Month, Year``. See :attr:`timefmt " |
| 338 |
"<calibre.web.feeds.news.BasicNewsRecipe.timefmt>`." |
| 339 |
msgstr "Dit stelt de getoonde tijd op de voorpagina van het gecreëerde e-boek in op het formaat, ``Day, Day_Number Month, Year``. Kijk op :attr:`timefmt <calibre.web.feeds.news.BasicNewsRecipe.timefmt>`." |
| 340 |
|
| 341 |
#: ../../../__w/calibre/calibre/manual/news.rst:245 |
| 342 |
msgid "" |
| 343 |
"Then we see a group of directives to cleanup the downloaded :term:`HTML`::" |
| 344 |
msgstr "Dan zien we een groep richtlijnen voor het opschonen van de gedownloade :term:`HTML`::" |
| 345 |
|
| 346 |
#: ../../../__w/calibre/calibre/manual/news.rst:251 |
| 347 |
msgid "" |
| 348 |
"These remove everything before the first ``<h1>`` tag and everything after " |
| 349 |
"the first tag whose id is ``footer``. See :attr:`remove_tags " |
| 350 |
"<calibre.web.feeds.news.BasicNewsRecipe.remove_tags>`, " |
| 351 |
":attr:`remove_tags_before " |
| 352 |
"<calibre.web.feeds.news.BasicNewsRecipe.remove_tags_before>`, " |
| 353 |
":attr:`remove_tags_after " |
| 354 |
"<calibre.web.feeds.news.BasicNewsRecipe.remove_tags_after>`." |
| 355 |
msgstr "Deze verwijderen alles voor de eerste ``<h1>`` tag en alle na de eerste tag wiens id is ``footer``. Bekijk :attr:`remove_tags <calibre.web.feeds.news.BasicNewsRecipe.remove_tags>`, :attr:`remove_tags_before <calibre.web.feeds.news.BasicNewsRecipe.remove_tags_before>`, :attr:`remove_tags_after <calibre.web.feeds.news.BasicNewsRecipe.remove_tags_after>`." |
| 356 |
|
| 357 |
#: ../../../__w/calibre/calibre/manual/news.rst:253 |
| 358 |
msgid "The next interesting feature is::" |
| 359 |
msgstr "De volgende interessante functie is::" |
| 360 |
|
| 361 |
#: ../../../__w/calibre/calibre/manual/news.rst:260 |
| 362 |
msgid "" |
| 363 |
"``needs_subscription = True`` tells calibre that this recipe needs a " |
| 364 |
"username and password in order to access the content. This causes, calibre " |
| 365 |
"to ask for a username and password whenever you try to use this recipe. The " |
| 366 |
"code in :meth:`calibre.web.feeds.news.BasicNewsRecipe.get_browser` actually " |
| 367 |
"does the login into the NYT website. Once logged in, calibre will use the " |
| 368 |
"same, logged in, browser instance to fetch all content. See `mechanize " |
| 369 |
"<https://mechanize.readthedocs.io/en/latest/>`_ to understand the code in " |
| 370 |
"``get_browser``." |
| 371 |
msgstr "``needs_subscription = True`` zegt calibre dat dit recept een gebruikersnaam en wachtwoord nodig heeft voor content toegang. Dit laat calibre vragen naar een gebruikersnaam en wachtwoord telkens u dit recept probeert te gebruiken. De code in :meth:`calibre.web.feeds.news.BasicNewsRecipe.get_browser` doet het inloggen op de NYT website. Eens ingelogd zal calibre dezelfde ingelogde browser instance gebruiken om alle inhoud op te halen. Bekijk `mechanize <https://mechanize.readthedocs.io/en/latest/>`_ om de code in ``get_browser`` te begrijpen." |
| 372 |
|
| 373 |
#: ../../../__w/calibre/calibre/manual/news.rst:262 |
| 374 |
msgid "" |
| 375 |
"The next new feature is the " |
| 376 |
":meth:`calibre.web.feeds.news.BasicNewsRecipe.parse_index` method. Its job " |
| 377 |
"is to go to https://www.nytimes.com/pages/todayspaper/index.html and fetch " |
| 378 |
"the list of articles that appear in *today's* paper. While more complex than" |
| 379 |
" simply using :term:`RSS`, the recipe creates an e-book that corresponds " |
| 380 |
"very closely to the day's paper. ``parse_index`` makes heavy use of " |
| 381 |
"`BeautifulSoup <https://www.crummy.com/software/BeautifulSoup/bs4/doc/>`_ to" |
| 382 |
" parse the daily paper webpage. You can also use other, more modern parsers " |
| 383 |
"if you dislike BeautifulSoup. calibre comes with `lxml <https://lxml.de/>`_ " |
| 384 |
"and `html5lib <https://github.com/html5lib/html5lib-python>`_, which are the" |
| 385 |
" recommended parsers. To use them, replace the call to ``index_to_soup()`` " |
| 386 |
"with the following::" |
| 387 |
msgstr "" |
| 388 |
|
| 389 |
#: ../../../__w/calibre/calibre/manual/news.rst:283 |
| 390 |
msgid "" |
| 391 |
"The final new feature is the " |
| 392 |
":meth:`calibre.web.feeds.news.BasicNewsRecipe.preprocess_html` method. It " |
| 393 |
"can be used to perform arbitrary transformations on every downloaded HTML " |
| 394 |
"page. Here it is used to bypass the ads that the nytimes shows you before " |
| 395 |
"each article." |
| 396 |
msgstr "Het laatste, nieuwe kenmerk is de :meth:`calibre.web.feeds.news.BasicNewsRecipe.preprocess_html` methode. Ze kan gebruikt worden voor willekeurige transformaties op elke gedownloade HTML pagina. Hier wordt ze gebruikt om de advertenties die de nytimes toont voor elk artikel te omzeilen." |
| 397 |
|
| 398 |
#: ../../../__w/calibre/calibre/manual/news.rst:286 |
| 399 |
msgid "Tips for developing new recipes" |
| 400 |
msgstr "Tips voor ontwikkelen van nieuwe recepten" |
| 401 |
|
| 402 |
#: ../../../__w/calibre/calibre/manual/news.rst:288 |
| 403 |
msgid "" |
| 404 |
"The best way to develop new recipes is to use the command line interface. " |
| 405 |
"Create the recipe using your favorite Python editor and save it to a file " |
| 406 |
"say :file:`myrecipe.recipe`. The `.recipe` extension is required. You can " |
| 407 |
"download content using this recipe with the command::" |
| 408 |
msgstr "De beste manier om nieuwe recepten te ontwikkelen is met de opdrachtregel. Creëer het recept in uw favoriete Python editor en sla het op in een bestand, bv. :file:`myrecipe.recipe`. De `.recipe` extensie is vereist. U kan inhoud downloaden met dit recept met het commando::" |
| 409 |
|
| 410 |
#: ../../../__w/calibre/calibre/manual/news.rst:292 |
| 411 |
msgid "" |
| 412 |
"The command :command:`ebook-convert` will download all the webpages and save" |
| 413 |
" them to the EPUB file :file:`myrecipe.epub`. The ``-vv`` option makes " |
| 414 |
"ebook-convert spit out a lot of information about what it is doing. The " |
| 415 |
":option:`ebook-convert-recipe-input --test` option makes it download only a " |
| 416 |
"couple of articles from at most two feeds. In addition, ebook-convert will " |
| 417 |
"put the downloaded HTML into the ``debug/input`` folder, where ``debug`` is " |
| 418 |
"the folder you specified in the :option:`ebook-convert --debug-pipeline` " |
| 419 |
"option." |
| 420 |
msgstr "Het commando :command:`e-boek-converteren` downloadt alle webpagina's en slaat ze op in het EPUB bestand :file:`mijnrecept.epub`. De ``-vv`` optie laat e-boek-converteren een hoop informatie uitspuwen over wat het doet. De :option:`e-boek-converteren-recept-invoer --test` optie laat het juist een paar artikels downloaden van maximaal twee feeds. Bijkomend plaatst e-boek-converteren de gedownloade HTML in de ``debug/input`` map, waar ``debug`` de map is die u specificeerde in de :option:`e-boek-converteren --debug-pipeline` optie." |
| 421 |
|
| 422 |
#: ../../../__w/calibre/calibre/manual/news.rst:300 |
| 423 |
msgid "" |
| 424 |
"Once the download is complete, you can look at the downloaded :term:`HTML` " |
| 425 |
"by opening the file :file:`debug/input/index.html` in a browser. Once you're" |
| 426 |
" satisfied that the download and preprocessing is happening correctly, you " |
| 427 |
"can generate e-books in different formats as shown below::" |
| 428 |
msgstr "Als de download compleet is, kan u de gedownloade :term:`HTML` bekijken door het bestand :file:`debug/input/index.html` in een browser te openen. Als u tevreden bent dat de download en voorbewerking correct gebeurt, kan e-boeken genereren in verschillende formaten zoals onder getoond::" |
| 429 |
|
| 430 |
#: ../../../__w/calibre/calibre/manual/news.rst:307 |
| 431 |
msgid "" |
| 432 |
"If you're satisfied with your recipe, and you feel there is enough demand to" |
| 433 |
" justify its inclusion into the set of built-in recipes, post your recipe in" |
| 434 |
" the `calibre recipes forum " |
| 435 |
"<https://www.mobileread.com/forums/forumdisplay.php?f=228>`_ to share it " |
| 436 |
"with other calibre users." |
| 437 |
msgstr "Als tevreden bent met uw recept en u vindt dat er genoeg vraag is om het in te voegen in de set met ingebouwde recepten, post dan uw recept in het `calibre recipes forum <https://www.mobileread.com/forums/forumdisplay.php?f=228>`_ om het te delen met andere gebruikers." |
| 438 |
|
| 439 |
#: ../../../__w/calibre/calibre/manual/news.rst:310 |
| 440 |
msgid "" |
| 441 |
"On macOS, the command line tools are inside the calibre bundle, for example," |
| 442 |
" if you installed calibre in :file:`/Applications` the command line tools " |
| 443 |
"are in :file:`/Applications/calibre.app/Contents/MacOS/`." |
| 444 |
msgstr "Op macOS bevinden de commandoregelprogramma's zich in de calibre-bundel, bijvoorbeeld, als u calibre hebt geïnstalleerd in :file:`/Applications` bevinden de commandoregelprogramma's zich in :file:`/Applications/calibre.app/Contents/MacOS/`." |
| 445 |
|
| 446 |
#: ../../../__w/calibre/calibre/manual/news.rst:316 |
| 447 |
msgid ":doc:`generated/en/ebook-convert`" |
| 448 |
msgstr ":doc:`generated/nl/ebook-convert`" |
| 449 |
|
| 450 |
#: ../../../__w/calibre/calibre/manual/news.rst:317 |
| 451 |
msgid "The command line interface for all e-book conversion." |
| 452 |
msgstr "De opdrachtregelinterface voor alle e-boekconversies." |
| 453 |
|
| 454 |
#: ../../../__w/calibre/calibre/manual/news.rst:321 |
| 455 |
msgid "Further reading" |
| 456 |
msgstr "Verder lezen" |
| 457 |
|
| 458 |
#: ../../../__w/calibre/calibre/manual/news.rst:323 |
| 459 |
msgid "" |
| 460 |
"To learn more about writing advanced recipes using some of the facilities, " |
| 461 |
"available in ``BasicNewsRecipe`` you should consult the following sources:" |
| 462 |
msgstr "Om meer te leren over schrijven van geavanceerde recepten met enkele van de mogelijkheden beschikbaar in ``BasicNewsRecipe`` moet u volgende bronnen raadplegen:" |
| 463 |
|
| 464 |
#: ../../../__w/calibre/calibre/manual/news.rst:325 |
| 465 |
msgid ":ref:`API documentation <news_recipe>`" |
| 466 |
msgstr ":ref:`API documentation <news_recipe>`" |
| 467 |
|
| 468 |
#: ../../../__w/calibre/calibre/manual/news.rst:326 |
| 469 |
msgid "" |
| 470 |
"Documentation of the ``BasicNewsRecipe`` class and all its important methods" |
| 471 |
" and fields." |
| 472 |
msgstr "Documentatie over de ``BasicNewsRecipe`` class en al zijn belangrijke methodes en velden." |
| 473 |
|
| 474 |
#: ../../../__w/calibre/calibre/manual/news.rst:328 |
| 475 |
msgid "" |
| 476 |
"`BasicNewsRecipe " |
| 477 |
"<https://github.com/kovidgoyal/calibre/blob/master/src/calibre/web/feeds/news.py>`_" |
| 478 |
msgstr "`BasicNewsRecipe <https://github.com/kovidgoyal/Calibre/blob/master/src/Calibre/web/feeds/news.py>`_" |
| 479 |
|
| 480 |
#: ../../../__w/calibre/calibre/manual/news.rst:329 |
| 481 |
msgid "The source code of ``BasicNewsRecipe``" |
| 482 |
msgstr "De broncode van ``BasicNewsRecipe``" |
| 483 |
|
| 484 |
#: ../../../__w/calibre/calibre/manual/news.rst:331 |
| 485 |
msgid "" |
| 486 |
"`Built-in recipes " |
| 487 |
"<https://github.com/kovidgoyal/calibre/tree/master/recipes>`_" |
| 488 |
msgstr "`Ingebouwde recepten <https://github.com/kovidgoyal/calibre/tree/master/recipes>`_" |
| 489 |
|
| 490 |
#: ../../../__w/calibre/calibre/manual/news.rst:332 |
| 491 |
msgid "The source code for the built-in recipes that come with calibre" |
| 492 |
msgstr "De broncode voor de ingebouwde recepten die bij Calibre horen" |
| 493 |
|
| 494 |
#: ../../../__w/calibre/calibre/manual/news.rst:334 |
| 495 |
msgid "" |
| 496 |
"`The calibre recipes forum " |
| 497 |
"<https://www.mobileread.com/forums/forumdisplay.php?f=228>`_" |
| 498 |
msgstr "`Het calibre recepten forum <https://www.mobileread.com/forums/forumdisplay.php?f=228>`_" |
| 499 |
|
| 500 |
#: ../../../__w/calibre/calibre/manual/news.rst:335 |
| 501 |
msgid "Lots of knowledgeable calibre recipe writers hang out here." |
| 502 |
msgstr "Massa's ervaren calibre recept schrijven hier." |
| 503 |
|
| 504 |
#: ../../../__w/calibre/calibre/manual/news.rst:339 |
| 505 |
msgid "API documentation" |
| 506 |
msgstr "API documentatie" |