Skip to content

anoved/Calibre-Recipe-for-Strange-Horizons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

Calibre Recipe for Strange Horizons

Strange Horizons is a weekly magazine of and about speculative fiction. Calibre is a free and open source ebook library management application.

Calibre has an extensible system "for downloading news from the Internet and converting it into an ebook." The scripts Calibre uses to retrieve and format news are called recipes. Recipes can be configured as simple RSS readers or as custom Python scripts using Calibre's recipe API.

Strange Horizons is published online as a web site. This Calibre recipe retrieves the current issue of Strange Horizons and outputs an ebook suitable for reading on a Kindle or other ereader device.

Disclaimer

This recipe is intended for personal use only. It is not associated with Strange Horizons and is provided as a convenience for fellow fans of the magazine. Please do not distribute unauthorized ebooks of Strange Horizons.

Installation and Setup

As of Calibre 0.8.38, this recipe is included with Calibre. No installation is necessary; just click Fetch news and search for Strange Horizons in the Schedule news download window. Check Schedule for download and specify when new issues should be downloaded. I strongly suggest scheduling downloads for the weekend - otherwise, reviews published over the course of the week may not be included (see Limitations, discussed below). Click Save.

Screenshot of News Schedule Setup

Alternatively, click Download now (again, issue may be incomplete depending when you download it).

Note that Calibre may format the retrieved ebook differently depending on settings such as Preferences > Interface > Behavior > Preferred Output Format and Preferences > Conversion > Common Options > Page Setup > Output profile. I use the MOBI and Kindle settings, respectively. As a result, the output ebook appears in navigable periodical format:

Kindle screenshot of sections and articles index

More example Kindle screenshots can be found in screenshots.

Note that if you use Calibre to reconvert this recipe's output to a new MOBI file, the new file will not be formatted as a periodical, and you can therefore opt to manually file it in the Kindle collections of your choice.

Manual Installation

This is only necessary if you need to use the recipe with an older version of Calibre. Select Add a custom news source from the Fetch news menu. Click Load recipe from file and select strangehorizons.recipe, downloaded from this repository:

Screenshot of Add a custom news source window

Customization

Recent back issues can be retrieved by changing the value of the INDEX variable from http://www.strangehorizons.com/ to an issue archive page such as http://www.strangehorizons.com/2012/20120123/. Reviews are currently retrieved from the Recent Reviews page, so reviews will not be included for back issues older than a month or so. This limitation may be circumvented in the future by using the full reviews archive to look up reviews. (In either case, this recipe is reliant on a separate list of reviews because the issue indices unfortunately do not link directly to associated reviews.)

Limitations

This recipe retrieves the current issue of Strange Horizons. New issues are published on Mondays. However, the reviews associated with each issue are published over the course of the week (typically on Monday, Wednesday, and Friday). Therefore, it is recommended to run the recipe on the weekend; otherwise, the generated ebook may be incomplete (unreleased reviews will not be included).

Changes to the layout of the Strange Horizons website or unusually formatted article titles or indices may not be compatible with this recipe.

Formatting and some special characters are not preserved in the article summary text that appears in the ebook section previews.

Links

About

A script to retrieve the current issue of Strange Horizons and format it as an ebook.

Resources

Stars

Watchers

Forks

Packages

No packages published