Debian Codegraph @

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