frabcus / judgmental

UK case law
http://judgmental.org.uk/
16 stars 4 forks source link

Link to legislation.gov.uk #10

Open pinballslouch opened 13 years ago

pinballslouch commented 13 years ago

Similar to issue 1, we could identify all mentions of Acts of Parliament and link to them on legislation.gov.uk.

Tricky enhancement: if "clause X" is mentioned in the same sentence or nearby, link to the correct clause, not just the whole Act.

jcranch commented 13 years ago

I'm keen. Is there a list of Acts of Parliament anywhere? If not, is there anywhere I could scrape one from? :-)

pinballslouch commented 13 years ago

I've just committed a new file legislation.py which pulls info from legislation.gov.uk's Atom feed and populates a 'legislation' table in the database.