Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Mar 18, 2014

  1. Chris Adams

    Fix packaging, bump to 0.0.3

    authored March 18, 2014

Mar 17, 2014

  1. Chris Adams

    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 setup.py
    * frosted / isort cleanup
    authored March 17, 2014
  2. Chris Adams

    setup.py modernization

    authored March 17, 2014
  3. Chris Adams

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

    * Better script name
    * Add support for creating new files
    * Add support for updating timestamps
    authored March 17, 2014

Nov 08, 2013

  1. Chris Adams

    update-template: add --verbose, --all-posts options

    authored November 08, 2013
  2. Chris Adams

    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`
    authored November 08, 2013

Oct 04, 2013

  1. Chris Adams

    Assume system timezone for unspecified dates

    authored October 04, 2013
  2. Chris Adams

    update-template: use post.get_publication_date() for sorting

    This does a nice ordered fallback for missing date fields
    authored October 04, 2013

Sep 22, 2013

  1. Chris Adams

    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.
    authored September 21, 2013

Sep 21, 2013

  1. Chris Adams

    Basic setup.py

    authored September 21, 2013

Apr 14, 2013

  1. Chris Adams

    Create README.rst

    authored April 14, 2013
  2. Chris Adams

    Correct handling of time/meta microdata

    This allows using both <time> and <meta> tags to serve as the
    schema.org dateCreated/dateModified/datePublished properties
    authored April 14, 2013
  3. Chris Adams

    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 https://bugs.launchpad.net/lxml/+bug/898072
    
    This also required working around a separate bug handling lxml
    _ElementUnicodeResult objects: gawel/pyquery#32
    authored April 14, 2013
  4. Chris Adams

    update-template: remove empty meta description tags

    authored April 14, 2013

Apr 13, 2013

  1. Chris Adams

    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
      pervasively
    * Simplified update-template using Page & added support for post
      navigation links (which required Page & site config)
    authored April 13, 2013
  2. Chris Adams

    update-template: first version of a page content updater

    This takes an existing HTML page, loads the existing data and 
    populates the specified template
    authored April 13, 2013
  3. Chris Adams

    update-indices: fix logic for updating existing files

    Since placeholder was removed, this only worked the first time it
    generated a new index file
    authored April 13, 2013
  4. Chris Adams

    Refactor find_recent_pages

    Now we have one cached function which finds all blog posts and 
    another which returns n most recent posts
    authored April 13, 2013
  5. Chris Adams

    publish-site: ignore SCSS

    authored April 13, 2013

Feb 10, 2013

  1. Chris Adams

    update-indices: now actually useful

    authored February 10, 2013

Feb 01, 2013

  1. Chris Adams

    update-indices: HTML5 tidying

    After some testing, the cleanest solution appears to be shelling out
    to tidy-html5
    authored January 31, 2013
  2. Chris Adams

    First pass at an index page generator

    authored January 21, 2013

Jan 21, 2013

  1. Chris Adams

    Refactor HTML processing logic from generate-feeds into modules

    This will allow other scripts to reuse the same HTML extraction
    logic
    authored January 21, 2013

Jan 20, 2013

  1. Chris Adams

    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
    authored January 20, 2013
  2. Chris Adams

    generate-feeds: added lxml bug note

    authored January 20, 2013

Dec 17, 2012

  1. Chris Adams

    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
    authored December 16, 2012

Dec 10, 2012

  1. Chris Adams

    Basic sitemap.xml generator

    authored December 09, 2012
  2. Chris Adams

    Refactor file detection logic into a module

    authored December 09, 2012

Dec 05, 2012

  1. Chris Adams

    Enforce region pinning

    No more semi-randomly distributing files between ORD and DFW…
    authored December 04, 2012
  2. Chris Adams

    Slightly closer to Python 2 backwards-compatibility

    authored December 04, 2012

Dec 04, 2012

  1. Chris Adams

    publish-site: only upload new or modified files

    authored December 03, 2012
  2. Chris Adams

    Remove debugging code

    authored December 03, 2012
  3. Chris Adams

    Convert to threaded upload pool

    authored December 03, 2012
  4. Chris Adams

    Migrated to Python 3

    authored December 03, 2012
  5. Chris Adams

    0.0.1 alpha

    authored December 02, 2012
Something went wrong with that request. Please try again.