Debian Codegraph @

translations/manual/mr/news.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 # sabretou <[email protected]>, 2024-2025
7 # sabretou <[email protected]>, 2024
8 msgid ""
9 msgstr ""
10 "Project-Id-Version: calibre\n"
11 "Report-Msgid-Bugs-To: \n"
12 "POT-Creation-Date: 2025-02-20 13:44+0000\n"
13 "PO-Revision-Date: 2014-06-17 08:34+0000\n"
14 "Last-Translator: sabretou <[email protected]>, 2024-2025\n"
15 "Language-Team: Marathi (http://app.transifex.com/calibre/calibre/language/mr/)\n"
16 "MIME-Version: 1.0\n"
17 "Content-Type: text/plain; charset=UTF-8\n"
18 "Content-Transfer-Encoding: 8bit\n"
19 "Language: mr\n"
20 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
21
22 #: ../../__w/calibre/calibre/manual/news.rst:4
23 msgid "Adding your favorite news website"
24 msgstr "आपल्या आवडीचे बातम्यांचे संकेतस्थळ जोडणे"
25
26 #: ../../__w/calibre/calibre/manual/news.rst:6
27 msgid ""
28 "calibre has a powerful, flexible and easy-to-use framework for downloading "
29 "news from the Internet and converting it into an e-book. The following will "
30 "show you, by means of examples, how to get news from various websites."
31 msgstr ""
32
33 #: ../../__w/calibre/calibre/manual/news.rst:8
34 msgid ""
35 "To gain an understanding of how to use the framework, follow the examples in"
36 " the order listed below:"
37 msgstr ""
38
39 #: ../../__w/calibre/calibre/manual/news.rst:15
40 msgid "Completely automatic fetching"
41 msgstr ""
42
43 #: ../../__w/calibre/calibre/manual/news.rst:17
44 msgid ""
45 "If your news source is simple enough, calibre may well be able to fetch it "
46 "completely automatically, all you need to do is provide the URL. calibre "
47 "gathers all the information needed to download a news source into a "
48 ":term:`recipe`. In order to tell calibre about a news source, you have to "
49 "create a :term:`recipe` for it. Let's see some examples:"
50 msgstr ""
51
52 #: ../../__w/calibre/calibre/manual/news.rst:26
53 msgid "The calibre blog"
54 msgstr "कॅलिबर ब्लॉग"
55
56 #: ../../__w/calibre/calibre/manual/news.rst:28
57 msgid ""
58 "The calibre blog is a blog of posts that describe many useful calibre "
59 "features in a simple and accessible way for new calibre users. In order to "
60 "download this blog into an e-book, we rely on the :term:`RSS` feed of the "
61 "blog::"
62 msgstr ""
63
64 #: ../../__w/calibre/calibre/manual/news.rst:34
65 msgid ""
66 "I got the RSS URL by looking under \"Subscribe to\" at the bottom of the "
67 "blog page and choosing :guilabel:`Posts->Atom`. To make calibre download the"
68 " feeds and convert them into an e-book, you should right click the "
69 ":guilabel:`Fetch news` button and then the :guilabel:`Add a custom news "
70 "source` menu item and then the :guilabel:`New Recipe` button. A dialog "
71 "similar to that shown below should open up."
72 msgstr ""
73
74 #: ../../__w/calibre/calibre/manual/news.rst:43
75 msgid ""
76 "First enter ``Calibre Blog`` into the :guilabel:`Recipe title` field. This "
77 "will be the title of the e-book that will be created from the articles in "
78 "the above feeds."
79 msgstr ""
80
81 #: ../../__w/calibre/calibre/manual/news.rst:45
82 msgid ""
83 "The next two fields (:guilabel:`Oldest article` and :guilabel:`Max. number "
84 "of articles`) allow you some control over how many articles should be "
85 "downloaded from each feed, and they are pretty self explanatory."
86 msgstr ""
87
88 #: ../../__w/calibre/calibre/manual/news.rst:47
89 msgid ""
90 "To add the feeds to the recipe, enter the feed title and the feed URL and "
91 "click the :guilabel:`Add feed` button. Once you have added the feed, simply "
92 "click the :guilabel:`Save` button and you're done! Close the dialog."
93 msgstr ""
94
95 #: ../../__w/calibre/calibre/manual/news.rst:51
96 msgid ""
97 "To test your new :term:`recipe`, click the :guilabel:`Fetch news` button and"
98 " in the :guilabel:`Custom news sources` sub-menu click :guilabel:`calibre "
99 "Blog`. After a couple of minutes, the newly downloaded e-book of blog posts "
100 "will appear in the main library view (if you have your reader connected, it "
101 "will be put onto the reader instead of into the library). Select it and hit "
102 "the :guilabel:`View` button to read!"
103 msgstr ""
104
105 #: ../../__w/calibre/calibre/manual/news.rst:53
106 msgid ""
107 "The reason this worked so well, with so little effort is that the blog "
108 "provides *full-content* :term:`RSS` feeds, i.e., the article content is "
109 "embedded in the feed itself. For most news sources that provide news in this"
110 " fashion, with *full-content* feeds, you don't need any more effort to "
111 "convert them to e-books. Now we will look at a news source that does not "
112 "provide full content feeds. In such feeds, the full article is a webpage and"
113 " the feed only contains a link to the webpage with a short summary of the "
114 "article."
115 msgstr ""
116
117 #: ../../__w/calibre/calibre/manual/news.rst:58
118 msgid "bbc.co.uk"
119 msgstr "bbc.co.uk"
120
121 #: ../../__w/calibre/calibre/manual/news.rst:60
122 msgid "Let's try the following two feeds from *The BBC*:"
123 msgstr "*BBC* च्या खालील दोन फीडवर प्रयोग करून बघू:"
124
125 #: ../../__w/calibre/calibre/manual/news.rst:62
126 msgid ""
127 "News Front Page: "
128 "https://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml"
129 msgstr "बातम्यांचे मुख्य पान: https://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml"
130
131 #: ../../__w/calibre/calibre/manual/news.rst:63
132 msgid ""
133 "Science/Nature: "
134 "https://newsrss.bbc.co.uk/rss/newsonline_world_edition/science/nature/rss.xml"
135 msgstr ""
136
137 #: ../../__w/calibre/calibre/manual/news.rst:65
138 msgid ""
139 "Follow the procedure outlined in :ref:`calibre_blog` above to create a "
140 "recipe for *The BBC* (using the feeds above). Looking at the downloaded "
141 "e-book, we see that calibre has done a creditable job of extracting only the"
142 " content you care about from each article's webpage. However, the extraction"
143 " process is not perfect. Sometimes it leaves in undesirable content like "
144 "menus and navigation aids or it removes content that should have been left "
145 "alone, like article headings. In order, to have perfect content extraction, "
146 "we will need to customize the fetch process, as described in the next "
147 "section."
148 msgstr ""
149
150 #: ../../__w/calibre/calibre/manual/news.rst:68
151 msgid "Customizing the fetch process"
152 msgstr ""
153
154 #: ../../__w/calibre/calibre/manual/news.rst:70
155 msgid ""
156 "When you want to perfect the download process, or download content from a "
157 "particularly complex website, you can avail yourself of all the power and "
158 "flexibility of the :term:`recipe` framework. In order to do that, in the "
159 ":guilabel:`Add custom news sources` dialog, simply click the "
160 ":guilabel:`Switch to Advanced mode` button."
161 msgstr ""
162
163 #: ../../__w/calibre/calibre/manual/news.rst:72
164 msgid ""
165 "The easiest and often most productive customization is to use the print "
166 "version of the online articles. The print version typically has much less "
167 "cruft and translates much more smoothly to an e-book. Let's try to use the "
168 "print version of the articles from *The BBC*."
169 msgstr ""
170
171 #: ../../__w/calibre/calibre/manual/news.rst:75
172 msgid "Using the print version of bbc.co.uk"
173 msgstr "bbc.co.uk ची प्रकाशित आवृत्ती वापरणे"
174
175 #: ../../__w/calibre/calibre/manual/news.rst:77
176 msgid ""
177 "The first step is to look at the e-book we downloaded previously from "
178 ":ref:`bbc`. At the end of each article, in the e-book is a little blurb "
179 "telling you where the article was downloaded from. Copy and paste that URL "
180 "into a browser. Now on the article webpage look for a link that points to "
181 "the \"Printable version\". Click it to see the print version of the article."
182 " It looks much neater! Now compare the two URLs. For me they were:"
183 msgstr ""
184
185 #: ../../__w/calibre/calibre/manual/news.rst:79
186 msgid "Article URL"
187 msgstr ""
188
189 #: ../../__w/calibre/calibre/manual/news.rst:80
190 msgid "https://news.bbc.co.uk/2/hi/science/nature/7312016.stm"
191 msgstr "https://news.bbc.co.uk/2/hi/science/nature/7312016.stm"
192
193 #: ../../__w/calibre/calibre/manual/news.rst:82
194 msgid "Print version URL"
195 msgstr ""
196
197 #: ../../__w/calibre/calibre/manual/news.rst:83
198 msgid ""
199 "https://newsvote.bbc.co.uk/mpapps/pagetools/print/news.bbc.co.uk/2/hi/science/nature/7312016.stm"
200 msgstr "https://newsvote.bbc.co.uk/mpapps/pagetools/print/news.bbc.co.uk/2/hi/science/nature/7312016.stm"
201
202 #: ../../__w/calibre/calibre/manual/news.rst:85
203 msgid ""
204 "So it looks like to get the print version, we need to prefix every article "
205 "URL with:"
206 msgstr ""
207
208 #: ../../__w/calibre/calibre/manual/news.rst:87
209 msgid "newsvote.bbc.co.uk/mpapps/pagetools/print/"
210 msgstr "newsvote.bbc.co.uk/mpapps/pagetools/print/"
211
212 #: ../../__w/calibre/calibre/manual/news.rst:89
213 msgid ""
214 "Now in the :guilabel:`Advanced mode` of the Custom news sources dialog, you "
215 "should see something like (remember to select *The BBC* recipe before "
216 "switching to advanced mode):"
217 msgstr ""
218
219 #: ../../__w/calibre/calibre/manual/news.rst:94
220 msgid ""
221 "You can see that the fields from the :guilabel:`Basic mode` have been "
222 "translated to Python code in a straightforward manner. We need to add "
223 "instructions to this recipe to use the print version of the articles. All "
224 "that's needed is to add the following two lines:"
225 msgstr ""
226
227 #: ../../__w/calibre/calibre/manual/news.rst:101
228 msgid ""
229 "This is Python, so indentation is important. After you've added the lines, "
230 "it should look like:"
231 msgstr ""
232
233 #: ../../__w/calibre/calibre/manual/news.rst:106
234 msgid ""
235 "In the above, ``def print_version(self, url)`` defines a *method* that is "
236 "called by calibre for every article. ``url`` is the URL of the original "
237 "article. What ``print_version`` does is take that url and replace it with "
238 "the new URL that points to the print version of the article. To learn about "
239 "`Python <https://www.python.org>`_ see the `tutorial "
240 "<https://docs.python.org/tutorial/>`_."
241 msgstr ""
242
243 #: ../../__w/calibre/calibre/manual/news.rst:108
244 msgid ""
245 "Now, click the :guilabel:`Add/update recipe` button and your changes will be"
246 " saved. Re-download the e-book. You should have a much improved e-book. One "
247 "of the problems with the new version is that the fonts on the print version "
248 "webpage are too small. This is automatically fixed when converting to an "
249 "e-book, but even after the fixing process, the font size of the menus and "
250 "navigation bar become too large relative to the article text. To fix this, "
251 "we will do some more customization, in the next section."
252 msgstr ""
253
254 #: ../../__w/calibre/calibre/manual/news.rst:111
255 msgid "Replacing article styles"
256 msgstr ""
257
258 #: ../../__w/calibre/calibre/manual/news.rst:113
259 msgid ""
260 "In the previous section, we saw that the font size for articles from the "
261 "print version of *The BBC* was too small. In most websites, *The BBC* "
262 "included, this font size is set by means of :term:`CSS` stylesheets. We can "
263 "disable the fetching of such stylesheets by adding the line::"
264 msgstr ""
265
266 #: ../../__w/calibre/calibre/manual/news.rst:119
267 msgid "The recipe now looks like:"
268 msgstr "ही पाककृती आता अशी दिसते:"
269
270 #: ../../__w/calibre/calibre/manual/news.rst:124
271 msgid ""
272 "The new version looks pretty good. If you're a perfectionist, you'll want to"
273 " read the next section, which deals with actually modifying the downloaded "
274 "content."
275 msgstr ""
276
277 #: ../../__w/calibre/calibre/manual/news.rst:127
278 msgid "Slicing and dicing"
279 msgstr ""
280
281 #: ../../__w/calibre/calibre/manual/news.rst:129
282 msgid ""
283 "calibre contains very powerful and flexible abilities when it comes to "
284 "manipulating downloaded content. To show off a couple of these, let's look "
285 "at our old friend the :ref:`The BBC <bbc1>` recipe again. Looking at the "
286 "source code (:term:`HTML`) of a couple of articles (print version), we see "
287 "that they have a footer that contains no useful information, contained in"
288 msgstr ""
289
290 #: ../../__w/calibre/calibre/manual/news.rst:137
291 msgid "This can be removed by adding::"
292 msgstr ""
293
294 #: ../../__w/calibre/calibre/manual/news.rst:141
295 msgid ""
296 "to the recipe. Finally, lets replace some of the :term:`CSS` that we "
297 "disabled earlier, with our own :term:`CSS` that is suitable for conversion "
298 "to an e-book::"
299 msgstr ""
300
301 #: ../../__w/calibre/calibre/manual/news.rst:145
302 msgid "With these additions, our recipe has become \"production quality\"."
303 msgstr ""
304
305 #: ../../__w/calibre/calibre/manual/news.rst:147
306 msgid ""
307 "This :term:`recipe` explores only the tip of the iceberg when it comes to "
308 "the power of calibre. To explore more of the abilities of calibre we'll "
309 "examine a more complex real life example in the next section."
310 msgstr ""
311
312 #: ../../__w/calibre/calibre/manual/news.rst:150
313 msgid "Real life example"
314 msgstr ""
315
316 #: ../../__w/calibre/calibre/manual/news.rst:152
317 msgid ""
318 "A reasonably complex real life example that exposes more of the :term:`API` "
319 "of ``BasicNewsRecipe`` is the :term:`recipe` for *The New York Times*"
320 msgstr ""
321
322 #: ../../__w/calibre/calibre/manual/news.rst:238
323 msgid "We see several new features in this :term:`recipe`. First, we have::"
324 msgstr ""
325
326 #: ../../__w/calibre/calibre/manual/news.rst:242
327 msgid ""
328 "This sets the displayed time on the front page of the created e-book to be "
329 "in the format, ``Day, Day_Number Month, Year``. See :attr:`timefmt "
330 "<calibre.web.feeds.news.BasicNewsRecipe.timefmt>`."
331 msgstr ""
332
333 #: ../../__w/calibre/calibre/manual/news.rst:245
334 msgid ""
335 "Then we see a group of directives to cleanup the downloaded :term:`HTML`::"
336 msgstr ""
337
338 #: ../../__w/calibre/calibre/manual/news.rst:251
339 msgid ""
340 "These remove everything before the first ``<h1>`` tag and everything after "
341 "the first tag whose id is ``footer``. See :attr:`remove_tags "
342 "<calibre.web.feeds.news.BasicNewsRecipe.remove_tags>`, "
343 ":attr:`remove_tags_before "
344 "<calibre.web.feeds.news.BasicNewsRecipe.remove_tags_before>`, "
345 ":attr:`remove_tags_after "
346 "<calibre.web.feeds.news.BasicNewsRecipe.remove_tags_after>`."
347 msgstr ""
348
349 #: ../../__w/calibre/calibre/manual/news.rst:253
350 msgid "The next interesting feature is::"
351 msgstr ""
352
353 #: ../../__w/calibre/calibre/manual/news.rst:260
354 msgid ""
355 "``needs_subscription = True`` tells calibre that this recipe needs a "
356 "username and password in order to access the content. This causes, calibre "
357 "to ask for a username and password whenever you try to use this recipe. The "
358 "code in :meth:`calibre.web.feeds.news.BasicNewsRecipe.get_browser` actually "
359 "does the login into the NYT website. Once logged in, calibre will use the "
360 "same, logged in, browser instance to fetch all content. See `mechanize "
361 "<https://mechanize.readthedocs.io/en/latest/>`_ to understand the code in "
362 "``get_browser``."
363 msgstr ""
364
365 #: ../../__w/calibre/calibre/manual/news.rst:262
366 msgid ""
367 "The next new feature is the "
368 ":meth:`calibre.web.feeds.news.BasicNewsRecipe.parse_index` method. Its job "
369 "is to go to https://www.nytimes.com/pages/todayspaper/index.html and fetch "
370 "the list of articles that appear in *todays* paper. While more complex than "
371 "simply using :term:`RSS`, the recipe creates an e-book that corresponds very"
372 " closely to the days paper. ``parse_index`` makes heavy use of "
373 "`BeautifulSoup <https://www.crummy.com/software/BeautifulSoup/bs4/doc/>`_ to"
374 " parse the daily paper webpage. You can also use other, more modern parsers "
375 "if you dislike BeautifulSoup. calibre comes with `lxml <https://lxml.de/>`_ "
376 "and `html5lib <https://github.com/html5lib/html5lib-python>`_, which are the"
377 " recommended parsers. To use them, replace the call to ``index_to_soup()`` "
378 "with the following::"
379 msgstr ""
380
381 #: ../../__w/calibre/calibre/manual/news.rst:283
382 msgid ""
383 "The final new feature is the "
384 ":meth:`calibre.web.feeds.news.BasicNewsRecipe.preprocess_html` method. It "
385 "can be used to perform arbitrary transformations on every downloaded HTML "
386 "page. Here it is used to bypass the ads that the nytimes shows you before "
387 "each article."
388 msgstr ""
389
390 #: ../../__w/calibre/calibre/manual/news.rst:286
391 msgid "Tips for developing new recipes"
392 msgstr "नवीन पाककृत्या विकसित करण्यास टिप"
393
394 #: ../../__w/calibre/calibre/manual/news.rst:288
395 msgid ""
396 "The best way to develop new recipes is to use the command line interface. "
397 "Create the recipe using your favorite Python editor and save it to a file "
398 "say :file:`myrecipe.recipe`. The `.recipe` extension is required. You can "
399 "download content using this recipe with the command::"
400 msgstr ""
401
402 #: ../../__w/calibre/calibre/manual/news.rst:292
403 msgid ""
404 "The command :command:`ebook-convert` will download all the webpages and save"
405 " them to the EPUB file :file:`myrecipe.epub`. The ``-vv`` option makes "
406 "ebook-convert spit out a lot of information about what it is doing. The "
407 ":option:`ebook-convert-recipe-input --test` option makes it download only a "
408 "couple of articles from at most two feeds. In addition, ebook-convert will "
409 "put the downloaded HTML into the ``debug/input`` folder, where ``debug`` is "
410 "the folder you specified in the :option:`ebook-convert --debug-pipeline` "
411 "option."
412 msgstr ""
413
414 #: ../../__w/calibre/calibre/manual/news.rst:300
415 msgid ""
416 "Once the download is complete, you can look at the downloaded :term:`HTML` "
417 "by opening the file :file:`debug/input/index.html` in a browser. Once you're"
418 " satisfied that the download and preprocessing is happening correctly, you "
419 "can generate e-books in different formats as shown below::"
420 msgstr ""
421
422 #: ../../__w/calibre/calibre/manual/news.rst:307
423 msgid ""
424 "If you're satisfied with your recipe, and you feel there is enough demand to"
425 " justify its inclusion into the set of built-in recipes, post your recipe in"
426 " the `calibre recipes forum "
427 "<https://www.mobileread.com/forums/forumdisplay.php?f=228>`_ to share it "
428 "with other calibre users."
429 msgstr ""
430
431 #: ../../__w/calibre/calibre/manual/news.rst:310
432 msgid ""
433 "On macOS, the command line tools are inside the calibre bundle, for example,"
434 " if you installed calibre in :file:`/Applications` the command line tools "
435 "are in :file:`/Applications/calibre.app/Contents/MacOS/`."
436 msgstr ""
437
438 #: ../../__w/calibre/calibre/manual/news.rst:316
439 msgid ":doc:`generated/en/ebook-convert`"
440 msgstr ":doc:`generated/mr/ebook-convert`"
441
442 #: ../../__w/calibre/calibre/manual/news.rst:317
443 msgid "The command line interface for all e-book conversion."
444 msgstr ""
445
446 #: ../../__w/calibre/calibre/manual/news.rst:321
447 msgid "Further reading"
448 msgstr ""
449
450 #: ../../__w/calibre/calibre/manual/news.rst:323
451 msgid ""
452 "To learn more about writing advanced recipes using some of the facilities, "
453 "available in ``BasicNewsRecipe`` you should consult the following sources:"
454 msgstr ""
455
456 #: ../../__w/calibre/calibre/manual/news.rst:325
457 msgid ":ref:`API documentation <news_recipe>`"
458 msgstr ""
459
460 #: ../../__w/calibre/calibre/manual/news.rst:326
461 msgid ""
462 "Documentation of the ``BasicNewsRecipe`` class and all its important methods"
463 " and fields."
464 msgstr ""
465
466 #: ../../__w/calibre/calibre/manual/news.rst:328
467 msgid ""
468 "`BasicNewsRecipe "
469 "<https://github.com/kovidgoyal/calibre/blob/master/src/calibre/web/feeds/news.py>`_"
470 msgstr ""
471
472 #: ../../__w/calibre/calibre/manual/news.rst:329
473 msgid "The source code of ``BasicNewsRecipe``"
474 msgstr ""
475
476 #: ../../__w/calibre/calibre/manual/news.rst:331
477 msgid ""
478 "`Built-in recipes "
479 "<https://github.com/kovidgoyal/calibre/tree/master/recipes>`_"
480 msgstr ""
481
482 #: ../../__w/calibre/calibre/manual/news.rst:332
483 msgid "The source code for the built-in recipes that come with calibre"
484 msgstr ""
485
486 #: ../../__w/calibre/calibre/manual/news.rst:334
487 msgid ""
488 "`The calibre recipes forum "
489 "<https://www.mobileread.com/forums/forumdisplay.php?f=228>`_"
490 msgstr "`कॅलिबर पाककृतींचे फोरम <https://www.mobileread.com/forums/forumdisplay.php?f=228>`_"
491
492 #: ../../__w/calibre/calibre/manual/news.rst:335
493 msgid "Lots of knowledgeable calibre recipe writers hang out here."
494 msgstr ""
495
496 #: ../../__w/calibre/calibre/manual/news.rst:339
497 msgid "API documentation"
498 msgstr ""