Commits on Aug 9, 2016
  1. Deal with all 403 errors similarly

    committed Aug 9, 2016
Commits on Mar 7, 2016
Commits on Oct 7, 2014
Commits on Oct 2, 2014
  1. The API is not returning 403s where we're not allowed to access the a…

    This also removes the odd case of returning None to represent a 404 and turns
    that into another exception.
    committed Oct 2, 2014
Commits on Sep 22, 2014
  1. Revert "Change the host used for API requests"

    This doesn't seem to be necessary - I guess because the new version
    is out of beta now.
    This reverts commit 87511bc.
    committed Sep 22, 2014
  2. Use /usr/bin/env in the shebang line

    committed Sep 22, 2014
  3. Change the host used for API requests

    committed Sep 22, 2014
Commits on Aug 24, 2014
  1. Increase the time between API calls

    This is in the hope of avoiding the 403 errors that we sometimes get.
    committed Aug 24, 2014
  2. Also deal with PNG images

    committed Aug 24, 2014
Commits on Aug 3, 2013
Commits on Apr 29, 2011
  1. (Finally) add a masthead image to the generated periodical

    Thanks to Marco Arment for describing how to do this in a comment
    on this Stack Overflow answer of mine:
    Closes #2
    committed Apr 29, 2011
Commits on Apr 18, 2011
Commits on Mar 30, 2011
Commits on Mar 26, 2011
  1. We only need to include identical image data once

    It turns out that the advertisement images that are delivered
    with the Guardian's API are very often byte-for-byte identical.
    So, it makes sense to only store these once.  This produces a
    great saving in the size of the final book - e.g. on today
    (a Saturday) it means 3.3M rather than 7.7M.
    committed Mar 26, 2011
Commits on Mar 6, 2011
  1. Include description in article list entry.

    Finally! After 6 hours of trying different ways I dreamt up that
    might result in getting the article description to appear in the
    Kindle's list I've cracked it!
    Closes GH-3
    Dominic Evans committed with Mar 5, 2011
  2. Instead of gd and ImageMagick, use PIL for creating the cover image

    Thanks to Dominic Evans for this suggestion.
    committed Mar 6, 2011
Commits on Feb 19, 2011
  1. Fix a couple of minor XML bugs in nav-contents.ncx

    Dominic Evans committed Feb 10, 2011
Commits on Feb 17, 2011
  1. Make the cover image font slightly smaller

    (In fact, this cover image isn't actually seen any more.)
    committed Feb 17, 2011
Commits on Feb 16, 2011
Commits on Feb 9, 2011
  1. Add first guess attempt at generating periodical.

    Kindle periodical format isn't well documented, but this seems to be
    generating an approximation of what we need.
    Dominic Evans committed Feb 9, 2011
  2. Remove msttcorefonts dependency.

    Add simple fc-match call for Helvetica (original Guardian font afaik) rather
    than hardcoded Arial.
    Dominic Evans committed Feb 9, 2011
Commits on Oct 25, 2010
  1. Merge remote branch 'origin/master'

    committed Oct 25, 2010
  2. kindlegen exits with error if there are warnings

    The better solution would be to fix these warnings, which are almost
    always about unresolvable links - these could just be removed when
    processing the article body.
    committed Oct 25, 2010
Commits on Oct 24, 2010