# SOME DESCRIPTIVE TITLE. # Copyright (C) Kovid Goyal # This file is distributed under the same license as the calibre package. # # Translators: # DWXXX, 2015 # Kevin Jin , 2016 # Lily Wang, 2022 # RERBIN MA, 2026 # tony shen , 2024 # vicentory , 2018 msgid "" msgstr "" "Project-Id-Version: calibre\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2026-03-12 02:31+0000\n" "PO-Revision-Date: 2014-06-17 08:34+0000\n" "Last-Translator: RERBIN MA, 2026\n" "Language-Team: Chinese (China) (http://app.transifex.com/calibre/calibre/language/zh_CN/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: zh_CN\n" "Plural-Forms: nplurals=1; plural=0;\n" #: ../../../__w/calibre/calibre/manual/news.rst:4 msgid "Adding your favorite news website" msgstr "添加你喜欢的新闻站点" #: ../../../__w/calibre/calibre/manual/news.rst:6 msgid "" "calibre has a powerful, flexible and easy-to-use framework for downloading " "news from the Internet and converting it into an e-book. The following will " "show you, by means of examples, how to get news from various websites." msgstr "caliber有一个强大,灵活且易于使用的框架,用于从Internet下载新闻并将其转换为电子书。 以下将通过示例向您展示如何从各种网站获取新闻。" #: ../../../__w/calibre/calibre/manual/news.rst:8 msgid "" "To gain an understanding of how to use the framework, follow the examples in" " the order listed below:" msgstr "要了解如何使用框架,请按照下面列出的顺序执行示例:" #: ../../../__w/calibre/calibre/manual/news.rst:15 msgid "Completely automatic fetching" msgstr "完全自动获取" #: ../../../__w/calibre/calibre/manual/news.rst:17 msgid "" "If your news source is simple enough, calibre may well be able to fetch it " "completely automatically, all you need to do is provide the URL. calibre " "gathers all the information needed to download a news source into a " ":term:`recipe`. In order to tell calibre about a news source, you have to " "create a :term:`recipe` for it. Let's see some examples:" msgstr "如果你的新闻来源足够简单,Calibre很可能能够完全自动获取它,你所需要做的就是提供URL。Calibre收集下载新闻源到`Receipe`所需的所有信息。为了告诉Calibre关于一个新闻源的信息,你必须为它创建一个“Receipe”。让我们来看一些例子:" #: ../../../__w/calibre/calibre/manual/news.rst:26 msgid "The calibre blog" msgstr "calibre博客" #: ../../../__w/calibre/calibre/manual/news.rst:28 msgid "" "The calibre blog is a blog of posts that describe many useful calibre " "features in a simple and accessible way for new calibre users. In order to " "download this blog into an e-book, we rely on the :term:`RSS` feed of the " "blog::" msgstr "calibre 博客是一个帖子博客,以简单易懂的方式为新 calibre 用户描述许多有用的 calibre 功能。 为了将此博客下载成电子书,我们依赖博客的“RSS”提要:" #: ../../../__w/calibre/calibre/manual/news.rst:34 msgid "" "I got the RSS URL by looking under \"Subscribe to\" at the bottom of the " "blog page and choosing :guilabel:`Posts->Atom`. To make calibre download the" " feeds and convert them into an e-book, you should right click the " ":guilabel:`Fetch news` button and then the :guilabel:`Add a custom news " "source` menu item and then the :guilabel:`New Recipe` button. A dialog " "similar to that shown below should open up." msgstr "我通过查看博客页面底部的“订阅”并选择“Posts->Atom”获得了 RSS URL。 要使 calibre 下载提要并将其转换为电子书,您应该右键单击“获取新闻”按钮,然后单击“添加自定义新闻源”菜单项,然后单击“新新闻源”按钮。 应该会打开一个类似于下图所示的对话框。" #: ../../../__w/calibre/calibre/manual/news.rst:43 msgid "" "First enter ``Calibre Blog`` into the :guilabel:`Recipe title` field. This " "will be the title of the e-book that will be created from the articles in " "the above feeds." msgstr "首先在“新闻源标题”字段中输入“Calibre Blog”。 这将是根据上述提要中的文章创建的电子书的标题。" #: ../../../__w/calibre/calibre/manual/news.rst:45 msgid "" "The next two fields (:guilabel:`Oldest article` and :guilabel:`Max. number " "of articles`) allow you some control over how many articles should be " "downloaded from each feed, and they are pretty self explanatory." msgstr "接下来的两个字段(“最旧的文章”和“最大文章数”)允许您控制应该从每个提要下载多少文章,并且它们非常不言自明。" #: ../../../__w/calibre/calibre/manual/news.rst:47 msgid "" "To add the feeds to the recipe, enter the feed title and the feed URL and " "click the :guilabel:`Add feed` button. Once you have added the feed, simply " "click the :guilabel:`Save` button and you're done! Close the dialog." msgstr "要将提要添加到新闻源中,请输入提要标题和提要 URL,然后单击“添加提要”按钮。 添加提要后,只需单击“保存”按钮即可完成! 关闭对话框。" #: ../../../__w/calibre/calibre/manual/news.rst:51 msgid "" "To test your new :term:`recipe`, click the :guilabel:`Fetch news` button and" " in the :guilabel:`Custom news sources` sub-menu click :guilabel:`calibre " "Blog`. After a couple of minutes, the newly downloaded e-book of blog posts " "will appear in the main library view (if you have your reader connected, it " "will be put onto the reader instead of into the library). Select it and hit " "the :guilabel:`View` button to read!" msgstr "要测试新的“新闻源”,请单击“获取新闻”按钮,然后在“自定义新闻源”子菜单中单击“calibre Blog”。 几分钟后,新下载的博客文章电子书将出现在主书库视图中(如果您连接了阅读器,它将被放入阅读器而不是书库中)。 选择它并点击“查看”按钮即可阅读!" #: ../../../__w/calibre/calibre/manual/news.rst:53 msgid "" "The reason this worked so well, with so little effort is that the blog " "provides *full-content* :term:`RSS` feeds, i.e., the article content is " "embedded in the feed itself. For most news sources that provide news in this" " fashion, with *full-content* feeds, you don't need any more effort to " "convert them to e-books. Now we will look at a news source that does not " "provide full content feeds. In such feeds, the full article is a webpage and" " the feed only contains a link to the webpage with a short summary of the " "article." msgstr "这种方法效果如此之好、花费如此之少的原因是博客提供了“完整内容”“RSS”提要,即文章内容嵌入在提要本身中。 对于大多数以这种方式提供新闻的新闻源,通过“完整内容”提要,您不需要更多的努力将它们转换为电子书。 现在我们将看看不提供完整内容提要的新闻源。 在此类提要中,完整的文章是一个网页,并且提要仅包含指向该网页的链接以及文章的简短摘要。" #: ../../../__w/calibre/calibre/manual/news.rst:58 msgid "bbc.co.uk" msgstr "bbc.co.uk" #: ../../../__w/calibre/calibre/manual/news.rst:60 msgid "Let's try the following two feeds from *The BBC*:" msgstr "让我们尝试一下来自 *The BBC* 的以下两个提要:" #: ../../../__w/calibre/calibre/manual/news.rst:62 msgid "" "News Front Page: " "https://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml" msgstr "新闻头版:https://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml" #: ../../../__w/calibre/calibre/manual/news.rst:63 msgid "" "Science/Nature: " "https://newsrss.bbc.co.uk/rss/newsonline_world_edition/science/nature/rss.xml" msgstr "科学/自然:https://newsrss.bbc.co.uk/rss/newsonline_world_edition/science/nature/rss.xml" #: ../../../__w/calibre/calibre/manual/news.rst:65 msgid "" "Follow the procedure outlined in :ref:`calibre_blog` above to create a " "recipe for *The BBC* (using the feeds above). Looking at the downloaded " "e-book, we see that calibre has done a creditable job of extracting only the" " content you care about from each article's webpage. However, the extraction" " process is not perfect. Sometimes it leaves in undesirable content like " "menus and navigation aids or it removes content that should have been left " "alone, like article headings. In order, to have perfect content extraction, " "we will need to customize the fetch process, as described in the next " "section." msgstr "按照上面“calibre_blog”中概述的过程为 *The BBC* 创建新闻源(使用上面的提要)。 查看下载的电子书,我们发现 calibre 做得工作非常出色,它只从每篇文章的网页中提取您关心的内容。 然而,提取过程并不完美。 有时,它会留下不需要的内容,例如菜单和导航辅助工具,或者删除本应保留的内容,例如文章标题。 为了实现完美的内容提取,我们需要自定义获取过程,如下一节所述。" #: ../../../__w/calibre/calibre/manual/news.rst:68 msgid "Customizing the fetch process" msgstr "自定义获取过程" #: ../../../__w/calibre/calibre/manual/news.rst:70 msgid "" "When you want to perfect the download process, or download content from a " "particularly complex website, you can avail yourself of all the power and " "flexibility of the :term:`recipe` framework. In order to do that, in the " ":guilabel:`Add custom news sources` dialog, simply click the " ":guilabel:`Switch to Advanced mode` button." msgstr "当您想要完善下载过程或从特别复杂的网站下载内容时,您可以利用“recipe”框架的所有功能和灵活性。 为此,在“添加自定义新闻源”对话框中,只需单击“切换到高级模式”按钮即可。" #: ../../../__w/calibre/calibre/manual/news.rst:72 msgid "" "The easiest and often most productive customization is to use the print " "version of the online articles. The print version typically has much less " "cruft and translates much more smoothly to an e-book. Let's try to use the " "print version of the articles from *The BBC*." msgstr "最简单且通常最有效的定制是使用在线文章的印刷版。 印刷版通常没有那么繁琐,并且可以更顺利地转换为电子书。 让我们尝试使用 *The BBC* 文章的印刷版。" #: ../../../__w/calibre/calibre/manual/news.rst:75 msgid "Using the print version of bbc.co.uk" msgstr "使用 bbc.co.uk 的印刷版" #: ../../../__w/calibre/calibre/manual/news.rst:77 msgid "" "The first step is to look at the e-book we downloaded previously from " ":ref:`bbc`. At the end of each article, in the e-book is a little blurb " "telling you where the article was downloaded from. Copy and paste that URL " "into a browser. Now on the article webpage look for a link that points to " "the \"Printable version\". Click it to see the print version of the article." " It looks much neater! Now compare the two URLs. For me they were:" msgstr "第一步是查看我们之前从“bbc”下载的电子书。 在电子书中每篇文章的末尾都有一个小简介,告诉您该文章是从哪里下载的。 将该 URL 复制并粘贴到浏览器中。 现在,在文章网页上查找指向“可打印版本”的链接。 单击它可查看文章的打印版本。 看起来整洁多了! 现在比较两个 URL。 对我来说,他们是:" #: ../../../__w/calibre/calibre/manual/news.rst:79 msgid "Article URL" msgstr "文章 URL" #: ../../../__w/calibre/calibre/manual/news.rst:80 msgid "https://news.bbc.co.uk/2/hi/science/nature/7312016.stm" msgstr "https://news.bbc.co.uk/2/hi/science/nature/7312016.stm" #: ../../../__w/calibre/calibre/manual/news.rst:82 msgid "Print version URL" msgstr "打印版 URL" #: ../../../__w/calibre/calibre/manual/news.rst:83 msgid "" "https://newsvote.bbc.co.uk/mpapps/pagetools/print/news.bbc.co.uk/2/hi/science/nature/7312016.stm" msgstr "https://newsvote.bbc.co.uk/mpapps/pagetools/print/news.bbc.co.uk/2/hi/science/nature/7312016.stm" #: ../../../__w/calibre/calibre/manual/news.rst:85 msgid "" "So it looks like to get the print version, we need to prefix every article " "URL with:" msgstr "所以看起来要获取打印版本,我们需要在每篇文章的 URL 前加上以下前缀:" #: ../../../__w/calibre/calibre/manual/news.rst:87 msgid "newsvote.bbc.co.uk/mpapps/pagetools/print/" msgstr "newsvote.bbc.co.uk/mpapps/pagetools/print/" #: ../../../__w/calibre/calibre/manual/news.rst:89 msgid "" "Now in the :guilabel:`Advanced mode` of the Custom news sources dialog, you " "should see something like (remember to select *The BBC* recipe before " "switching to advanced mode):" msgstr "现在,在“自定义新闻源”对话框的“高级模式”中,您应该看到类似的内容(请记住在切换到高级模式之前选择 *The BBC* 菜谱):" #: ../../../__w/calibre/calibre/manual/news.rst:94 msgid "" "You can see that the fields from the :guilabel:`Basic mode` have been " "translated to Python code in a straightforward manner. We need to add " "instructions to this recipe to use the print version of the articles. All " "that's needed is to add the following two lines:" msgstr "您可以看到“基本模式”中的字段已以简单的方式转换为 Python 代码。 我们需要向此新闻源添加说明以使用文章的打印版本。 所需要做的就是添加以下两行:" #: ../../../__w/calibre/calibre/manual/news.rst:101 msgid "" "This is Python, so indentation is important. After you've added the lines, " "it should look like:" msgstr "这是Python,所以缩进很重要。 添加这些行后,它应该如下所示:" #: ../../../__w/calibre/calibre/manual/news.rst:106 msgid "" "In the above, ``def print_version(self, url)`` defines a *method* that is " "called by calibre for every article. ``url`` is the URL of the original " "article. What ``print_version`` does is take that url and replace it with " "the new URL that points to the print version of the article. To learn about " "`Python `_ see the `tutorial " "`_." msgstr "在上面,“def print_version(self, url)”定义了一个由 calibre 为每篇文章调用的*方法*。 ``url`` 是原始文章的 URL。 print_version 的作用是获取该 url 并将其替换为指向文章打印版本的新 URL。 要了解“Python ”_,请参阅“教程 ”_。" #: ../../../__w/calibre/calibre/manual/news.rst:108 msgid "" "Now, click the :guilabel:`Add/update recipe` button and your changes will be" " saved. Re-download the e-book. You should have a much improved e-book. One " "of the problems with the new version is that the fonts on the print version " "webpage are too small. This is automatically fixed when converting to an " "e-book, but even after the fixing process, the font size of the menus and " "navigation bar become too large relative to the article text. To fix this, " "we will do some more customization, in the next section." msgstr "现在,单击“添加/更新新闻源”按钮,您的更改将被保存。 重新下载电子书。 你应该有一本改进了很多的电子书。 新版本的问题之一是印刷版网页上的字体太小。 当转换为电子书时,此问题会自动修复,但即使在修复过程之后,菜单和导航栏的字体大小相对于文章文本也变得太大。 为了解决这个问题,我们将在下一节中进行更多自定义。" #: ../../../__w/calibre/calibre/manual/news.rst:111 msgid "Replacing article styles" msgstr "替换文章样式" #: ../../../__w/calibre/calibre/manual/news.rst:113 msgid "" "In the previous section, we saw that the font size for articles from the " "print version of *The BBC* was too small. In most websites, *The BBC* " "included, this font size is set by means of :term:`CSS` stylesheets. We can " "disable the fetching of such stylesheets by adding the line::" msgstr "在上一节中,我们看到 *The BBC* 印刷版文章的字体太小。 在大多数网站包括 *BBC* 中,此字体大小是通过“CSS”样式表设置的。 我们可以通过添加以下行来禁用此类样式表的获取:" #: ../../../__w/calibre/calibre/manual/news.rst:119 msgid "The recipe now looks like:" msgstr "新闻源现在看起来像:" #: ../../../__w/calibre/calibre/manual/news.rst:124 msgid "" "The new version looks pretty good. If you're a perfectionist, you'll want to" " read the next section, which deals with actually modifying the downloaded " "content." msgstr "新版本看起来还不错。 如果您是完美主义者,您将需要阅读下一节,其中涉及实际修改下载的内容。" #: ../../../__w/calibre/calibre/manual/news.rst:127 msgid "Slicing and dicing" msgstr "数据交叉分析" #: ../../../__w/calibre/calibre/manual/news.rst:129 msgid "" "calibre contains very powerful and flexible abilities when it comes to " "manipulating downloaded content. To show off a couple of these, let's look " "at our old friend the :ref:`The BBC ` recipe again. Looking at the " "source code (:term:`HTML`) of a couple of articles (print version), we see " "that they have a footer that contains no useful information, contained in" msgstr "在操作下载内容方面,calibre 包含非常强大且灵活的功能。 为了展示其中的一些,让我们再次看看我们的老朋友“BBC ”新闻源。 查看几篇文章(打印版)的源代码(“HTML”),我们看到它们的页脚不包含任何有用的信息,包含在" #: ../../../__w/calibre/calibre/manual/news.rst:137 msgid "This can be removed by adding::" msgstr "可以通过添加以下内容来删除它:" #: ../../../__w/calibre/calibre/manual/news.rst:141 msgid "" "to the recipe. Finally, let's replace some of the :term:`CSS` that we " "disabled earlier, with our own :term:`CSS` that is suitable for conversion " "to an e-book::" msgstr "对新闻源。 最后,让我们用我们自己的适合转换为电子书的“CSS”替换我们之前禁用的一些“CSS”:" #: ../../../__w/calibre/calibre/manual/news.rst:145 msgid "With these additions, our recipe has become \"production quality\"." msgstr "通过这些添加,我们的配方已成为“生产质量”。" #: ../../../__w/calibre/calibre/manual/news.rst:147 msgid "" "This :term:`recipe` explores only the tip of the iceberg when it comes to " "the power of calibre. To explore more of the abilities of calibre we'll " "examine a more complex real life example in the next section." msgstr "当谈到calibre的能力时,这个“秘诀”只探索了冰山一角。 为了探索 calibre 的更多功能,我们将在下一节中研究一个更复杂的现实生活示例。" #: ../../../__w/calibre/calibre/manual/news.rst:150 msgid "Real life example" msgstr "现实生活中的例子" #: ../../../__w/calibre/calibre/manual/news.rst:152 msgid "" "A reasonably complex real life example that exposes more of the :term:`API` " "of ``BasicNewsRecipe`` is the :term:`recipe` for *The New York Times*" msgstr "一个相当复杂的现实生活示例,公开了“BasicNewsRecipe”的更多“API”,是“纽约时报”的“recipe”" #: ../../../__w/calibre/calibre/manual/news.rst:238 msgid "We see several new features in this :term:`recipe`. First, we have::" msgstr "我们在这个“新闻源”中看到了几个新功能。 首先,我们有:" #: ../../../__w/calibre/calibre/manual/news.rst:242 msgid "" "This sets the displayed time on the front page of the created e-book to be " "in the format, ``Day, Day_Number Month, Year``. See :attr:`timefmt " "`." msgstr "这会将创建的电子书首页上的显示时间设置为“日,日_数字月,年”格式。 请参阅“timefmt ”。" #: ../../../__w/calibre/calibre/manual/news.rst:245 msgid "" "Then we see a group of directives to cleanup the downloaded :term:`HTML`::" msgstr "然后我们看到一组指令来清理下载的“HTML”:" #: ../../../__w/calibre/calibre/manual/news.rst:251 msgid "" "These remove everything before the first ``

