Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Dziallas <sebastian@when.com>2009-11-17 14:11:14 (GMT)
committer Sebastian Dziallas <sebastian@when.com>2009-11-17 14:11:14 (GMT)
commitaf33a7a8507357d20749cd5132f62463797c99c6 (patch)
tree081d9854d669eaa79c1f3f1ee372ebfcd4c19c99
parent012236faadd63cef3ee4c513e660f7c8738637e8 (diff)
adjust to use ebooks from epubbooks.com (thanks!)
-rwxr-xr-xcopy-to-datastore.py10
-rw-r--r--soas-aslo-and-content.ks4
2 files changed, 8 insertions, 6 deletions
diff --git a/copy-to-datastore.py b/copy-to-datastore.py
index 8b93089..783e87c 100755
--- a/copy-to-datastore.py
+++ b/copy-to-datastore.py
@@ -66,12 +66,14 @@ def create_entry(filename, meta):
create_content_file(metadata_path, 'checksum', calculate_md5sum(os.path.join(path, 'data')))
create_content_file(metadata_path, 'tags', tags)
+http://www.epubbooks.com/book/7/
+
files = (
- ("pg11.epub",
- {"title": "Alice's Adventures in Wonderland (EPUB)",
+ ("carroll-alice-in-wonderland-illustrations.epub",
+ {"title": "Alice in Wonderland by Lewis Carroll",
"mime_type": "application/epub+zip",
- "description": "Alice's Adventures in Wonderland is a novel by Lewis Carroll about a girl called Alice.",
- "tags": "Alice Adventures Wonderland Novel English",
+ "description": "Source of legend and lyric, reference and conjecture, Alice's Adventures in Wonderland is for most children pure pleasure in prose. While adults try to decipher Lewis Carroll's putative use of complex mathematical codes in the text, or debate his alleged use of opium, young readers simply dive with Alice through the rabbit hole, pursuing 'The dream-child moving through a land / Of wonders wild and new.' There they encounter the White Rabbit, the Queen of Hearts, the Mock Turtle, and the Mad Hatter, among a multitude of other characters--extinct, fantastical, and commonplace creatures. Alice journeys through this Wonderland, trying to fathom the meaning of her strange experiences. But they turn out to be 'curiouser and curiouser,' seemingly without moral or sense. For more than 130 years, children have reveled in the delightfully non-moralistic, non-educational virtues of this classic. In fact, at every turn, Alice's new companions scoff at her traditional education. The Mock Turtle, for example, remarks that he took the 'regular course' in school: Reeling, Writhing, and branches of Arithmetic-Ambition, Distraction, Uglification, and Derision.",
+ "tags": "Fantasy, Young Readers",
}),
("south_america.pdf",
diff --git a/soas-aslo-and-content.ks b/soas-aslo-and-content.ks
index c19eac5..19a7432 100644
--- a/soas-aslo-and-content.ks
+++ b/soas-aslo-and-content.ks
@@ -98,10 +98,10 @@ for pdf in $PDFS ; do
done
# pull e-books for inclusion
-EPUB="11" # Alice in Wonderland
+EPUB="7/carroll-alice-in-wonderland-illustrations" # Alice in Wonderland
for epub in $EPUB ; do
- url=http://www.gutenberg.org/cache/epub/$epub/pg$epub.epub
+ url=http://www.epubbooks.com/book/$epub.epub
remote_file=$(basename $(curl -4 -s -L -w %{url_effective} -I $url | tail -1))
bundle=$CACHE_DIR/$remote_file
if [ ! -f $bundle ] ; then