mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
IGN:More calibre-ebook.com migration
This commit is contained in:
parent
8e75b465bf
commit
a9bf4b86a9
@ -352,7 +352,7 @@ License: other
|
|||||||
Liberation Fonts
|
Liberation Fonts
|
||||||
-----------------
|
-----------------
|
||||||
calibre includes a copy of the liberation fonts, available from
|
calibre includes a copy of the liberation fonts, available from
|
||||||
https://calibre.kovidgoyal.net/downloads/liberation-fonts
|
https://calibre-ebook.com/downloads/liberation-fonts
|
||||||
|
|
||||||
BSD License (for all the BSD licensed code indicated above)
|
BSD License (for all the BSD licensed code indicated above)
|
||||||
-----------------------------------------------------------
|
-----------------------------------------------------------
|
||||||
|
4
README
4
README
@ -4,10 +4,10 @@ devices. It can go out to the internet and fetch metadata for your books. \
|
|||||||
It can download newspapers and convert them into e-books for convenient \
|
It can download newspapers and convert them into e-books for convenient \
|
||||||
reading. It is cross platform, running on Linux, Windows and OS X.
|
reading. It is cross platform, running on Linux, Windows and OS X.
|
||||||
|
|
||||||
For screenshots: https://calibre.kovidgoyal.net/wiki/Screenshots
|
For screenshots: https://calibre-ebook.com/demo
|
||||||
|
|
||||||
For installation/usage instructions please see
|
For installation/usage instructions please see
|
||||||
http://calibre.kovidgoyal.net
|
http://calibre-ebook.com
|
||||||
|
|
||||||
For source code access:
|
For source code access:
|
||||||
bzr branch lp:calibre
|
bzr branch lp:calibre
|
||||||
|
@ -7,11 +7,11 @@
|
|||||||
<script type="text/javascript" src="/static/date.js" charset="utf-8"></script>
|
<script type="text/javascript" src="/static/date.js" charset="utf-8"></script>
|
||||||
<script type="text/javascript" src="/static/jquery.js" charset="utf-8"></script>
|
<script type="text/javascript" src="/static/jquery.js" charset="utf-8"></script>
|
||||||
<script type="text/javascript" src="/static/gui.js" charset="utf-8"></script>
|
<script type="text/javascript" src="/static/gui.js" charset="utf-8"></script>
|
||||||
<link rel="icon" href="http://calibre.kovidgoyal.net/chrome/site/favicon.ico" type="image/x-icon" />
|
<link rel="icon" href="http://calibre-ebook.com/favicon.ico" type="image/x-icon" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="banner">
|
<div id="banner">
|
||||||
<a style="border: 0pt" href="http://calibre.kovidgoyal.net" alt="calibre" title="calibre"><img style="border:0pt" src="/static/calibre.png" alt="calibre" /></a>
|
<a style="border: 0pt" href="http://calibre-ebook.com" alt="calibre" title="calibre"><img style="border:0pt" src="/static/calibre.png" alt="calibre" /></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="search_box">
|
<div id="search_box">
|
||||||
|
@ -13,7 +13,6 @@
|
|||||||
##
|
##
|
||||||
## Version 0.3-2008_2_28
|
## Version 0.3-2008_2_28
|
||||||
## Based on WIRED.py by David Chen, 2007, and newsweek.py, bbc.py, nytimes.py by Kovid Goyal
|
## Based on WIRED.py by David Chen, 2007, and newsweek.py, bbc.py, nytimes.py by Kovid Goyal
|
||||||
## https://calibre.kovidgoyal.net/wiki/UserProfiles
|
|
||||||
##
|
##
|
||||||
## Usage:
|
## Usage:
|
||||||
## >web2lrf --user-profile nasa.py
|
## >web2lrf --user-profile nasa.py
|
||||||
@ -40,7 +39,7 @@ class NASA(BasicNewsRecipe):
|
|||||||
## Don't grab articles more than 30 days old
|
## Don't grab articles more than 30 days old
|
||||||
oldest_article = 30
|
oldest_article = 30
|
||||||
|
|
||||||
preprocess_regexps = [(re.compile(i[0], re.IGNORECASE | re.DOTALL), i[1]) for i in
|
preprocess_regexps = [(re.compile(i[0], re.IGNORECASE | re.DOTALL), i[1]) for i in
|
||||||
[
|
[
|
||||||
## Fix the encoding to UTF-8
|
## Fix the encoding to UTF-8
|
||||||
(r'<meta http-equiv="Content-Type" content="text/html; charset=(\S+)"', lambda match : match.group().replace(match.group(1), 'UTF-8')),
|
(r'<meta http-equiv="Content-Type" content="text/html; charset=(\S+)"', lambda match : match.group().replace(match.group(1), 'UTF-8')),
|
||||||
@ -53,12 +52,12 @@ class NASA(BasicNewsRecipe):
|
|||||||
|
|
||||||
## Correctly embed in-line images by removing the surrounding javascript that will be ignored in the conversion
|
## Correctly embed in-line images by removing the surrounding javascript that will be ignored in the conversion
|
||||||
(r'<a.*?onclick.*?>.*?(<img .*?>)', lambda match: match.group(1),),
|
(r'<a.*?onclick.*?>.*?(<img .*?>)', lambda match: match.group(1),),
|
||||||
|
|
||||||
## This removes header and footer information from each print version.
|
## This removes header and footer information from each print version.
|
||||||
(r'<!-- Top Header starts -->.*?<!-- Body starts -->', lambda match : '<New Stuff>'),
|
(r'<!-- Top Header starts -->.*?<!-- Body starts -->', lambda match : '<New Stuff>'),
|
||||||
(r'<hr align="center" width="200"><p align="center">.*?<!-- Press Release standard text ends -->', lambda match : '<New Stuff>'),
|
(r'<hr align="center" width="200"><p align="center">.*?<!-- Press Release standard text ends -->', lambda match : '<New Stuff>'),
|
||||||
(r'<!-- Top Header starts -->.*?<!---->', lambda match : '<New Stuff>'),
|
(r'<!-- Top Header starts -->.*?<!---->', lambda match : '<New Stuff>'),
|
||||||
|
|
||||||
## This removes the "download image" of various sizes from the Image of the day.
|
## This removes the "download image" of various sizes from the Image of the day.
|
||||||
(r'<div id="download_image_box_print">.*?<div id="caption_region_print">', lambda match : '<New Stuff>'),
|
(r'<div id="download_image_box_print">.*?<div id="caption_region_print">', lambda match : '<New Stuff>'),
|
||||||
|
|
||||||
|
@ -336,7 +336,7 @@ class Py2App(object):
|
|||||||
NSAppleScriptEnabled=False,
|
NSAppleScriptEnabled=False,
|
||||||
NSHumanReadableCopyright='Copyright 2008, Kovid Goyal',
|
NSHumanReadableCopyright='Copyright 2008, Kovid Goyal',
|
||||||
CFBundleGetInfoString=('calibre, an E-book management '
|
CFBundleGetInfoString=('calibre, an E-book management '
|
||||||
'application. Visit http://calibre.kovidgoyal.net for details.'),
|
'application. Visit http://calibre-ebook.com for details.'),
|
||||||
CFBundleIconFile='library.icns',
|
CFBundleIconFile='library.icns',
|
||||||
LSMultipleInstancesProhibited=True,
|
LSMultipleInstancesProhibited=True,
|
||||||
LSEnvironment=env
|
LSEnvironment=env
|
||||||
|
@ -404,7 +404,7 @@ def main():
|
|||||||
'packages' : ['PIL', 'Authorization', 'lxml', 'dns'],
|
'packages' : ['PIL', 'Authorization', 'lxml', 'dns'],
|
||||||
'excludes' : ['IPython', 'PyQt4.uic.port_v3.proxy_base'],
|
'excludes' : ['IPython', 'PyQt4.uic.port_v3.proxy_base'],
|
||||||
'plist' : { 'CFBundleGetInfoString' : '''calibre, an E-book management application.'''
|
'plist' : { 'CFBundleGetInfoString' : '''calibre, an E-book management application.'''
|
||||||
''' Visit http://calibre.kovidgoyal.net for details.''',
|
''' Visit http://calibre-ebook.com for details.''',
|
||||||
'CFBundleIdentifier':'net.kovidgoyal.calibre',
|
'CFBundleIdentifier':'net.kovidgoyal.calibre',
|
||||||
'CFBundleShortVersionString':VERSION,
|
'CFBundleShortVersionString':VERSION,
|
||||||
'CFBundleVersion':APPNAME + ' ' + VERSION,
|
'CFBundleVersion':APPNAME + ' ' + VERSION,
|
||||||
|
@ -61,10 +61,10 @@
|
|||||||
WorkingDirectory="APPLICATIONROOTDIRECTORY" />
|
WorkingDirectory="APPLICATIONROOTDIRECTORY" />
|
||||||
<util:InternetShortcut Id="OnlineDocumentationShortcut"
|
<util:InternetShortcut Id="OnlineDocumentationShortcut"
|
||||||
Name="User Manual" Type="url"
|
Name="User Manual" Type="url"
|
||||||
Target="http://calibre.kovidgoyal.net/user_manual"/>
|
Target="http://calibre-ebook.com/user_manual"/>
|
||||||
<util:InternetShortcut Id="GetInvolvedS"
|
<util:InternetShortcut Id="GetInvolvedS"
|
||||||
Name="Get Involved" Type="url"
|
Name="Get Involved" Type="url"
|
||||||
Target="http://calibre.kovidgoyal.net/wiki/Development"/>
|
Target="http://calibre-ebook.com/get-involved"/>
|
||||||
|
|
||||||
<RemoveFolder Id="ApplicationProgramsFolder" On="uninstall"/>
|
<RemoveFolder Id="ApplicationProgramsFolder" On="uninstall"/>
|
||||||
<RegistryValue Root="HKCU" Key="Software\Microsoft\{app}" Name="start_menu_shortcuts_installed" Type="integer" Value="1" KeyPath="yes"/>
|
<RegistryValue Root="HKCU" Key="Software\Microsoft\{app}" Name="start_menu_shortcuts_installed" Type="integer" Value="1" KeyPath="yes"/>
|
||||||
|
@ -18,7 +18,7 @@ class Metadata(object):
|
|||||||
version = __version__
|
version = __version__
|
||||||
author = 'Kovid Goyal'
|
author = 'Kovid Goyal'
|
||||||
author_email = 'kovid@kovidgoyal.net'
|
author_email = 'kovid@kovidgoyal.net'
|
||||||
url = 'http://calibre.kovidgoyal.net'
|
url = 'http://calibre-ebook.com'
|
||||||
description = 'E-book management application.'
|
description = 'E-book management application.'
|
||||||
long_description = open('README', 'rb').read()
|
long_description = open('README', 'rb').read()
|
||||||
license = 'GPL'
|
license = 'GPL'
|
||||||
|
@ -330,8 +330,6 @@ class UploadToServer(Command):
|
|||||||
shell=True)
|
shell=True)
|
||||||
check_call('scp dist/calibre-*.tar.gz.asc divok:%s/signatures/'%DOWNLOADS,
|
check_call('scp dist/calibre-*.tar.gz.asc divok:%s/signatures/'%DOWNLOADS,
|
||||||
shell=True)
|
shell=True)
|
||||||
check_call('ssh divok bzr update /var/www/calibre.kovidgoyal.net/calibre/',
|
|
||||||
shell=True)
|
|
||||||
check_call('ssh divok bzr update /usr/local/calibre',
|
check_call('ssh divok bzr update /usr/local/calibre',
|
||||||
shell=True)
|
shell=True)
|
||||||
check_call('''ssh divok echo %s \\> %s/latest_version'''\
|
check_call('''ssh divok echo %s \\> %s/latest_version'''\
|
||||||
|
@ -40,7 +40,7 @@ To get help on them specify the input and output file and then use the -h \
|
|||||||
option.
|
option.
|
||||||
|
|
||||||
For full documentation of the conversion system see
|
For full documentation of the conversion system see
|
||||||
''') + 'http://calibre.kovidgoyal.net/user_manual/conversion.html'
|
''') + 'http://calibre-ebook.com/user_manual/conversion.html'
|
||||||
|
|
||||||
def print_help(parser, log):
|
def print_help(parser, log):
|
||||||
help = parser.format_help().encode(preferred_encoding, 'replace')
|
help = parser.format_help().encode(preferred_encoding, 'replace')
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
</head>
|
</head>
|
||||||
<h1>Demo of <span style='font-family:monospace'>html2lrf</span></h1>
|
<h1>Demo of <span style='font-family:monospace'>html2lrf</span></h1>
|
||||||
<p>
|
<p>
|
||||||
This document contains a demonstration of the capabilities of <span style='font-family:monospace'>html2lrf</span>, the HTML to LRF converter from <em>calibre.</em> To obtain calibre visit<br/><span style='font:sans-serif'>http://calibre.kovidgoyal.net</span>
|
This document contains a demonstration of the capabilities of <span style='font-family:monospace'>html2lrf</span>, the HTML to LRF converter from <em>calibre.</em> To obtain calibre visit<br/><span style='font:sans-serif'>http://calibre-ebook.com</span>
|
||||||
</p>
|
</p>
|
||||||
<br/>
|
<br/>
|
||||||
<h2 id="toc">Table of Contents</h2>
|
<h2 id="toc">Table of Contents</h2>
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
<property name="text">
|
<property name="text">
|
||||||
<string><p>This wizard will help you choose an appropriate font size key for your needs. Just enter the base font size of the input document and then enter an input font size. The wizard will display what font size it will be mapped to, by the font rescaling algorithm. You can adjust the algorithm by adjusting the output base font size and font key below. When you find values suitable for you, click OK.</p>
|
<string><p>This wizard will help you choose an appropriate font size key for your needs. Just enter the base font size of the input document and then enter an input font size. The wizard will display what font size it will be mapped to, by the font rescaling algorithm. You can adjust the algorithm by adjusting the output base font size and font key below. When you find values suitable for you, click OK.</p>
|
||||||
<p>By default, if the output base font size is zero and/or no font size key is specified, calibre will use the values from the current Output Profile. </p>
|
<p>By default, if the output base font size is zero and/or no font size key is specified, calibre will use the values from the current Output Profile. </p>
|
||||||
<p>See the <a href="http://calibre.kovidgoyal.net/user_manual/conversion.html#font-size-rescaling">User Manual</a> for a discussion of how font size rescaling works.</p></string>
|
<p>See the <a href="http://calibre-ebook.com/user_manual/conversion.html#font-size-rescaling">User Manual</a> for a discussion of how font size rescaling works.</p></string>
|
||||||
</property>
|
</property>
|
||||||
<property name="wordWrap">
|
<property name="wordWrap">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
|
@ -127,7 +127,7 @@
|
|||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="label_5">
|
<widget class="QLabel" name="label_5">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string><p>For example, to match all h2 tags that have class="chapter", set tag to <i>h2</i>, attribute to <i>class</i> and value to <i>chapter</i>.</p><p>Leaving attribute blank will match any attribute and leaving value blank will match any value. Setting tag to * will match any tag.</p><p>To learn more advanced usage of XPath see the <a href="http://calibre.kovidgoyal.net/user_manual/xpath.html">XPath Tutorial</a>.</string>
|
<string><p>For example, to match all h2 tags that have class="chapter", set tag to <i>h2</i>, attribute to <i>class</i> and value to <i>chapter</i>.</p><p>Leaving attribute blank will match any attribute and leaving value blank will match any value. Setting tag to * will match any tag.</p><p>To learn more advanced usage of XPath see the <a href="http://calibre-ebook.com/user_manual/xpath.html">XPath Tutorial</a>.</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="wordWrap">
|
<property name="wordWrap">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
|
@ -112,7 +112,7 @@
|
|||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="text" >
|
<property name="text" >
|
||||||
<string>See the <a href="http://calibre.kovidgoyal.net/user_manual/gui.html#the-search-interface">User Manual</a> for more help</string>
|
<string>See the <a href="http://calibre-ebook.com/user_manual/gui.html#the-search-interface">User Manual</a> for more help</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="openExternalLinks" >
|
<property name="openExternalLinks" >
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
|
@ -214,7 +214,7 @@ class Main(MainWindow, Ui_MainWindow, DeviceGUI):
|
|||||||
|
|
||||||
####################### Vanity ########################
|
####################### Vanity ########################
|
||||||
self.vanity_template = _('<p>For help see the: <a href="%s">User Manual</a>'
|
self.vanity_template = _('<p>For help see the: <a href="%s">User Manual</a>'
|
||||||
'<br>')%'http://calibre.kovidgoyal.net/user_manual'
|
'<br>')%'http://calibre-ebook.com/user_manual'
|
||||||
self.vanity_template += _('<b>%s</b>: %s by <b>Kovid Goyal '
|
self.vanity_template += _('<b>%s</b>: %s by <b>Kovid Goyal '
|
||||||
'%%(version)s</b><br>%%(device)s</p>')%(__appname__, __version__)
|
'%%(version)s</b><br>%%(device)s</p>')%(__appname__, __version__)
|
||||||
self.latest_version = ' '
|
self.latest_version = ' '
|
||||||
@ -1721,12 +1721,13 @@ class Main(MainWindow, Ui_MainWindow, DeviceGUI):
|
|||||||
<title>Donate to support calibre</title>
|
<title>Donate to support calibre</title>
|
||||||
</head>
|
</head>
|
||||||
<body style="background:white">
|
<body style="background:white">
|
||||||
<div><a href="http://calibre.kovidgoyal.net"><img style="border:0px" src="http://calibre.kovidgoyal.net/chrome/site/calibre_banner.png" alt="calibre" /></a></div>
|
<div><a href="http://calibre-ebook.com"><img style="border:0px"
|
||||||
|
src="file://%s" alt="calibre" /></a></div>
|
||||||
<p>Calibre %s</p>
|
<p>Calibre %s</p>
|
||||||
%s
|
%s
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
'''%(MSG, BUTTON)
|
'''%(P('content_server/calibre_banner.png').replace(os.sep, '/'), MSG, BUTTON)
|
||||||
pt = PersistentTemporaryFile('_donate.htm')
|
pt = PersistentTemporaryFile('_donate.htm')
|
||||||
pt.write(HTML.encode('utf-8'))
|
pt.write(HTML.encode('utf-8'))
|
||||||
pt.close()
|
pt.close()
|
||||||
@ -1812,7 +1813,7 @@ class Main(MainWindow, Ui_MainWindow, DeviceGUI):
|
|||||||
|
|
||||||
def update_found(self, version):
|
def update_found(self, version):
|
||||||
os = 'windows' if iswindows else 'osx' if isosx else 'linux'
|
os = 'windows' if iswindows else 'osx' if isosx else 'linux'
|
||||||
url = 'http://%s.kovidgoyal.net/download_%s'%(__appname__, os)
|
url = 'http://calibre-ebook.com/download_%s'%os
|
||||||
self.latest_version = '<br>' + _('<span style="color:red; font-weight:bold">'
|
self.latest_version = '<br>' + _('<span style="color:red; font-weight:bold">'
|
||||||
'Latest version: <a href="%s">%s</a></span>')%(url, version)
|
'Latest version: <a href="%s">%s</a></span>')%(url, version)
|
||||||
self.vanity.setText(self.vanity_template%\
|
self.vanity.setText(self.vanity_template%\
|
||||||
@ -1823,10 +1824,10 @@ class Main(MainWindow, Ui_MainWindow, DeviceGUI):
|
|||||||
dynamic.get('update to version %s'%version, True):
|
dynamic.get('update to version %s'%version, True):
|
||||||
if question_dialog(self, _('Update available'),
|
if question_dialog(self, _('Update available'),
|
||||||
_('%s has been updated to version %s. '
|
_('%s has been updated to version %s. '
|
||||||
'See the <a href="http://calibre.kovidgoyal.net/wiki/'
|
'See the <a href="http://calibre-ebook.com/whats-new'
|
||||||
'Changelog">new features</a>. Visit the download pa'
|
'">new features</a>. Visit the download pa'
|
||||||
'ge?')%(__appname__, version)):
|
'ge?')%(__appname__, version)):
|
||||||
url = 'http://calibre.kovidgoyal.net/download_'+\
|
url = 'http://calibre-ebook.com/download_'+\
|
||||||
('windows' if iswindows else 'osx' if isosx else 'linux')
|
('windows' if iswindows else 'osx' if isosx else 'linux')
|
||||||
QDesktopServices.openUrl(QUrl(url))
|
QDesktopServices.openUrl(QUrl(url))
|
||||||
dynamic.set('update to version %s'%version, False)
|
dynamic.set('update to version %s'%version, False)
|
||||||
|
@ -46,7 +46,7 @@
|
|||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="label_2">
|
<widget class="QLabel" name="label_2">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string><h2>Demo videos</h2>Videos demonstrating the various features of calibre are available <a href="http://calibre.kovidgoyal.net/downloads/videos/">online</a>.</string>
|
<string><h2>Demo videos</h2>Videos demonstrating the various features of calibre are available <a href="http://calibre-ebook.com/demo">online</a>.</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="wordWrap">
|
<property name="wordWrap">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
@ -75,7 +75,7 @@
|
|||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="label_3">
|
<widget class="QLabel" name="label_3">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string><h2>User Manual</h2>A User Manual is also available <a href="http://calibre.kovidgoyal.net/user_manual">online</a>.</string>
|
<string><h2>User Manual</h2>A User Manual is also available <a href="http://calibre-ebook.com/user_manual">online</a>.</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="wordWrap">
|
<property name="wordWrap">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
|
@ -64,7 +64,7 @@ STANZA_TEMPLATE='''\
|
|||||||
<title>calibre Library</title>
|
<title>calibre Library</title>
|
||||||
<author>
|
<author>
|
||||||
<name>calibre</name>
|
<name>calibre</name>
|
||||||
<uri>http://calibre.kovidgoyal.net</uri>
|
<uri>http://calibre-ebook.com</uri>
|
||||||
</author>
|
</author>
|
||||||
<id>$id</id>
|
<id>$id</id>
|
||||||
<updated>${updated.strftime('%Y-%m-%dT%H:%M:%SZ')}</updated>
|
<updated>${updated.strftime('%Y-%m-%dT%H:%M:%SZ')}</updated>
|
||||||
|
@ -176,7 +176,7 @@ class LibraryServer(object):
|
|||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
<link rel="icon" href="http://calibre.kovidgoyal.net/chrome/site/favicon.ico" type="image/x-icon" />
|
<link rel="icon" href="http://calibre-ebook.com/favicon.ico" type="image/x-icon" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="logo">
|
<div id="logo">
|
||||||
@ -276,7 +276,7 @@ class LibraryServer(object):
|
|||||||
${Markup(next_link)}
|
${Markup(next_link)}
|
||||||
<author>
|
<author>
|
||||||
<name>calibre</name>
|
<name>calibre</name>
|
||||||
<uri>http://calibre.kovidgoyal.net</uri>
|
<uri>http://calibre-ebook.com</uri>
|
||||||
</author>
|
</author>
|
||||||
<subtitle>
|
<subtitle>
|
||||||
${subtitle}
|
${subtitle}
|
||||||
@ -296,7 +296,7 @@ class LibraryServer(object):
|
|||||||
<link rel="search" title="Search" type="application/atom+xml" href="/stanza/?search={searchTerms}"/>
|
<link rel="search" title="Search" type="application/atom+xml" href="/stanza/?search={searchTerms}"/>
|
||||||
<author>
|
<author>
|
||||||
<name>calibre</name>
|
<name>calibre</name>
|
||||||
<uri>http://calibre.kovidgoyal.net</uri>
|
<uri>http://calibre-ebook.com</uri>
|
||||||
</author>
|
</author>
|
||||||
<subtitle>
|
<subtitle>
|
||||||
${subtitle}
|
${subtitle}
|
||||||
|
@ -120,7 +120,7 @@ html_copy_source = False
|
|||||||
# Output file base name for HTML help builder.
|
# Output file base name for HTML help builder.
|
||||||
htmlhelp_basename = 'calibredoc'
|
htmlhelp_basename = 'calibredoc'
|
||||||
|
|
||||||
html_use_opensearch = 'http://calibre.kovidgoyal.net/user_manual'
|
html_use_opensearch = 'http://calibre-ebook.com/user_manual'
|
||||||
|
|
||||||
html_show_sphinx = False
|
html_show_sphinx = False
|
||||||
|
|
||||||
|
@ -54,7 +54,7 @@ That's all. To add this code to |app| as a plugin, simply create a zip file with
|
|||||||
zip plugin.zip my_plugin.py
|
zip plugin.zip my_plugin.py
|
||||||
|
|
||||||
You can download the Hello World plugin from
|
You can download the Hello World plugin from
|
||||||
`helloworld_plugin.zip <http://calibre.kovidgoyal.net/downloads/helloworld_plugin.zip>`_.
|
`helloworld_plugin.zip <http://calibre-ebook.com/downloads/helloworld_plugin.zip>`_.
|
||||||
Now either use the configuration dialog in |app| GUI to add this zip file as a plugin, or
|
Now either use the configuration dialog in |app| GUI to add this zip file as a plugin, or
|
||||||
use the command::
|
use the command::
|
||||||
|
|
||||||
|
@ -65,7 +65,7 @@ this, make your changes, then run::
|
|||||||
bzr send -o my-changes
|
bzr send -o my-changes
|
||||||
|
|
||||||
This will create a :file:`my-changes` file in the current directory,
|
This will create a :file:`my-changes` file in the current directory,
|
||||||
simply attach that to a ticket on the |app| `bug tracker <http://calibre.kovidgoyal.net/newticket>`_.
|
simply attach that to a ticket on the |app| `bug tracker <http://bugs.calibre-ebook.com/newticket>`_.
|
||||||
|
|
||||||
If you plan to do a lot of development on |app|, then the best method is to create a
|
If you plan to do a lot of development on |app|, then the best method is to create a
|
||||||
`Launchpad <http://launchpad.net>`_ account. Once you have the account, you can use it to register
|
`Launchpad <http://launchpad.net>`_ account. Once you have the account, you can use it to register
|
||||||
|
@ -69,8 +69,7 @@ There are two aspects to this problem:
|
|||||||
How do I use some of the advanced features of the conversion tools?
|
How do I use some of the advanced features of the conversion tools?
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
You can get help on any individual feature of the converters by mousing over it in the GUI or running ``ebook-convert dummy.html .epub -h`` at a terminal. A good place to start is to look at the following demo files that demonstrate some of the advanced features:
|
You can get help on any individual feature of the converters by mousing over it in the GUI or running ``ebook-convert dummy.html .epub -h`` at a terminal. A good place to start is to look at the following demo files that demonstrate some of the advanced features:
|
||||||
* `html-demo.zip <http://calibre.kovidgoyal.net/downloads/html-demo.zip>`_
|
* `html-demo.zip <http://calibre-ebook.com/downloads/html-demo.zip>`_
|
||||||
* `txt-demo.zip <http://calibre.kovidgoyal.net/downloads/txt-demo.zip>`_
|
|
||||||
|
|
||||||
|
|
||||||
Device Integration
|
Device Integration
|
||||||
@ -232,7 +231,7 @@ I want |app| to download news from my favorite news website.
|
|||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
If you are reasonably proficient with computers, you can teach |app| to download news from any website of your choosing. To learn how to do this see :ref:`news`.
|
If you are reasonably proficient with computers, you can teach |app| to download news from any website of your choosing. To learn how to do this see :ref:`news`.
|
||||||
|
|
||||||
Otherwise, you can register a request for a particular news site by adding a comment `here <http://calibre.kovidgoyal.net/ticket/405>`_.
|
Otherwise, you can register a request for a particular news site by adding a comment `here <http://bugs.calibre-ebook.com/ticket/405>`_.
|
||||||
|
|
||||||
Can I use web2disk to download an arbitrary website?
|
Can I use web2disk to download an arbitrary website?
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
@ -285,5 +284,5 @@ Most purchased EPUB books have `DRM <http://wiki.mobileread.com/wiki/DRM>`_. Thi
|
|||||||
I want some feature added to |app|. What can I do?
|
I want some feature added to |app|. What can I do?
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
You have two choices:
|
You have two choices:
|
||||||
1. Create a patch by hacking on |app| and send it to me for review and inclusion. See `Development <http://calibre.kovidgoyal.net/wiki/Development>`_.
|
1. Create a patch by hacking on |app| and send it to me for review and inclusion. See `Development <http://calibre-ebook.com/get-involved>`_.
|
||||||
2. `Open a ticket <http://calibre.kovidgoyal.net/newticket>`_ (you have to register and login first) and hopefully I will find the time to implement your feature.
|
2. `Open a ticket <http://bugs.calibre-ebook.com/newticket>`_ (you have to register and login first) and hopefully I will find the time to implement your feature.
|
||||||
|
@ -270,7 +270,9 @@ Once the download is complete, you can look at the downloaded :term:`HTML` by op
|
|||||||
...
|
...
|
||||||
|
|
||||||
|
|
||||||
If you're satisfied with your recipe, consider attaching it to `the wiki <http://calibre.kovidgoyal.net/wiki/UserRecipes>`_, so that others can use it as well. If you feel there is enough demand to justify its inclusion into the set of built-in recipes, add a comment to the ticket http://calibre.kovidgoyal.net/ticket/405
|
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, add a comment to the ticket http://bugs.calibre-ebook.com/ticket/405
|
||||||
|
|
||||||
|
Alternatively, you could just post your recipe in the calibre forum at http://www.mobileread.com/forums/forumdisplay.php?f=166 to share it with other calibre users.
|
||||||
|
|
||||||
|
|
||||||
.. seealso::
|
.. seealso::
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{% extends "!layout.html" %}
|
{% extends "!layout.html" %}
|
||||||
{% block sidebarlogo %}
|
{% block sidebarlogo %}
|
||||||
<p class="logo">
|
<p class="logo">
|
||||||
<a href="http://calibre.kovidgoyal.net"><img class="logo" src="{{ pathto('_static/' + logo, 1) }}" alt="Logo"/></a>
|
<a href="http://calibre-ebook.com"><img class="logo" src="{{ pathto('_static/' + logo, 1) }}" alt="Logo"/></a>
|
||||||
</p>
|
</p>
|
||||||
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
||||||
<input type="hidden" name="cmd" value="_s-xclick" />
|
<input type="hidden" name="cmd" value="_s-xclick" />
|
||||||
|
@ -51,7 +51,7 @@ def create_man_page(prog, parser):
|
|||||||
|
|
||||||
lines += ['.SH SEE ALSO',
|
lines += ['.SH SEE ALSO',
|
||||||
'The User Manual is available at '
|
'The User Manual is available at '
|
||||||
'http://calibre.kovidgoyal.net/user_manual',
|
'http://calibre-ebook.com/user_manual',
|
||||||
'.PP', '.B Created by '+__author__]
|
'.PP', '.B Created by '+__author__]
|
||||||
|
|
||||||
lines = [x if isinstance(x, unicode) else unicode(x, 'utf-8', 'replace') for
|
lines = [x if isinstance(x, unicode) else unicode(x, 'utf-8', 'replace') for
|
||||||
|
Loading…
x
Reference in New Issue
Block a user