`` tag and everything after " "the first tag whose id is ``footer``. See :attr:`remove_tags " "`, " ":attr:`remove_tags_before " "`, " ":attr:`remove_tags_after " "`." msgstr "这些会删除第一个“

”标签之前的所有内容以及第一个 id 为“footer”的标签之后的所有内容。 请参阅 `remove_tags `、`remove_tags_before `、`remove_tags_after `。" #: ../../../__w/calibre/calibre/manual/news.rst:253 msgid "The next interesting feature is::" msgstr "下一个有趣的功能是:" #: ../../../__w/calibre/calibre/manual/news.rst:260 msgid "" "``needs_subscription = True`` tells calibre that this recipe needs a " "username and password in order to access the content. This causes, calibre " "to ask for a username and password whenever you try to use this recipe. The " "code in :meth:`calibre.web.feeds.news.BasicNewsRecipe.get_browser` actually " "does the login into the NYT website. Once logged in, calibre will use the " "same, logged in, browser instance to fetch all content. See `mechanize " "`_ to understand the code in " "``get_browser``." msgstr "``needs_subscription = True`` 告诉 calibre 该菜谱需要用户名和密码才能访问内容。 这会导致每当您尝试使用此配方时,calibre 都会要求输入用户名和密码。`calibre.web.feeds.news.BasicNewsRecipe.get_browser` 中的代码实际上登录了《纽约时报》网站。 登录后,calibre 将使用相同的已登录浏览器实例来获取所有内容。 请参阅 `mechanize `_ 以了解 `get_browser` 中的代码。" #: ../../../__w/calibre/calibre/manual/news.rst:262 msgid "" "The next new feature is the " ":meth:`calibre.web.feeds.news.BasicNewsRecipe.parse_index` method. Its job " "is to go to https://www.nytimes.com/pages/todayspaper/index.html and fetch " "the list of articles that appear in *today's* paper. While more complex than" " simply using :term:`RSS`, the recipe creates an e-book that corresponds " "very closely to the day's paper. ``parse_index`` makes heavy use of " "`BeautifulSoup `_ to" " parse the daily paper webpage. You can also use other, more modern parsers " "if you dislike BeautifulSoup. calibre comes with `lxml `_ " "and `html5lib `_, which are the" " recommended parsers. To use them, replace the call to ``index_to_soup()`` " "with the following::" msgstr "下一个新功能是“calibre.web.feeds.news.BasicNewsRecipe.parse_index”方法。 它的 工作是访问 https://www.nytimes.com/pages/todayspaper/index.html 并获取 *todays* 报纸中出现的文章列表。 虽然比简单地使用“RSS”更复杂,但该方法创建了一本与每日报纸非常接近的电子书。 ``parse_index`` 大量使用 `BeautifulSoup `_ 来解析日报网页。 如果您不喜欢 BeautifulSoup,您也可以使用其他更现代的解析器。 calibre 附带 `lxml `_ 和 `html5lib `_,这是推荐的解析器。 要使用它们,请将对“index_to_soup()”的调用替换为以下内容:" #: ../../../__w/calibre/calibre/manual/news.rst:283 msgid "" "The final new feature is the " ":meth:`calibre.web.feeds.news.BasicNewsRecipe.preprocess_html` method. It " "can be used to perform arbitrary transformations on every downloaded HTML " "page. Here it is used to bypass the ads that the nytimes shows you before " "each article." msgstr "最后一个新功能是“calibre.web.feeds.news.BasicNewsRecipe.preprocess_html”方法。 它可用于对每个下载的 HTML 页面执行任意转换。 这里它用于绕过纽约时报在每篇文章之前向您展示的广告。" #: ../../../__w/calibre/calibre/manual/news.rst:286 msgid "Tips for developing new recipes" msgstr "开发新新闻源的技巧" #: ../../../__w/calibre/calibre/manual/news.rst:288 msgid "" "The best way to develop new recipes is to use the command line interface. " "Create the recipe using your favorite Python editor and save it to a file " "say :file:`myrecipe.recipe`. The `.recipe` extension is required. You can " "download content using this recipe with the command::" msgstr "开发新新闻源的最佳方法是使用命令行界面。 使用您最喜欢的 Python 编辑器创建新闻源并将其保存到文件名为 “myrecipe.recipe”的文件中。 需要“.recipe”扩展名。 您可以使用此新闻源通过以下命令下载内容:" #: ../../../__w/calibre/calibre/manual/news.rst:292 msgid "" "The command :command:`ebook-convert` will download all the webpages and save" " them to the EPUB file :file:`myrecipe.epub`. The ``-vv`` option makes " "ebook-convert spit out a lot of information about what it is doing. The " ":option:`ebook-convert-recipe-input --test` option makes it download only a " "couple of articles from at most two feeds. In addition, ebook-convert will " "put the downloaded HTML into the ``debug/input`` folder, where ``debug`` is " "the folder you specified in the :option:`ebook-convert --debug-pipeline` " "option." msgstr "命令“ebook-convert”将下载所有网页并将它们保存到 EPUB 文件“myrecipe.epub”。 “-vv”选项使 ebook-convert 吐出大量有关其正在执行的操作的信息。 “ebook-convert-recipe-input --test”选项使其最多只能从两个提要中下载几篇文章。 此外,ebook-convert 会将下载的 HTML 放入“debug/input”文件夹中,其中“debug”是您在“ebook-convert --debug-pipeline”选项中指定的文件夹。" #: ../../../__w/calibre/calibre/manual/news.rst:300 msgid "" "Once the download is complete, you can look at the downloaded :term:`HTML` " "by opening the file :file:`debug/input/index.html` in a browser. Once you're" " satisfied that the download and preprocessing is happening correctly, you " "can generate e-books in different formats as shown below::" msgstr "下载完成后,您可以通过在浏览器中打开文件 `debug/input/index.html`来查看下载的“HTML”。 一旦您对下载和预处理正确进行感到满意,您就可以生成不同格式的电子书,如下所示:" #: ../../../__w/calibre/calibre/manual/news.rst:307 msgid "" "If you're satisfied with your recipe, and you feel there is enough demand to" " justify its inclusion into the set of built-in recipes, post your recipe in" " the `calibre recipes forum " "`_ to share it " "with other calibre users." msgstr "如果您对自己的新闻源感到满意,并且您认为有足够的需求来证明将其包含在内置新闻源集中,请将您的新闻源发布在“calibre 新闻源论坛”`_ 与其他 calibre 用户分享。" #: ../../../__w/calibre/calibre/manual/news.rst:310 msgid "" "On macOS, the command line tools are inside the calibre bundle, for example," " if you installed calibre in :file:`/Applications` the command line tools " "are in :file:`/Applications/calibre.app/Contents/MacOS/`." msgstr "在 macOS 上,命令行工具位于 calibre 包内,例如,如果您在“/Applications”中安装了 calibre,则命令行工具位于“/Applications/calibre.app/Contents/MacOS/”中。" #: ../../../__w/calibre/calibre/manual/news.rst:316 msgid ":doc:`generated/en/ebook-convert`" msgstr "“生成/en/电子书转换”" #: ../../../__w/calibre/calibre/manual/news.rst:317 msgid "The command line interface for all e-book conversion." msgstr "所有电子书转换的命令行界面。" #: ../../../__w/calibre/calibre/manual/news.rst:321 msgid "Further reading" msgstr "以后阅读" #: ../../../__w/calibre/calibre/manual/news.rst:323 msgid "" "To learn more about writing advanced recipes using some of the facilities, " "available in ``BasicNewsRecipe`` you should consult the following sources:" msgstr "要了解有关使用“BasicNewsRecipe”中提供的某些工具编写高级食谱的更多信息,您应该查阅以下来源:" #: ../../../__w/calibre/calibre/manual/news.rst:325 msgid ":ref:`API documentation `" msgstr "“API文档”" #: ../../../__w/calibre/calibre/manual/news.rst:326 msgid "" "Documentation of the ``BasicNewsRecipe`` class and all its important methods" " and fields." msgstr "“BasicNewsRecipe” 类及其所有重要方法和字段的文档。" #: ../../../__w/calibre/calibre/manual/news.rst:328 msgid "" "`BasicNewsRecipe " "`_" msgstr "`BasicNewsRecipe `_" #: ../../../__w/calibre/calibre/manual/news.rst:329 msgid "The source code of ``BasicNewsRecipe``" msgstr "``基本新闻源``的源代码" #: ../../../__w/calibre/calibre/manual/news.rst:331 msgid "" "`Built-in recipes " "`_" msgstr "`内置新闻源 `_" #: ../../../__w/calibre/calibre/manual/news.rst:332 msgid "The source code for the built-in recipes that come with calibre" msgstr "calibre自带的内置新闻源的源代码" #: ../../../__w/calibre/calibre/manual/news.rst:334 msgid "" "`The calibre recipes forum " "`_" msgstr "`calibre 新闻源论坛 `_" #: ../../../__w/calibre/calibre/manual/news.rst:335 msgid "Lots of knowledgeable calibre recipe writers hang out here." msgstr "许多知识渊博的新闻源作家都在这里闲逛。" #: ../../../__w/calibre/calibre/manual/news.rst:339 msgid "API documentation" msgstr "API文档"