This tool is a collection of Ruby and Javascript programs that convert (PDF to JSON to HTML) the council meeting hansards posted on the City of Winnipeg website.
- Download a hansard PDF from the City of Winnipeg website.
- Convert the PDF to an HTML file using HTML Publish*.
- Run the parse_handsard.rb with the name of a converted HTML file from step 2 as the only argument.
- Load the generated HTML file in a web-browser and fix any parsing errors.
- Grab the resulting JSON.
- Run the visualization script to convert the JSONified hansard into HTML meeting minutes.
* If this service ever goes down it should be possible to use BCL easyConverter SDK to perform this conversion.
This is free and unencumbered software released into the public domain. See UNLICENSE for details.