diff options
author | Sebastian Dziallas <sebastian@when.com> | 2009-12-02 21:34:12 (GMT) |
---|---|---|
committer | Sebastian Dziallas <sebastian@when.com> | 2009-12-02 21:34:12 (GMT) |
commit | 0da83ce27d1aade2be19d63d3aef45fd4c20e958 (patch) | |
tree | 97cc9c44e0711903bb47c6247f3f9fdf64a4f5f8 | |
parent | eccc114a34b0bd8d2df518c441bf19d1a9facd04 (diff) |
exchange ebooks. more commits to come.
-rw-r--r-- | soas-aslo-and-content.ks | 33 |
1 files changed, 2 insertions, 31 deletions
diff --git a/soas-aslo-and-content.ks b/soas-aslo-and-content.ks index 0abcc7b..a0d1b02 100644 --- a/soas-aslo-and-content.ks +++ b/soas-aslo-and-content.ks @@ -100,26 +100,11 @@ for pdf in $PDFS ; do cp -p $bundle $BUNDLES_DIR done -# e-books from epubbooks.com -EPUB="$EPUB 1/dickens-a-christmas-carol-illustrations" # A Christmas Carol -EPUB="$EPUB 7/carroll-alice-in-wonderland-illustrations" # Alice in Wonderland -EPUB="$EPUB 19/baum-dorothy-and-the-wizard-in-oz-illustrations" # Dorothy and the Wizard in Oz -EPUB="$EPUB 24/swift-gullivers-travels-illustrations" # Gulliver's Travels -EPUB="$EPUB 148/burnett-secret-garden-illustrations" # The Secret Garden - -for epub in $EPUB ; do - 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 - curl -s -4 -L $url > $bundle - fi - cp -p $bundle $BUNDLES_DIR -done - # e-books from project gutenberg +EPUB="$EPUB 3455" # Nederlandsche Sagen en Legenden EPUB="$EPUB 11589" # Les Voyages Extraordinaires EPUB="$EPUB 17161" # Max und Moritz +EPUB="$EPUB 28314" # The Yellow Fairy Book for epub in $EPUB ; do url=http://www.gutenberg.org/cache/epub/$epub/pg$epub-images.epub @@ -131,20 +116,6 @@ for epub in $EPUB ; do cp -p $bundle $BUNDLES_DIR done -# more CC licensed e-books for us -BOOK="$BOOK http://trailblazing.royalsociety.org/pdf/All.pdf" # Royal Society -BOOK="$BOOK http://www.liberliber.it/biblioteca/c/collodi/pinocchio/epub/collodi_pinocchio.epub" # Pinocchio - -for book in $BOOK ; do - url=$book - remote_file=$(basename $(curl -4 -s -L -w %{url_effective} -I $url | tail -1)) - bundle=$CACHE_DIR/$remote_file - if [ ! -f $bundle ] ; then - curl -s -4 -L $url > $bundle - fi - cp -p $bundle $BUNDLES_DIR -done - # get the script to install the activities cp -p $WD/../install-activity.py . chmod a+x ./install-activity.py |