gdoteof/election — Issue #16: Addition of a .skl extension to API cause a refresh in HTML Skeleton
Author: acrawford
Created: 2012-03-02 20:26:58+00:00
State: open

I worked hard not to mess anything up with this additional code. It includes a few new functions, and splits off a different handling for results (HTML Skeleton) destined to be on the public results page.

To cause a refresh you must navigate to the https://www.example.org/e/town-meeting-season-2011/town-meeting-day-2011,
and then enter the new URI as https://www.example.org/e/town-meeting-season-2011/town-meeting-day-2011.skl and reload. This launches the file cache refresh. I am assuming that I can't load the URI directly because the server doesn't know what to to with a .skl content type. Doing things this way is pretty horrible, but functional.

I have tried hard to break existing functionality in testing, and it looks good at this point.