Debian Codegraph @

translations/manual/ms/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 # abuyop <[email protected]>, 2015
7 # abuyop <[email protected]>, 2015-2019
8 msgid ""
9 msgstr ""
10 "Project-Id-Version: calibre\n"
11 "Report-Msgid-Bugs-To: \n"
12 "POT-Creation-Date: 2026-02-17 16:44+0000\n"
13 "PO-Revision-Date: 2014-06-17 08:34+0000\n"
14 "Last-Translator: abuyop <[email protected]>, 2015-2019\n"
15 "Language-Team: Malay (http://app.transifex.com/calibre/calibre/language/ms/)\n"
16 "MIME-Version: 1.0\n"
17 "Content-Type: text/plain; charset=UTF-8\n"
18 "Content-Transfer-Encoding: 8bit\n"
19 "Language: ms\n"
20 "Plural-Forms: nplurals=1; plural=0;\n"
21
22 #: ../../../__w/calibre/calibre/manual/news.rst:4
23 msgid "Adding your favorite news website"
24 msgstr "Menambah laman sesawang berita kegemaran anda"
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 "calibre mempunyai bingkai kerja yang hebat, fleksibel dan mudah digunakan untuk memuat turun berita dari Internet dan menukar ia menjadi e-buku. Yang berikut akan menunjukkan kepada anda, dengan contoh bagaimana hendak dapatkan berita dari pelbagai laman sesawang."
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 "Untuk memahami bagaimana hendak guna bingkai kerja, ikuti contoh yang tersenarai tertib di bawah:"
38
39 #: ../../../__w/calibre/calibre/manual/news.rst:15
40 msgid "Completely automatic fetching"
41 msgstr "Pemerolehan automatik sepenuhnya"
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 "Jika sumber berita anda adalah ringkas, calibre boleh mendapatkannya dengan sepenuhnya secara automatik, apa yang anda perlu sediakan adalah URL. calibre menghimpun semua maklumat yang diperlukan untuk memuat turun sumber berita dalam bentuk :term:`resepi`. Untuk memberitahu calibre berkenaan sumber beritah, anda perlu cipta :term:`resepi` untuknya. Ok, mari kita lihat beberapa contoh yang disediakan:"
51
52 #: ../../../__w/calibre/calibre/manual/news.rst:26
53 msgid "The calibre blog"
54 msgstr "Blog calibre"
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 "Blog calibre adalah blog pos yang menjelaskan banyak fitur calibre yang berguna dalam cara yang mudah dan boleh dicapai untuk pengguna baru calibre. Untuk memuat turun blog ini menjadi e-buku, kami bergantung pada suapan :term:`RSS` blog::"
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 "Saya perolehi URL RSS dengan meneliti \"Subscribe to\" di bahagian bawah laman blog dan pilih :guilabel:`Posts->Atom`. Supaya calibre dapat memuat turun suapan dan menukarkanya menjadi e-buku, anda boleh klik-kanan butang :guilabel:`Dapatkan berita` kemudian item menu :guilabel:`Tambah sumber berita suai` dan kemudian butang :guilabel:`Resepi Baharu`. Satu dialog serupa dengan yang telah ditunjukkan akan dibuka."
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 "Dua medan berikutnya (:guilabel:`Oldest article` dan :guilabel:`Max. number of articles`) membolehkan anda kawal berapa banyak artikel yang patut dimuat turun dari setiap suapan."
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 "Untuk menambah suapan ke dalam resepi, masukkan tajuk suapan dan URL suapan kemudian klik butang :guilabel:`Tambah suapan`. Selepas itu, hanya klik butang :guilabel:`Simpan` dan kerja anda telah selesai! Tutup dialog."
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 "Untuk menguji :term:`resepi` baharu anda, klik butang :guilabel:`Dapatkan berita` dan pada sub-menu :guilabel:`Suai sumber baharu` klik :guilabel:`calibre Blog`. Selepas beberapa minit, e-buku baharu dimuat turun akan muncul dalam paparan pustaka utama (jika anda memiliki pembaca yang telah bersambung, ia akan dimasukkan ke dalam pembaca selain dari ke dalam pustaka). Pilih e-buku tersebut dan tekan butang :guilabel:`Lihat' untuk membaca!"
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 "Sebab apa proses ini menghasilkan e-buku yang baik, kerana blog ini menyediakan suapan :term:`RSS` dengan *kandungan-lengkap* iaitu, kandungan artikel sebenar terbenam dalam suapan itu sendiri. Bagi kebanyakan sumber berita yang menyediakan berita dengan suapan dengan *kandungan-lengkap*, anda tidak perlu buat lebih kerja untuk menukar ia menjadi e-buku. Sekarang kita lihat sumber berita yang tidak menyediakan suapan dengan kandungan-lengkap. Suapan sebegini, artikel lengkap berada dalam laman sesawang dan suapan hanya menyediakan pautan ke laman sesawang dengan ringkasan pendek artikel berkenaan."
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 ""
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 "Laman Muka Hadapan Berita: 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 "Sains/Alam: https://newsrss.bbc.co.uk/rss/newsonline_world_edition/science/nature/rss.xml"
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 "Ikuti prosedur yang digariskan dalam :ref:`calibre_blog` seperti di atas untuk menghasilkan resepi untuk *The BBC* (menggunakan suapan tersebut). Berdasarkan pada e-buku yang dimuat turun, didapati calibre telah melakukan kerja yang bagus hanya mengekstrak kandungan yang dikehendaki bagi setiap artikel dalam laman sesawang. Walaubagaimanapun, proses pengekstrakan ini tidaklah seratus peratus sempurna. Kadangkala ia meninggalkan kandungan yang tidak dikehendaki seperti menu dan bantuan navigasi atau ia telah buang kandungan yang sepatutnya diambil seperti tajuk artikel. Untuk memastikan pengekstrakan kandungan menepati kehendak anda, kita perlu suaikan proses mendapatkan artikel, yang dijelaskan pada seksyen yang berikutnya."
149
150 #: ../../../__w/calibre/calibre/manual/news.rst:68
151 msgid "Customizing the fetch process"
152 msgstr "Penyuaian proses mendapatkan artikel"
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 "Bila anda mahukan proses muat turun yang sempurna, atau muat turun kandungan dari laman sesawang yang kompleks, anda perlu biasakan dengan bingkai kerja :term:`resepi` yang fleksibel. Untuk membuatnya, pada dialog :guilabel:`Tambah sumber berita suai`, hanya klik butang :guilabel:`Tukar ke mod Lanjutan`."
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 "Penyuaian termudah dan paling produktif ialah dengan menggunakan versi cetak artikel atas-talian. Versi cetak biasanya kurang kompleks dan mudah diterjemah menjadi e-buku. Cuba guna versi cetak daripada *The BBC*."
170
171 #: ../../../__w/calibre/calibre/manual/news.rst:75
172 msgid "Using the print version of bbc.co.uk"
173 msgstr "Menggunakan versi cetak 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 "Langkah pertama adalah melihat e-buku yang telah dimuat turun sebelum ini daripada :ref:`bbc`. Dipenghujung setiap artikel, dalam e-buku terdapat lokasi artikel dimuat turun. Salin dan tampal URL tersebut ke dalam pelayar. Sekarang laman sesawang artikel akan menuju ke \"Versi Boleh Cetak\". Klik padanya untuk melihat versi cetak artikel. Ia kelihatan lebih kemas! Sekarang bandingkan kedua-dua URL yang mana:"
184
185 #: ../../../__w/calibre/calibre/manual/news.rst:79
186 msgid "Article URL"
187 msgstr "URL Artikel"
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 "URL versi cetak"
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 "Jika mahukan versi cetak, kita perlu tambah setiap URL artikel dengan:"
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 "Anda dapati medan dari :guilabel:`Mod asas` telah diterjemah dalam kod bahasa Python. Kita perlu tambah arahan ke dalam resepi ini supaya dapat guna versi cetak artikel. Apa yang diperlukan adalah dengan menambah dua baris berikut:"
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 "Ini adalah bahasa Python, oleh itu penggunaan indentasi adalah penting. Selepas anda menambah baris, ia sepatutnya kelihatan seperti berikut:"
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 "Menggantikan gaya artikel"
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 "Dalam seksyen terdahulu, kita dapati saiz fon artikel dalam versi cetak *The BBC* terlalu kecil. Dalam kebanyakan laman sesawang, *The BBC* juga, saiz fon ini ditetapkan melalui lembaran gaya :term:`CSS`. Kita boleh lumpuhkan pengambilan lembaran gaya tersebut dengan menambah baris::"
265
266 #: ../../../__w/calibre/calibre/manual/news.rst:119
267 msgid "The recipe now looks like:"
268 msgstr "Resepi kini kelihatan seperti:"
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 "Versi baharu kelihatan menarik. Jika anda mementingkan kesempurnaan, anda perlu baca seksyen berikutnya yang melibatkan pengubahsuaian sebenar kandungan muat turun."
276
277 #: ../../../__w/calibre/calibre/manual/news.rst:127
278 msgid "Slicing and dicing"
279 msgstr "Menghiris dan mencincang"
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 "calibre memiliki keupayaan yang hebat dan fleksibel bila memanipulasikan kandungan muat turun. Sebagai contoh, kita rujuk kembali :ref:`The BBC <bbc1>` sekali lagi. Berdasarkan pada kod sumber (:term:`HTML`) beberapa artikel (versi cetak), didapati mereka mempunyai pengkaki yang tidak diperlukan, terkandung didalamnya"
289
290 #: ../../../__w/calibre/calibre/manual/news.rst:137
291 msgid "This can be removed by adding::"
292 msgstr "Ia boleh dibuang dengan menambah::"
293
294 #: ../../../__w/calibre/calibre/manual/news.rst:141
295 msgid ""
296 "to the recipe. Finally, let's 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 ":term:`Resepi` ini hanya menjelajah sebahagian kecil sahaja bila dibandingkan kelebihan yang ada pada calibre. Untuk menjelajah lebih mendalam keupayaan calibre kita perlu menyelidiki contoh sebenar yang lebih kompleks pada seksyen berikutnya."
311
312 #: ../../../__w/calibre/calibre/manual/news.rst:150
313 msgid "Real life example"
314 msgstr "Contoh sebenar"
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 "Contoh sebenar yang benar-benar kompleks yang mendedahkan lebih :term:`API` ``BasicNewsRecipe`` adalah :term:`resepi` untuk *The New York Times*"
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 "Kami melihat beberapa fitur baharu dalam :term:`resepi` ini. Mula-mula, kita perlu::"
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 "Ini tetapkan masa paparan pada muka hadapan e-buku yang dihasilkan dalam format, ``Day, Day_Number Month, Year``. Sila rujuk :attr:`timefmt <calibre.web.feeds.news.BasicNewsRecipe.timefmt>`."
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 "Kemudian kita lihat sekumpulan arahan untuk membersihkan :term:`HTML` dimuat turun::"
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 "Ia membuang segalanya sebelum ``<h1>`` tag pertama dan segalanya selepas tag pertama yang mana id ialah ``footer``. Sila rujuk :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>`."
348
349 #: ../../../__w/calibre/calibre/manual/news.rst:253
350 msgid "The next interesting feature is::"
351 msgstr "Fitur menarik berikutnya ialah::"
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 "``needs_subscription = True`` memberitahui calibre bahawa resepi ini perlukan nama pengguna dan kata laluan supaya ia dapat capai kandungan tersebut. Oleh itu, calibre meminta nama pengguna dan kata laluan bila anda cuba guna resepi ini. Kod di dalam :meth:`calibre.web.feeds.news.BasicNewsRecipe.get_browser` sebenarnya mendaftar masuk ke laman sesawang the NYT. Seusai mendaftar masuk, calibre akan menggunakannya semula untuk dapatkan semua kandungan. Sila rujuk `mechanize <https://mechanize.readthedocs.io/en/latest/>`_ untuk memahami kod di dalam ``get_browser``."
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 *today's* paper. While more complex than"
371 " simply using :term:`RSS`, the recipe creates an e-book that corresponds "
372 "very closely to the day's 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 "Fitur baharu terakhir ialah kaedah :meth:`calibre.web.feeds.news.BasicNewsRecipe.preprocess_html`. Ia boleh digunakan untuk melakukan transformasi arbitari pada setiap halaman HTML dimuat turun. Di sini ia digunakan untuk melangkaui iklan yang mana nytimes paparkan sebelum setiap artikel."
389
390 #: ../../../__w/calibre/calibre/manual/news.rst:286
391 msgid "Tips for developing new recipes"
392 msgstr "Petua untuk membangunkan resepi baharu"
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 "Cara terbaik membangunkan resepi baharu adalah dengan penggunaan antaramuka baris perintah. Cipta resepi mengguna penyunting Python kegemaran anda dan simpan ia ke dalam fail seperti :file:`resepisaya.recipe`. Sambungan `.recipe` diperlukan. Kemudian anda boleh muat turun kandungan menggunakan resepi dengan perintah::"
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 "Selepas muat turun selesai, anda boleh lihat :term:`HTML` dimuat turun dengan membuka fail :file:`debug/input/index.html` di dalam pelayar. Jika anda puashati dengan muat turun dan pra-pemprosesan yang berlaku sepertimana yang diharapkan, anda boleh jana e-buku dalam format berlainan seperti di bawah::"
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 "Jika anda puashati dengan resepi anda, dan anda dapati masih terdapat ruang untuk ruang penambahbaikan dalam set resepi terbina-dalam, poskan resepi anda ke `forum resepi calibre recipes <https://www.mobileread.com/forums/forumdisplay.php?f=228>`_ untuk berkongsi ia dengan lain-lain pengguna calibre."
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 "Pada MacOS, alat baris perintah disediakan dalam berkas calibre, contohnya, jika anda memasang calibre di dalam :file:`/Applications` alat baris perintah berada di dalam :file:`/Applications/calibre.app/Contents/MacOS/`."
437
438 #: ../../../__w/calibre/calibre/manual/news.rst:316
439 msgid ":doc:`generated/en/ebook-convert`"
440 msgstr ":doc:`generated/ms/ebook-convert`"
441
442 #: ../../../__w/calibre/calibre/manual/news.rst:317
443 msgid "The command line interface for all e-book conversion."
444 msgstr "Antaramuka baris perintah untuk semua pertukaran format e-buku."
445
446 #: ../../../__w/calibre/calibre/manual/news.rst:321
447 msgid "Further reading"
448 msgstr "Bacaan lanjutan"
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 "Untuk mengetahui lebih lanjut berkenaan penulisan resepi lanjutan dengan menggunakan beberapa fasiliti, yang tersedia dalam ``BasicNewsRecipe`` anda perlu ke beberapa sumber berikut:"
455
456 #: ../../../__w/calibre/calibre/manual/news.rst:325
457 msgid ":ref:`API documentation <news_recipe>`"
458 msgstr ":ref:`Dokumentasi API<news_recipe>`"
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 "Dokumentasi kelas ``BasicNewsRecipe`` dan semua kaedah dan medan pentingnya."
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 "`BasicNewsRecipe <https://github.com/kovidgoyal/calibre/blob/master/src/calibre/web/feeds/news.py>`_"
471
472 #: ../../../__w/calibre/calibre/manual/news.rst:329
473 msgid "The source code of ``BasicNewsRecipe``"
474 msgstr "Kod sumber ``BasicNewsRecipe``"
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 "`Resepi terbina-dalam <https://github.com/kovidgoyal/calibre/tree/master/recipes>`_"
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 "Kod sumber untuk resepi terbina-dalam yang disertakan dengan calibre"
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 "`Forum resepi calibre <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 "Lebih banyak penulis resepi calibre yang berpengetahuan datang ke sini."
495
496 #: ../../../__w/calibre/calibre/manual/news.rst:339
497 msgid "API documentation"
498 msgstr "Dokumentasi API"