SFMOCI / openlaw

Downloading, cloning, forking or using these files in any way indicates that you've read and accept the terms of use in the enclosed notice.
https://github.com/SFMOCI/openlaw/blob/master/Notice.md
MIT License
109 stars 12 forks source link

consider adding your scripts to generate the gh-pages in the master branch #1

Closed LaurentGoderre closed 10 years ago

LaurentGoderre commented 10 years ago

This would allow another city to re purpose the project.

jasonlally commented 10 years ago

Can you elaborate? Not using any scripts to generate the page on gh-pages, just straight HTML, CSS and javascript. Cities that fork the project can reuse the code on the gh-pages branch.

LaurentGoderre commented 10 years ago

You don't use a script to convert the text or rdf to html? How do they stay in sync?

seanknox commented 10 years ago

@LaurentGoderre The website just links to the zip files in the repo (I'd assume). There's nothing dynamic.

LaurentGoderre commented 10 years ago

So the laws are not in a Web format?

seanknox commented 10 years ago

The laws are in TXT and RTF format, compressed in a zip or tar.gz file.

jasonlally commented 10 years ago

The text files are being parsed separately and fed in to http://sanfranciscocode.org. Here they are available as JSON bulk downloads or via an API.

jasonlally commented 10 years ago

Once we kick the tires on the parsers, I'll share those here and in the documentation.

jasonlally commented 10 years ago

Here are the parsers: https://github.com/opengovfoundation/sf-parsers