Debian Codegraph @

translations/manual/es_MX/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 msgid ""
7 msgstr ""
8 "Project-Id-Version: calibre\n"
9 "Report-Msgid-Bugs-To: \n"
10 "POT-Creation-Date: 2026-02-17 16:44+0000\n"
11 "PO-Revision-Date: 2014-06-17 08:34+0000\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: Spanish (Mexico) (http://app.transifex.com/calibre/calibre/language/es_MX/)\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17 "Language: es_MX\n"
18 "Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
19
20 #: ../../../__w/calibre/calibre/manual/news.rst:4
21 msgid "Adding your favorite news website"
22 msgstr "Añadir su sitio de noticias favorito"
23
24 #: ../../../__w/calibre/calibre/manual/news.rst:6
25 msgid ""
26 "calibre has a powerful, flexible and easy-to-use framework for downloading "
27 "news from the Internet and converting it into an e-book. The following will "
28 "show you, by means of examples, how to get news from various websites."
29 msgstr "calibre tiene un estructura potente, flexible y fácil de usar para descargar noticias de Internet y convertirlas en un libro electrónico. A continuación se le mostrará, a través de ejemplos, cómo acceder a las noticias de varios sitios de Internet."
30
31 #: ../../../__w/calibre/calibre/manual/news.rst:8
32 msgid ""
33 "To gain an understanding of how to use the framework, follow the examples in"
34 " the order listed below:"
35 msgstr "Para comprender mejor cómo utilizar la estructura, siga los ejemplos en el orden indicado a continuación:"
36
37 #: ../../../__w/calibre/calibre/manual/news.rst:15
38 msgid "Completely automatic fetching"
39 msgstr "Recopilación totalmente automática"
40
41 #: ../../../__w/calibre/calibre/manual/news.rst:17
42 msgid ""
43 "If your news source is simple enough, calibre may well be able to fetch it "
44 "completely automatically, all you need to do is provide the URL. calibre "
45 "gathers all the information needed to download a news source into a "
46 ":term:`recipe`. In order to tell calibre about a news source, you have to "
47 "create a :term:`recipe` for it. Let's see some examples:"
48 msgstr "Si la fuente de noticias es suficientemente simple, es posible que calibre sea capaz de obtener las noticias de forma totalmente automática, todo lo que tiene que hacer es proporcionar el URL. calibre reúne toda la información necesaria para descargar una fuente de noticias en una :term:`fórmula`. Si quiere añadir una fuente de noticias en calibre, debe crear una :term:`fórmula` para ello. Veamos algunos ejemplos:"
49
50 #: ../../../__w/calibre/calibre/manual/news.rst:26
51 msgid "The calibre blog"
52 msgstr "El blog de calibre"
53
54 #: ../../../__w/calibre/calibre/manual/news.rst:28
55 msgid ""
56 "The calibre blog is a blog of posts that describe many useful calibre "
57 "features in a simple and accessible way for new calibre users. In order to "
58 "download this blog into an e-book, we rely on the :term:`RSS` feed of the "
59 "blog::"
60 msgstr "El blog de calibre es un blog de ​​mensajes que describen varias características útiles de calibre de una manera sencilla y accesible para los nuevos usuarios de calibre. Para descargar este blog en un libro electrónico, nos basamos en el :term:`RSS` del blog::"
61
62 #: ../../../__w/calibre/calibre/manual/news.rst:34
63 msgid ""
64 "I got the RSS URL by looking under \"Subscribe to\" at the bottom of the "
65 "blog page and choosing :guilabel:`Posts->Atom`. To make calibre download the"
66 " feeds and convert them into an e-book, you should right click the "
67 ":guilabel:`Fetch news` button and then the :guilabel:`Add a custom news "
68 "source` menu item and then the :guilabel:`New Recipe` button. A dialog "
69 "similar to that shown below should open up."
70 msgstr "Obtenemos la dirección URL del RSS de la sección «Subscribe to» al final de la página del blog, eligiendo «Posts > Atom». Para hacer que calibre descargue los canales y los convierta en un libro electrónico, debe pulsar con el botón derecho en el botón :guilabel:`Obtener noticias` y luego el elemento del menú :guilabel:`Añadir una nueva fuente de noticias` y el botón :guilabel:`Nueva fórmula`. Se abrirá un cuadro de diálogo similar al que se muestra a continuación."
71
72 #: ../../../__w/calibre/calibre/manual/news.rst:43
73 msgid ""
74 "First enter ``Calibre Blog`` into the :guilabel:`Recipe title` field. This "
75 "will be the title of the e-book that will be created from the articles in "
76 "the above feeds."
77 msgstr "Primero introduzca ``Blog de calibre`` dentro del campo :guilabel:`Título de la fórmula`. Éste será el título del libro electrónico que se creará a partir de los artículos provenientes de los canales anteriores."
78
79 #: ../../../__w/calibre/calibre/manual/news.rst:45
80 msgid ""
81 "The next two fields (:guilabel:`Oldest article` and :guilabel:`Max. number "
82 "of articles`) allow you some control over how many articles should be "
83 "downloaded from each feed, and they are pretty self explanatory."
84 msgstr "Los dos campos siguientes (:guilabel:`Artículo más antiguo` y :guilabel:`Número máximo de artículos por canal`) le permiten controlar cuántos artículos se descargan desde cada canal, ambos son suficientemente explícitos."
85
86 #: ../../../__w/calibre/calibre/manual/news.rst:47
87 msgid ""
88 "To add the feeds to the recipe, enter the feed title and the feed URL and "
89 "click the :guilabel:`Add feed` button. Once you have added the feed, simply "
90 "click the :guilabel:`Save` button and you're done! Close the dialog."
91 msgstr "Para añadir los canales a la fórmula, introduzca el título y dirección URL del canal y pulse en el botón :guilabel:`Añadir canal`. Una vez añadido el canal, simplemente pulse en el botón :guilabel:`Añadir o actualizar fórmula` ¡y ya está! Cierre el cuadro de diálogo."
92
93 #: ../../../__w/calibre/calibre/manual/news.rst:51
94 msgid ""
95 "To test your new :term:`recipe`, click the :guilabel:`Fetch news` button and"
96 " in the :guilabel:`Custom news sources` sub-menu click :guilabel:`calibre "
97 "Blog`. After a couple of minutes, the newly downloaded e-book of blog posts "
98 "will appear in the main library view (if you have your reader connected, it "
99 "will be put onto the reader instead of into the library). Select it and hit "
100 "the :guilabel:`View` button to read!"
101 msgstr "Para probar la nueva :term:`fórmula`, pulse en el botón :guilabel:`Obtener noticias`, en el submenú :guilabel:`Personalizado`, y en :guilabel:`Blog de calibre`. En un par de minutos, el nuevo libro electrónico descargado con las entradas al blog aparecerá en la biblioteca principal (si tiene conectado un dispositivo de lectura, aparecerá en él en vez de la biblioteca). Selecciónelo y pulse en el botón :guilabel:`Mostrar` para leerlo."
102
103 #: ../../../__w/calibre/calibre/manual/news.rst:53
104 msgid ""
105 "The reason this worked so well, with so little effort is that the blog "
106 "provides *full-content* :term:`RSS` feeds, i.e., the article content is "
107 "embedded in the feed itself. For most news sources that provide news in this"
108 " fashion, with *full-content* feeds, you don't need any more effort to "
109 "convert them to e-books. Now we will look at a news source that does not "
110 "provide full content feeds. In such feeds, the full article is a webpage and"
111 " the feed only contains a link to the webpage with a short summary of the "
112 "article."
113 msgstr "La razón por la que esto funcionó tan bien, con tan poco esfuerzo, es que el blog proporciona una fuente :term:`RSS` con el *contenido completo*, es decir, el contenido del artículo está incrustado en el propio canal de información. Para la mayoría de las fuentes de noticias que proporcionan noticias de esta manera, con un canal RSS con el *contenido completo*, no necesitará mayores esfuerzos para convertirlas en libros electrónicos. Ahora veremos en una fuente de noticias que no proporciona un canal de noticias RSS con el contenido completo. En dichos canales, el artículo completo es una página de Internet y el canal de información RSS sólo contiene un enlace a la página con un breve resumen del artículo."
114
115 #: ../../../__w/calibre/calibre/manual/news.rst:58
116 msgid "bbc.co.uk"
117 msgstr ""
118
119 #: ../../../__w/calibre/calibre/manual/news.rst:60
120 msgid "Let's try the following two feeds from *The BBC*:"
121 msgstr "Vamos a probar los siguentes dos canales de *The BBC*:"
122
123 #: ../../../__w/calibre/calibre/manual/news.rst:62
124 msgid ""
125 "News Front Page: "
126 "https://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml"
127 msgstr "Portal de noticias: https://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml"
128
129 #: ../../../__w/calibre/calibre/manual/news.rst:63
130 msgid ""
131 "Science/Nature: "
132 "https://newsrss.bbc.co.uk/rss/newsonline_world_edition/science/nature/rss.xml"
133 msgstr "Ciencia y naturaleza: https://newsrss.bbc.co.uk/rss/newsonline_world_edition/science/nature/rss.xml"
134
135 #: ../../../__w/calibre/calibre/manual/news.rst:65
136 msgid ""
137 "Follow the procedure outlined in :ref:`calibre_blog` above to create a "
138 "recipe for *The BBC* (using the feeds above). Looking at the downloaded "
139 "e-book, we see that calibre has done a creditable job of extracting only the"
140 " content you care about from each article's webpage. However, the extraction"
141 " process is not perfect. Sometimes it leaves in undesirable content like "
142 "menus and navigation aids or it removes content that should have been left "
143 "alone, like article headings. In order, to have perfect content extraction, "
144 "we will need to customize the fetch process, as described in the next "
145 "section."
146 msgstr "Siga el procedimiento descrito anteriormente en :ref:`calibre_blog` para crear una fórmula para *La BBC* (usando los canales RSS mencionados más arriba). Al examinar el libro electrónico descargado, vemos que calibre ha hecho un trabajo encomiable al extraer sólo el contenido que significativo de la página de Internet de cada artículo. Sin embargo, el proceso de extracción no es perfecto. A veces quedan contenidos no deseados como los menús y las ayudas a la navegación o se elimina contenido que debería haber sido mantenido, como las cabeceras de los artículos. Para que la extracción de contenido sea perfecta, tendremos que personalizar el proceso de Obtención, como se describe en la siguiente sección."
147
148 #: ../../../__w/calibre/calibre/manual/news.rst:68
149 msgid "Customizing the fetch process"
150 msgstr "Personalizar el proceso de obtención"
151
152 #: ../../../__w/calibre/calibre/manual/news.rst:70
153 msgid ""
154 "When you want to perfect the download process, or download content from a "
155 "particularly complex website, you can avail yourself of all the power and "
156 "flexibility of the :term:`recipe` framework. In order to do that, in the "
157 ":guilabel:`Add custom news sources` dialog, simply click the "
158 ":guilabel:`Switch to Advanced mode` button."
159 msgstr "Cuando desea perfeccionar el proceso de descarga, o descargar el contenido de un sitio de Internet particularmente complejo, puede servirse de toda la potencia y flexibilidad de la estructura de una :term:`fórmula`. Con ese fin, en el cuadro de diálogo :guilabel:`Añadir nueva fuente de noticias`, simplemente pulse en el botón :guilabel:`Cambiar a modo avanzado`."
160
161 #: ../../../__w/calibre/calibre/manual/news.rst:72
162 msgid ""
163 "The easiest and often most productive customization is to use the print "
164 "version of the online articles. The print version typically has much less "
165 "cruft and translates much more smoothly to an e-book. Let's try to use the "
166 "print version of the articles from *The BBC*."
167 msgstr "La personalización más fácil y a menudo más productiva es el uso de la versión para imprimir de los artículos en línea. La versión para imprimir normalmente tiene mucho menos contenido superfluo y se transforma de maner más fluida en un libro electrónico. Vamos a tratar de utilizar la versión impresa de los artículos de *La BBC*."
168
169 #: ../../../__w/calibre/calibre/manual/news.rst:75
170 msgid "Using the print version of bbc.co.uk"
171 msgstr "Usar la versión para imprimir de bbc.co.uk"
172
173 #: ../../../__w/calibre/calibre/manual/news.rst:77
174 msgid ""
175 "The first step is to look at the e-book we downloaded previously from "
176 ":ref:`bbc`. At the end of each article, in the e-book is a little blurb "
177 "telling you where the article was downloaded from. Copy and paste that URL "
178 "into a browser. Now on the article webpage look for a link that points to "
179 "the \"Printable version\". Click it to see the print version of the article."
180 " It looks much neater! Now compare the two URLs. For me they were:"
181 msgstr "El primer paso es buscar en el libro electrónico que descargamos previamente de :ref:`bbc`. Al final de cada artículo, en el libro electrónico, hay una pequeña reseña que dice desde dónde ha sido descargado el artículo. Copie y pegue la dirección URL en un navegador. Ahora en la página de Internet del artículo, busque un enlace que apunta a la «Versión para imprimir». Pulse en él para ver la versión para imprimir del artículo. ¡Es mucho más limpia! Ahora compare ambas direcciones URL. En mi caso eran:"
182
183 #: ../../../__w/calibre/calibre/manual/news.rst:79
184 msgid "Article URL"
185 msgstr ""
186
187 #: ../../../__w/calibre/calibre/manual/news.rst:80
188 msgid "https://news.bbc.co.uk/2/hi/science/nature/7312016.stm"
189 msgstr "https://news.bbc.co.uk/2/hi/science/nature/7312016.stm"
190
191 #: ../../../__w/calibre/calibre/manual/news.rst:82
192 msgid "Print version URL"
193 msgstr "URL de la versión para imprimir"
194
195 #: ../../../__w/calibre/calibre/manual/news.rst:83
196 msgid ""
197 "https://newsvote.bbc.co.uk/mpapps/pagetools/print/news.bbc.co.uk/2/hi/science/nature/7312016.stm"
198 msgstr "https://newsvote.bbc.co.uk/mpapps/pagetools/print/news.bbc.co.uk/2/hi/science/nature/7312016.stm"
199
200 #: ../../../__w/calibre/calibre/manual/news.rst:85
201 msgid ""
202 "So it looks like to get the print version, we need to prefix every article "
203 "URL with:"
204 msgstr "Así que parece que para obtener la versión para imprimir, tenemos que poner delante de cada URL de artículo:"
205
206 #: ../../../__w/calibre/calibre/manual/news.rst:87
207 msgid "newsvote.bbc.co.uk/mpapps/pagetools/print/"
208 msgstr ""
209
210 #: ../../../__w/calibre/calibre/manual/news.rst:89
211 msgid ""
212 "Now in the :guilabel:`Advanced mode` of the Custom news sources dialog, you "
213 "should see something like (remember to select *The BBC* recipe before "
214 "switching to advanced mode):"
215 msgstr "Ahora en el :guilabel:`Modo avanzado` cuadro de diálogo de nuevas fuentes de noticias, debería ver algo así (recuerde seleccionar la fórmula *La BBC* antes de cambiar al modo avanzado):"
216
217 #: ../../../__w/calibre/calibre/manual/news.rst:94
218 msgid ""
219 "You can see that the fields from the :guilabel:`Basic mode` have been "
220 "translated to Python code in a straightforward manner. We need to add "
221 "instructions to this recipe to use the print version of the articles. All "
222 "that's needed is to add the following two lines:"
223 msgstr "Se puede ver que los campos del :guilabel:`Modo básico` han sido traducidos a código Python de una manera directa. Necesitamos añadir instrucciones para que esta fórmula utilice la versión para imprimir de los artículos. Todo lo que se necesita es añadir las siguientes dos líneas:"
224
225 #: ../../../__w/calibre/calibre/manual/news.rst:101
226 msgid ""
227 "This is Python, so indentation is important. After you've added the lines, "
228 "it should look like:"
229 msgstr "Esto es Python, por lo que la sangría es importante. Después de añadir las líneas, debe ser algo así:"
230
231 #: ../../../__w/calibre/calibre/manual/news.rst:106
232 msgid ""
233 "In the above, ``def print_version(self, url)`` defines a *method* that is "
234 "called by calibre for every article. ``url`` is the URL of the original "
235 "article. What ``print_version`` does is take that url and replace it with "
236 "the new URL that points to the print version of the article. To learn about "
237 "`Python <https://www.python.org>`_ see the `tutorial "
238 "<https://docs.python.org/tutorial/>`_."
239 msgstr "En lo anterior, ``def print_version(self, url)`` define un *método* que es utilizado por calibre para cada artículo. ``url`` es la dirección URL del artículo original. Lo que hace ``print_version`` es tomar la dirección URL y sustituirla por la nueva dirección URL que apunta a la versión para imprimir del artículo. Para aprender sobre `Python <https://www.python.org>`_ vea el `cursillo <https://docs.python.org/tutorial/>`_ (en inglés)."
240
241 #: ../../../__w/calibre/calibre/manual/news.rst:108
242 msgid ""
243 "Now, click the :guilabel:`Add/update recipe` button and your changes will be"
244 " saved. Re-download the e-book. You should have a much improved e-book. One "
245 "of the problems with the new version is that the fonts on the print version "
246 "webpage are too small. This is automatically fixed when converting to an "
247 "e-book, but even after the fixing process, the font size of the menus and "
248 "navigation bar become too large relative to the article text. To fix this, "
249 "we will do some more customization, in the next section."
250 msgstr "Ahora pulse en el botón :guilabel:`Añadir o actualizar fórmula` y se guardarán los cambios. Vuelva a descargar el libro electrónico. Ahora debe tener un libro electrónico muy mejorado. Uno de los problemas con la nueva versión es que los tipos de letra en la página de Internet de la versión impresa son demasiado pequeños. Esto es corregido automáticamente cuando se convierte a un libro electrónico, pero incluso después del proceso de corrección, el tamaño de la letra de los menús y barra de navegación es demasiado grande en relación con el texto del artículo. Para solucionar esto, vamos a personalizar un poco más, en la siguiente sección."
251
252 #: ../../../__w/calibre/calibre/manual/news.rst:111
253 msgid "Replacing article styles"
254 msgstr "Sustituir los estilos de los artículos"
255
256 #: ../../../__w/calibre/calibre/manual/news.rst:113
257 msgid ""
258 "In the previous section, we saw that the font size for articles from the "
259 "print version of *The BBC* was too small. In most websites, *The BBC* "
260 "included, this font size is set by means of :term:`CSS` stylesheets. We can "
261 "disable the fetching of such stylesheets by adding the line::"
262 msgstr "En la sección anterior, hemos visto que el tamaño de letra para los artículos de la versión impresa de *La BBC* era demasiado pequeño. En la mayoría de sitios de Internet, incluido *La BBC*, el tamaño de letra se establece por medio de las hojas de estilo :term:`CSS`. Podemos desactivar la obtención de dichas hojas de estilo añadiendo esta línea::"
263
264 #: ../../../__w/calibre/calibre/manual/news.rst:119
265 msgid "The recipe now looks like:"
266 msgstr "La fórmula queda ahora como:"
267
268 #: ../../../__w/calibre/calibre/manual/news.rst:124
269 msgid ""
270 "The new version looks pretty good. If you're a perfectionist, you'll want to"
271 " read the next section, which deals with actually modifying the downloaded "
272 "content."
273 msgstr "La nueva versión está bastante bien. Si es usted perfeccionista, querrá leer la siguiente sección, que trata de hacer cambios en el contenido descargado."
274
275 #: ../../../__w/calibre/calibre/manual/news.rst:127
276 msgid "Slicing and dicing"
277 msgstr "Dividir y reordenar"
278
279 #: ../../../__w/calibre/calibre/manual/news.rst:129
280 msgid ""
281 "calibre contains very powerful and flexible abilities when it comes to "
282 "manipulating downloaded content. To show off a couple of these, let's look "
283 "at our old friend the :ref:`The BBC <bbc1>` recipe again. Looking at the "
284 "source code (:term:`HTML`) of a couple of articles (print version), we see "
285 "that they have a footer that contains no useful information, contained in"
286 msgstr "calibre contiene funciones muy poderosas y flexibles a la hora de manipular el contenido descargado. Para mostrar un par de ellas, echemos un nuevo vistazo a nuestra vieja amiga, la fórmula :ref:`La BBC <bbc1>`. Mirando el código fuente (:term:`HTML`) de un par de artículos (versiones para imprimir), vemos que tienen un pie de página que no contiene ninguna información útil, que figura en"
287
288 #: ../../../__w/calibre/calibre/manual/news.rst:137
289 msgid "This can be removed by adding::"
290 msgstr "Esto se puede quitar agregando::"
291
292 #: ../../../__w/calibre/calibre/manual/news.rst:141
293 msgid ""
294 "to the recipe. Finally, let's replace some of the :term:`CSS` that we "
295 "disabled earlier, with our own :term:`CSS` that is suitable for conversion "
296 "to an e-book::"
297 msgstr ""
298
299 #: ../../../__w/calibre/calibre/manual/news.rst:145
300 msgid "With these additions, our recipe has become \"production quality\"."
301 msgstr "Con estos añadidos, nuestra fórmula ha alcanzado «calidad de producción»."
302
303 #: ../../../__w/calibre/calibre/manual/news.rst:147
304 msgid ""
305 "This :term:`recipe` explores only the tip of the iceberg when it comes to "
306 "the power of calibre. To explore more of the abilities of calibre we'll "
307 "examine a more complex real life example in the next section."
308 msgstr "Esta :term:`fórmula` muestra sólo la punta del iceberg en lo que se refiere a la potencia de calibre. Para explorar más sobre las capacidades de calibre, examinaremos un ejemplo de la vida real más complejo en la siguiente sección."
309
310 #: ../../../__w/calibre/calibre/manual/news.rst:150
311 msgid "Real life example"
312 msgstr ""
313
314 #: ../../../__w/calibre/calibre/manual/news.rst:152
315 msgid ""
316 "A reasonably complex real life example that exposes more of the :term:`API` "
317 "of ``BasicNewsRecipe`` is the :term:`recipe` for *The New York Times*"
318 msgstr "Un ejemplo real bastante complejo que expone más partes de la :term:`API` de ``BasicNewsRecipe`` es la :term:`fórmula` de *The New York Times*"
319
320 #: ../../../__w/calibre/calibre/manual/news.rst:238
321 msgid "We see several new features in this :term:`recipe`. First, we have::"
322 msgstr "Vemos varias características nuevas en esta :term:`fórmula`. En primer lugar, tenemos::"
323
324 #: ../../../__w/calibre/calibre/manual/news.rst:242
325 msgid ""
326 "This sets the displayed time on the front page of the created e-book to be "
327 "in the format, ``Day, Day_Number Month, Year``. See :attr:`timefmt "
328 "<calibre.web.feeds.news.BasicNewsRecipe.timefmt>`."
329 msgstr "Esto hace que la fecha que aparece en la primera página del libro electrónico creado se muestre en este formato, ``Día, Número de día Mes, Año``. Vea: attr:`timefmt <calibre.web.feeds.news.BasicNewsRecipe.timefmt>`."
330
331 #: ../../../__w/calibre/calibre/manual/news.rst:245
332 msgid ""
333 "Then we see a group of directives to cleanup the downloaded :term:`HTML`::"
334 msgstr "Después vemos un grupo de directivas para depurar el :term:`HTML` descargado::"
335
336 #: ../../../__w/calibre/calibre/manual/news.rst:251
337 msgid ""
338 "These remove everything before the first ``<h1>`` tag and everything after "
339 "the first tag whose id is ``footer``. See :attr:`remove_tags "
340 "<calibre.web.feeds.news.BasicNewsRecipe.remove_tags>`, "
341 ":attr:`remove_tags_before "
342 "<calibre.web.feeds.news.BasicNewsRecipe.remove_tags_before>`, "
343 ":attr:`remove_tags_after "
344 "<calibre.web.feeds.news.BasicNewsRecipe.remove_tags_after>`."
345 msgstr "Éstas eliminan todo lo que hay antes de la primera etiqueta ``<h1>`` y todo lo que hay después de la primera etiqueta cuyo id es ``footer``. Véanse :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>`."
346
347 #: ../../../__w/calibre/calibre/manual/news.rst:253
348 msgid "The next interesting feature is::"
349 msgstr "La siguiente función interesante es::"
350
351 #: ../../../__w/calibre/calibre/manual/news.rst:260
352 msgid ""
353 "``needs_subscription = True`` tells calibre that this recipe needs a "
354 "username and password in order to access the content. This causes, calibre "
355 "to ask for a username and password whenever you try to use this recipe. The "
356 "code in :meth:`calibre.web.feeds.news.BasicNewsRecipe.get_browser` actually "
357 "does the login into the NYT website. Once logged in, calibre will use the "
358 "same, logged in, browser instance to fetch all content. See `mechanize "
359 "<https://mechanize.readthedocs.io/en/latest/>`_ to understand the code in "
360 "``get_browser``."
361 msgstr "``needs_subscription = True`` le comunica a calibre que esta fórmula necesita un nombre de usuario y contraseña para poder acceder al contenido. Esto hace que calibre pida un nombre de usuario y contraseña cada vez que intente utilizar esta fórmula. El código en :meth:`calibre.web.feeds.news.BasicNewsRecipe.get_browser` es el que realmente inicia la sesión en el sitio de Internet del New York Times. Una vez iniciada la sesión, calibre utilizará esta misma sesión para obtener todo el contenido. Véase `mechanize <https://mechanize.readthedocs.io/en/latest/>`_ para entender el código en ``get_browser``."
362
363 #: ../../../__w/calibre/calibre/manual/news.rst:262
364 msgid ""
365 "The next new feature is the "
366 ":meth:`calibre.web.feeds.news.BasicNewsRecipe.parse_index` method. Its job "
367 "is to go to https://www.nytimes.com/pages/todayspaper/index.html and fetch "
368 "the list of articles that appear in *today's* paper. While more complex than"
369 " simply using :term:`RSS`, the recipe creates an e-book that corresponds "
370 "very closely to the day's paper. ``parse_index`` makes heavy use of "
371 "`BeautifulSoup <https://www.crummy.com/software/BeautifulSoup/bs4/doc/>`_ to"
372 " parse the daily paper webpage. You can also use other, more modern parsers "
373 "if you dislike BeautifulSoup. calibre comes with `lxml <https://lxml.de/>`_ "
374 "and `html5lib <https://github.com/html5lib/html5lib-python>`_, which are the"
375 " recommended parsers. To use them, replace the call to ``index_to_soup()`` "
376 "with the following::"
377 msgstr ""
378
379 #: ../../../__w/calibre/calibre/manual/news.rst:283
380 msgid ""
381 "The final new feature is the "
382 ":meth:`calibre.web.feeds.news.BasicNewsRecipe.preprocess_html` method. It "
383 "can be used to perform arbitrary transformations on every downloaded HTML "
384 "page. Here it is used to bypass the ads that the nytimes shows you before "
385 "each article."
386 msgstr "La última nueva característica es el método :meth:`calibre.web.feeds.news.BasicNewsRecipe.preprocess_html`. Se puede utilizar para realizar transformaciones arbitrarias en cada página HTML descargada. Aquí se usa para evitar la publicidad que nytimes muestra antes de cada artículo."
387
388 #: ../../../__w/calibre/calibre/manual/news.rst:286
389 msgid "Tips for developing new recipes"
390 msgstr "Consejos para desarrollar nuevas fórmulas"
391
392 #: ../../../__w/calibre/calibre/manual/news.rst:288
393 msgid ""
394 "The best way to develop new recipes is to use the command line interface. "
395 "Create the recipe using your favorite Python editor and save it to a file "
396 "say :file:`myrecipe.recipe`. The `.recipe` extension is required. You can "
397 "download content using this recipe with the command::"
398 msgstr "La mejor manera de desarrollar nuevas fórmulas es utilizar la interfaz de línea de órdenes. Cree la fórmula usando su editor de Python favorito y guárdela en un archivo, digamos :file:`mifórmula.recipe`. La extensión `.recipe` es necesaria. Puede descargar contenido usando esta fórmula con la orden::"
399
400 #: ../../../__w/calibre/calibre/manual/news.rst:292
401 msgid ""
402 "The command :command:`ebook-convert` will download all the webpages and save"
403 " them to the EPUB file :file:`myrecipe.epub`. The ``-vv`` option makes "
404 "ebook-convert spit out a lot of information about what it is doing. The "
405 ":option:`ebook-convert-recipe-input --test` option makes it download only a "
406 "couple of articles from at most two feeds. In addition, ebook-convert will "
407 "put the downloaded HTML into the ``debug/input`` folder, where ``debug`` is "
408 "the folder you specified in the :option:`ebook-convert --debug-pipeline` "
409 "option."
410 msgstr "La orden :command:`ebook-convert` descargará todas las páginas de Internet y las guardará en el archivo EPUB :file:`mifórmula.epub`. La opción ``-vv`` hace que ebook-convert muestre una gran cantidad de información acerca de lo que está haciendo. La opción :option:`ebook-convert-recipe-input --test` hace que se descargue sólo un par de artículos de un máximo de dos canales RSS. Además, ebook-convert pondrá el HTML descargado en la carpeta ``debug/input``, donde ``debug`` es la carpeta que haya especificado en la opción :`option:`ebook-convert --debug-pipeline`."
411
412 #: ../../../__w/calibre/calibre/manual/news.rst:300
413 msgid ""
414 "Once the download is complete, you can look at the downloaded :term:`HTML` "
415 "by opening the file :file:`debug/input/index.html` in a browser. Once you're"
416 " satisfied that the download and preprocessing is happening correctly, you "
417 "can generate e-books in different formats as shown below::"
418 msgstr "Una vez que la descarga está completa, puede ver el :term:`HTML` descargado abriendo el archivo :file:`debug/input/index.html` en un navegador. Cuando que esté satisfecho con la descarga y el procesado previo, puede generar libros electrónicos en diferentes formatos, como se muestra a continuación::"
419
420 #: ../../../__w/calibre/calibre/manual/news.rst:307
421 msgid ""
422 "If you're satisfied with your recipe, and you feel there is enough demand to"
423 " justify its inclusion into the set of built-in recipes, post your recipe in"
424 " the `calibre recipes forum "
425 "<https://www.mobileread.com/forums/forumdisplay.php?f=228>`_ to share it "
426 "with other calibre users."
427 msgstr "Si está satisfecho con fórmula y cree que existe suficiente demanda para justificar su inclusión en el conjunto de fórmulas incorporadas, compártala en el `Foro de fórmulas de calibre <https://www.mobileread.com/forums/forumdisplay.php?f=228>`_ (en inglés)."
428
429 #: ../../../__w/calibre/calibre/manual/news.rst:310
430 msgid ""
431 "On macOS, the command line tools are inside the calibre bundle, for example,"
432 " if you installed calibre in :file:`/Applications` the command line tools "
433 "are in :file:`/Applications/calibre.app/Contents/MacOS/`."
434 msgstr "En macOS, las herramientas de línea de órdenes están dentro del paquete calibre, por ejemplo, si ha instalado calibre en :file:`/Aplicaciones` las herramientas de línea de órdenes están en :file:/Aplicaciones/calibre.app/Contents/MacOS/`."
435
436 #: ../../../__w/calibre/calibre/manual/news.rst:316
437 msgid ":doc:`generated/en/ebook-convert`"
438 msgstr ":doc:`generated/es/ebook-convert`"
439
440 #: ../../../__w/calibre/calibre/manual/news.rst:317
441 msgid "The command line interface for all e-book conversion."
442 msgstr "La interfaz de la línea de órdenes para todas las conversiones de libros electrónicos."
443
444 #: ../../../__w/calibre/calibre/manual/news.rst:321
445 msgid "Further reading"
446 msgstr ""
447
448 #: ../../../__w/calibre/calibre/manual/news.rst:323
449 msgid ""
450 "To learn more about writing advanced recipes using some of the facilities, "
451 "available in ``BasicNewsRecipe`` you should consult the following sources:"
452 msgstr "Para obtener más información acerca de cómo escribir fórmulas avanzadas usando algunas de las opciones disponibles en ``BasicNewsRecipe`` debe consultar las siguientes fuentes:"
453
454 #: ../../../__w/calibre/calibre/manual/news.rst:325
455 msgid ":ref:`API documentation <news_recipe>`"
456 msgstr ":ref:`Documentación de la API <news_recipe>`"
457
458 #: ../../../__w/calibre/calibre/manual/news.rst:326
459 msgid ""
460 "Documentation of the ``BasicNewsRecipe`` class and all its important methods"
461 " and fields."
462 msgstr ""
463
464 #: ../../../__w/calibre/calibre/manual/news.rst:328
465 msgid ""
466 "`BasicNewsRecipe "
467 "<https://github.com/kovidgoyal/calibre/blob/master/src/calibre/web/feeds/news.py>`_"
468 msgstr "`BasicNewsRecipe <https://github.com/kovidgoyal/calibre/blob/master/src/calibre/web/feeds/news.py>`_"
469
470 #: ../../../__w/calibre/calibre/manual/news.rst:329
471 msgid "The source code of ``BasicNewsRecipe``"
472 msgstr ""
473
474 #: ../../../__w/calibre/calibre/manual/news.rst:331
475 msgid ""
476 "`Built-in recipes "
477 "<https://github.com/kovidgoyal/calibre/tree/master/recipes>`_"
478 msgstr "`Fórmulas predefinidas <https://github.com/kovidgoyal/calibre/tree/master/recipes>`_"
479
480 #: ../../../__w/calibre/calibre/manual/news.rst:332
481 msgid "The source code for the built-in recipes that come with calibre"
482 msgstr "El código fuente de las fórmulas predefinidas que incluye calibre"
483
484 #: ../../../__w/calibre/calibre/manual/news.rst:334
485 msgid ""
486 "`The calibre recipes forum "
487 "<https://www.mobileread.com/forums/forumdisplay.php?f=228>`_"
488 msgstr "`El foro de fórmulas de calibre <https://www.mobileread.com/forums/forumdisplay.php?f=228>`_ (en inglés)"
489
490 #: ../../../__w/calibre/calibre/manual/news.rst:335
491 msgid "Lots of knowledgeable calibre recipe writers hang out here."
492 msgstr "Un buen número de creadores de fórmulas de calibre pasan el rato aquí."
493
494 #: ../../../__w/calibre/calibre/manual/news.rst:339
495 msgid "API documentation"
496 msgstr ""