Why build a new site for Birmingham City Council?

bccdiy

Here’s my reasoning and some background on how/why I’ve been collaboratively putting together BCCDIY.com

Birmingham City Council launched their new website recently, and many people commented that it wasn’t up to scratch in terms of value for money, especially given the £2.8m price tag and the rather long time it took to produce.

I was originally quite restrained on my thoughts on the project, but after some discussion and criticism online, mainly on the City’s backchannel Twitter, the head of the project came out swinging at “The Twitterati”. He backed his rather bullish response up with odd comments questioning why anyone would want to see council meeting records online and an ultimately less-than-factual article glossing-over of the website’s problems.

That understandably got a few people riled, given the city’s strong and vocal social/digital media scene. But it got worse: at an event called Recasting Power last week, the deputy leader, Councillor Paul Tilsley of the council said “Yes – we spent a bit of money on it”, in a rather dismissive way, claiming that moving some 87,000 pages (@rasga tried to get this fact checked, and the previous estimate was 17,000, mine is sub 1000 for the main site) from one site to another is a complicated task. Tom Loosemore from 4IP piped up that they’d been taken for a ride, which the mood of the audience seemed to back up.

I got home and found that Councillor Tilsley had published a blog post in advance of the event claiming he is “the City’s digital champion“.

So I guess you could say I was a bit riled and I decided to do something about it, but rather than whingeing or moaning I thought the most appropriate response would be for a group of us to build our own one. So I set about building a framework (I emphasise this) for how that might be achieved.

The first 24 hours of BCCDIY:

(Whilst eating breakfast with a 6 month old baby crawling around, and a Toddler watching CBeebies, occasionally drawing the occasional monster, making bowls of cereal, etc.)

Step 1: Scraping

I sat down the following morning, and within about 4 hours I had ’scraped’ most of the pages from the site into a local database. I posted the code to do it on Pastie.

Step 2: Organising

Once I had all the data in my database, I needed some way to organise it, so I set up a quick Ruby on Rails application, and used a couple of plugins to make a simple navigation system, especially acts_as_tree.

(The kids went off for the day)

Step 3: Removing duplicates

There are a lot of different URLs on the site pointing to the same resources. So I wrote a script to ‘alias’ them from one page to another in the database, keeping the original URL in there.

Step 4: Styling and HTML

I installed HAML and Compass so that I could write nice page templates. Then combined it with the Blueprint CSS template.

Step 5: Easy navigation

Top of my wish-list was an easy way to jump to any page from the home page with an ‘auto-suggest’ feature built in. Easy with some JQuery.

(Step 6: Take a break and go and do some real work, have a haircut, do some admin, send a few letters)

( Kids come back – put them to bed for a bit).

Step 7: Deploy the site

That evening I ‘deployed’ (put online) the website via a wonderfully simple cloud hosting service called Heroku.

Step 8: Test, talk to people about it, fix stufff

Step 9: Move to Nice URLS

Rather than having urls like /pages/1234, I moved to /pages/recycling – these are easier to remember and guess.

(Wake up the next day, drive to York for several hours. Whilst waiting in the car for Emily to take some photos for a client…)

Step 10. Set up ‘wards’ and ‘constituencies’

I created the beginnings of the ‘type in your postcode’ system and wrote a HAML file of all of the wards in Birmingham (which turns out to be a bit wrong).

(Spend the day assisting Emily at a Wedding. I was busy being second photographer for most of the day (I do this too occasionally), but in the bar we grabbed some dinner, so I built the )

Step 11. Set up the ‘postcode’ function

The home page postcode function was a must, so I set that up based on my HAML file.

(The next morning…)

Step 12. Automatically re-link internal links

A lot of the pages were still linking back to the main site and I wanted them to link internally. So I wrote some regex to do that and to clean them up a bit.

(About 12 hours work so far?)

Step 13. Constituency and ward pages working

You can type in your area name on the home page and get customised information.

(Drive home, go to a 60th Birthday party all day. Wake up the next day and go to Moseley Exchange).

Step 14. Integrate Fix My Street

The ward pages now show a list of street problems and you can suggest a problem.

Step 15. Spend ages trying to find a Postcode-to-Ward database, script or API

Finally ended up writing my own one which I will open up as a public API on the site once it’s settled down.

