Skip to content

Commit

Permalink
PA-369: Separated the lobbying stuff into it's own page
Browse files Browse the repository at this point in the history
  • Loading branch information
mlandauer committed Aug 26, 2012
1 parent dd4697e commit 1d36950
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 17 deletions.
5 changes: 4 additions & 1 deletion app/controllers/static_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ class StaticController < ApplicationController
# Reinstate caching of faq page when all authorities have commenting feature
#caches_page :about, :faq, :get_involved
# Don't cache about page because we randomly rearrange the list of contributors on each request
caches_page :get_involved, :how_to_write_a_scraper
caches_page :get_involved, :how_to_write_a_scraper, :how_to_lobby_your_local_authority

def about
end
Expand All @@ -18,6 +18,9 @@ def get_involved
def how_to_write_a_scraper
end

def how_to_lobby_your_local_authority
end

def error_404
render :status => :not_found
end
Expand Down
17 changes: 1 addition & 16 deletions app/views/static/get_involved.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,7 @@
%p
You can lobby your local authority to publish its planning data in a machine readable format. Email the council planning department and General Manager. Contact your councillors and get them to support your mission.
%p
Use Mosman Council as an example of what good local authorities can do. See #{link_to "this link", "http://portal.mosman.nsw.gov.au/pages/xc.track/ChooseFeed.aspx"}. They provide a list of machine readable feeds which are licensed under a Creative Commons license.
%p
In NSW,
= link_to "The Government Information (Public Access) Act 2009", "http://www.legislation.nsw.gov.au/viewtop/inforce/act+52+2009+FIRST+0+N/"
(the GIPA Act), place requirements on local councils to publish the information they hold about development applications on their websites. See
= link_to "this report", "http://www.oic.nsw.gov.au/agdbasev7wr/_assets/oic/m150001l2/consultation%20report%20-%20untangling%20the%20web.pdf#xml=http://PRODMWI15-0/isysquery/a046336b-68b9-45f5-846e-d81d8183673a/2/hilite/"
from the Office of the Information Commissioner, NSW.
%p
For further arguments you can use see the Federal Government's
"#{link_to "Declaration of Open Government", "http://www.finance.gov.au/e-government/strategy-and-governance/gov2/declaration-of-open-government.html"}"
of 2010 in which it was stated that the government supports
%blockquote
&hellip; strengthening citizen’s rights of access to information, establishing a pro-disclosure culture across Australian Government agencies including through online innovation, and making government information more accessible and usable

%p
Would like to discuss the best approach? Have questions? Then, email the #{link_to "OpenAustralia Community mailing list", "http://groups.google.com/group/openaustralia-dev"}.
Here is our #{link_to "quick guide on how to lobby your local authority", how_to_lobby_your_local_authority_path}.

%h4
I don't have the time or I don't have the skills. How can I help?
Expand Down
24 changes: 24 additions & 0 deletions app/views/static/how_to_lobby_your_local_authority.html.haml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
- content_for :page_title, "How to lobby your local authority"
%h3= yield :page_title
%p
Here are just a few of the arguments that you can use when lobbying your local authority to publish its planning data in a machine readable format. These are jumping off points to get you started.
%p
Be prepared for the first response being "No". That's normal. Have your arguments ready and be persistent.

%p
Use Mosman Council as an example of what good local authorities can do. See #{link_to "this link", "http://portal.mosman.nsw.gov.au/pages/xc.track/ChooseFeed.aspx"}. They provide a list of machine readable feeds which are licensed under a Creative Commons license.
%p
In NSW,
= link_to "The Government Information (Public Access) Act 2009", "http://www.legislation.nsw.gov.au/viewtop/inforce/act+52+2009+FIRST+0+N/"
(the GIPA Act), place requirements on local councils to publish the information they hold about development applications on their websites. See
= link_to "this report", "http://www.oic.nsw.gov.au/agdbasev7wr/_assets/oic/m150001l2/consultation%20report%20-%20untangling%20the%20web.pdf#xml=http://PRODMWI15-0/isysquery/a046336b-68b9-45f5-846e-d81d8183673a/2/hilite/"
from the Office of the Information Commissioner, NSW.
%p
For further arguments you can use see the Federal Government's
"#{link_to "Declaration of Open Government", "http://www.finance.gov.au/e-government/strategy-and-governance/gov2/declaration-of-open-government.html"}"
of 2010 in which it was stated that the government supports
%blockquote
&hellip; strengthening citizen’s rights of access to information, establishing a pro-disclosure culture across Australian Government agencies including through online innovation, and making government information more accessible and usable

%p
Would like to discuss the best approach? Have questions? Then, email the #{link_to "OpenAustralia Community mailing list", "http://groups.google.com/group/openaustralia-dev"}.
1 change: 1 addition & 0 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
match 'faq' => 'static#faq', :as => :faq
match 'getinvolved' => 'static#get_involved', :as => :get_involved
match 'how_to_write_a_scraper' => 'static#how_to_write_a_scraper'
match 'how_to_lobby_your_local_authority' => 'static#how_to_lobby_your_local_authority'

match '/' => 'applications#address', :as => :address_applications

Expand Down

0 comments on commit 1d36950

Please sign in to comment.