Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master
Commits on Mar 18, 2014
  1. Fix packaging, bump to 0.0.3

Commits on Mar 17, 2014
  1. Switch to Cliff, overhaul command structure

    * Migrate all utilities under the "simple-cloud-site" top-level command
    * Migrate most progress information to logging
    * Consistent version numbering based on
    * frosted / isort cleanup
  2. modernization

  3. Rename update-template to apply-template, add creation / timestamps

    * Better script name
    * Add support for creating new files
    * Add support for updating timestamps
Commits on Nov 8, 2013
  1. publish-site: set default MIME type for uploaded files

    This avoids libcloud crashing when upload_object is called with
    something it can't guess by defaulting to `application/octet-stream`
Commits on Oct 4, 2013
  1. update-template: use post.get_publication_date() for sorting

    This does a nice ordered fallback for missing date fields
Commits on Sep 22, 2013
  1. Add a basic cache for page information to avoid reparsing HTML

    Previously every single run which loaded site-wide page structure
    required each page to be reloaded. Now they're cached locally so a
    simple template update doesn't need to trigger a full rescan simply
    to do something like generate next/previous links.
    Now Page has a from_cache classmethod which allows us to prepopulate
    properties from the cache, avoiding the expense of parsing a page
    just to e.g. get the creation date.
Commits on Sep 21, 2013
  1. Basic

Commits on Apr 14, 2013
  1. Create README.rst

  2. Correct handling of time/meta microdata

    This allows using both <time> and <meta> tags to serve as the dateCreated/dateModified/datePublished properties
  3. Work around lxml / PyQuery bugs with unicode

    If you have HTML which isn't parseable as XML – i.e. HTML5 – PyQuery
    will use lxml.html.fromstring() to parse it, which treats all input
    as latin-1(!) even if it arrived in a Python 3 unicode string.
    The solution is to parse the HTML string using lxml.html.fromstring
    with a declared Unicode parser and then pass the result to PyQuery
    as elements. See gawel/pyquery#31 and
    This also required working around a separate bug handling lxml
    _ElementUnicodeResult objects: gawel/pyquery#32
Commits on Apr 13, 2013
  1. Big refactor

    * Refactored to have a simple Page class representing an HTML page
      which holds (and caches) various accessor properties
    * Added basic site config system
    * Refactored HTML tidying into a function allowing it to be used
    * Simplified update-template using Page & added support for post
      navigation links (which required Page & site config)
  2. update-template: first version of a page content updater

    This takes an existing HTML page, loads the existing data and 
    populates the specified template
  3. update-indices: fix logic for updating existing files

    Since placeholder was removed, this only worked the first time it
    generated a new index file
  4. Refactor find_recent_pages

    Now we have one cached function which finds all blog posts and 
    another which returns n most recent posts
  5. publish-site: ignore SCSS

Commits on Feb 10, 2013
Commits on Feb 1, 2013
  1. update-indices: HTML5 tidying

    After some testing, the cleanest solution appears to be shelling out
    to tidy-html5
Commits on Jan 21, 2013
  1. Refactor HTML processing logic from generate-feeds into modules

    This will allow other scripts to reuse the same HTML extraction
Commits on Jan 20, 2013
  1. devserver: simple local HTTP development server

    This allows you to develop locally with non-minified stylesheets and scripts and
    serve compressed resources in production without having to rewrite filenames or
    use a templating system
Commits on Dec 17, 2012
  1. Refactored sitemap generator to support RSS/Atom

    * Refactored common logic into a Feed base class
    * Added RSS & Atom support
    * Added title / description extraction
    * Added proper date handling
Commits on Dec 10, 2012
  1. Basic sitemap.xml generator

Commits on Dec 5, 2012
  1. Enforce region pinning

    No more semi-randomly distributing files between ORD and DFW…
Commits on Dec 4, 2012
  1. Remove debugging code

  2. Convert to threaded upload pool

  3. Migrated to Python 3

  4. 0.0.1 alpha

Something went wrong with that request. Please try again.