Step 16. CountCulture, working simultaneously has scraped the site for Councillor/Meeting info

It’s a simple process using ActiveResource to pull in the data onto the Ward pages.

Step 17. Type in your postcode goes live

You can type in your postcode and go to your ward (sounds easy right?!)

Step 18. Integrate with OpenlyLocal

Pull in the feeds and show local councillor information on Ward pages.

Step 19. Show planning applications for wards

Using PlanningAlerts.com’s API I show (dead-linked) planning applications near your postcode.

Step 20. Fix, test and make it prettier

24 hours of work later, we have a nice-ish looking website, with some neat feaures, and it’s all set from here to make it fully editable by anyone who wants to contribute.

Fancy getting involved? Let me know in the comments, come to our hack day
, or join the WIKI.

This entry was posted in Blog and tagged , , , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.
  • An excellent idea I think! And not only as a response to one particular poor technology investment...seems to me that council websites are ideal for community projects more generally. Imagine if that much money were to be spent helping to sponsor a community-led technology project to develop and maintain the council's website? That would add a whole lot more value, in terms of fostering a community spirit as well as helping people around Birmingham get together to learn/practice/teach tech skills, than wasting it on an overpriced commercial project.

    I'd love to see Birmingham officially sponsor such a community-driven technology project...would say far more about the city as a pioneer in the digital age than just blindly and needlessly approving a large budget for building a website...this is exactly the kind of cultural leadership councilors tend to lack.
  • Thanks Will - in fact I'm applying for some small funds to run a second hack day, with the proceeds going towards the web hosting...
  • RickWaghorn
    Top stuff, Stef...

    What would be really amusing is if BCC DIY had a way of earning revenue too... hat it started to pay its own way as opposed to being beholden to the long-suffering tax-payers of Brum...

    ... here you go... www.addiply.com

    Now you can place a self-serve ad system on every ward/constituency page and offer, say, £1 a week 'slots' for local child-minders, community action groups, etc... Nikki already has it running on her Digbeth site... Hannah is planning on using it out of Bourneville... all the time we're offering them simple, open, honest transactions with a 90% revenue return to the publisher.

    Be it Digbeth.org or BCC DIY.

    It's an empowerment tool.

    Help yourself.

    And best of luck with the project.

    R
  • davidgregory
    Impressive effort but it doesn't actually work. Postcode search for B3 1DW doesn't work and searching for Environmental Health only brings up Air Quality. When I actually wanted contact details.
    To compare... finding a way to complain about the council emptying a bottle bank outside my house at 5.45am too seconds. I could find a way to do it on your website.
    Still early days. And I'll be really interested in how the project goes. I wonder if it might make something for Midlands Today when it's a bit more reliable?
  • Hi David, thanks - could you be a bit more specific on the errors you are getting?

    I've just typed in that postcode and got a Ladywood ward page back. It's on an odd cloud-hosting environment and occasionally comes back with obscure errors.

    Also - I just upgraded the search to web_solr, so it does now return results for that (and many more) searches: http://bccdiy.com/pages/go_to_title?page[title]=environmental+health

    Please bear in mind that we haven't written _any_ content on the site yet - this is the point of the hack day, and turning the site into a wiki. If you (or anyone else) could give me a list of the top things you'd want to do on the site then we can design around those needs.

    Thank you

    Stef
  • davidgregory
    Hi!

    Sorry, yes. Was a bit hit and run!

    Typing in my postcode "B3 1DW" just brought up an error message,
    although I'm afraid I can't remember what that was. Sorry. I'd be
    useless in a proper coding environment. But now when I do it you are
    quite right it works perfectly! And it looks much nicer than the
    official version. So either you have fixed things or it's some occasion
    error. I'll keep trying it and make a proper note if it happens again!

    Fully appreciate you haven't written any content at all. Think it is a
    really, really interesting content. I wondered when you might want to do
    something about it for Midlands Today? Obviously Friday is the best day
    I suspect but I'll be off on another story. Do people gather video
    content at these sort of events we could use in a piece?

    Dave



    Dr DAVID GREGORY
    Science & Environment Correspondent
    Read my blog at bbc.co.uk/davidgregory

    mobile 07889 075 421
    office 0121 567 6143
    email david.gregory@bbc.co.uk
    INTERNAL: 01 76143 MOBEX: 071 76143
    BBC Birmingham: The Mailbox: Birmingham: B1 1AY
    Follow me on twitter twitter.com/DavidACGregory
  • Fred
    Your wife lets you code over dinner?
  • Only if she's busy processing her photos...
  • I love how your Toddler is capitalised. Who says men can't multitask? They're wrong, as we've always known.

    Congrats. Impressive work.
  • Thanks Brenda
blog comments powered by Disqus
  • About me

    I'm a web entrepreneur, just moved to London to work on a new startup. I'm at my best when meeting people, having new ideas and making them happen.

    Read more

  • Pages

  • Tweets

  • Categories

  • Archives

  • bud light baseball tap handles
  • wedding glass vases canada
  • interstate probate law
  • pro keds royal
  • lumbar sacral pillow
  • high temperature theater ii popcorn popper
  • opaque floral tights
  • gourmet baking pans
  • recycling paper statistics in america
  • rv early loan payoff calculator
  • hunting swivel adjustable chair
  • metal shower curtain hooks
  • suede shearling coats
  • dove tail spur straps
  • hats for youth baseball
  • kegerators tap handles
  • 2000 beetle floor mats
  • acne scar treatment for african americans
  • mortgage payoff calculator london
  • crystal plaza 5
  • wilton mini lamb cake pan
  • cactus christmas cards az
  • discount tickets for michigan adventure
  • pearl izumi w's quest road shoe
  • laser hair removal peachtree city georgia
  • chronic skin infection around fingernails
  • race car canopies
  • miss elaine nightgowns
  • bujumbura city maps
  • squirrel baffle uk
  • antique clock kits
  • mid century modern wall clocks
  • outdoor bar tables
  • crane sales rentals jobs florida
  • troy silver oz coins value
  • motorola razor v3 covers
  • texas bbq pits for sale
  • glacier restaurant plates
  • rack mount frames
  • farm fence post caps
  • white metal canopy beds
  • men's coolmax boxers
  • sun peaks snow vacation
  • pens fishing reels
  • leather couch nailhead camelback
  • new stock exchange advice
  • womens brooks trance 6 running shoes
  • tru fire judge release
  • ergonomic mouse computer
  • hydrogen fuel cell for big rigs
  • givi trunks for scooters
  • hair scalp some blood regrowth
  • nail technician tshirts
  • kosher chocolate manufacturing
  • free homeschool planner software
  • thomas paul doily melamine plates
  • transformation pet health tucson
  • tru fire x caliper ii
  • westgate resorts arizona
  • pearl izumi grp tape
  • map petchburi bangkok hotels
  • can't install printers windows xp network
  • jet fuel cetane value
  • water pump suction strainer
  • cookies with oats and rice krispies
  • fleetwood discovery motorhomes
  • pure protein bar blueberry crumb cake
  • trackball ergonomic uk mouse
  • kellys softball bats miken
  • expandable wooden hat rack
  • halloween cookies and gifts in tampa
  • nike swimwear cheap
  • dance shoe stores in portland oregon
  • how to make demi glace sauce
  • hugger mugger yoga products
  • backyard basketball game cube 2004
  • mikasa antique white dishes
  • cat shelf perch pattern
  • how much do itp wheels weigh
  • low carb thumbprint peanut butter cookies
  • fastest computer processor buy
  • eggs have protein
  • reviews of climbing harnesses
  • creams to prevent wrinkles
  • perfect flame item 65499
  • shopping sports paintball barrels
  • gas monitors uk
  • adult theme cakes connecticut
  • zalman quiet cp cooler socket 462
  • kilz paint primer paint all one
  • internal error 2753 adb 2 exe
  • ergonomic mouse keyboard roll bar
  • christmas wedding reception centerpieces
  • goodwill pickup santa rosa ca
  • dive rite scuba gear
  • oster breadmaker bread recipes gluten free
  • solar glass post caps
  • women's motorcycle sunglasses
  • american grafiti wallpaper
  • referee shirts soccer
  • beck drum machine boy
  • bicycle and automobile tires photos
  • capture and edit video ts
  • silk suit long skirt
  • great deals on disneyland vacations
  • outdoor clothesline dryers