Can you smell the truth? Singed flesh and Local Gov web site management.
FWIW, I ran a District LG (Local Government) website for 10 years. I developed a CMS as I went along, html then .asp then shortly after in php.
About two years in I realised there were clearly two types of content.- Static
- Dynamic
I also realised there were broadly two types of content owners
- web-hostile
- web-friendly
So the CMS I made, and therefore the website, 'evolved' to suit these facts of (LG) life.
For the most part I left the static content as html, and only I edited it - I just made a simple "request for change" online form so that the web-hostile crowd :a) identified the urlb) identified the paragraph they wanted changing
c) did most of the typing for me.At every turn I would run up and show them all the dynamic content they COULD be playing with, with minor successes.But by definition "static content" hardly ever changed - if it did change more than say, once inside a month, it was time to have a meeting and dicuss the real message that the owner wanted to get out to the public and by and large those conversations lead to me discovering that they needed something more, usually based on some kind of datastore CRUD element or application.Taking this course also meant that the static content pages could contain as much complex information as was necessary, I was free of any CMS constraints about layout or content, bringing in webservices from off the web for graphing - linking to databases from .xls files etc.The web-friendly crowd, who were writing and maintaining the really interesting stuff had access to and used more KM-like content such as dynamic FAQs, articles, events, image libraries etc. Some of this dynamic stuff was piped onto the home page partly as "reward" for taking the time to contribute, and was a very effective motivator.There were a few web-friendly people who only had static files, but that could be very rich in both form and content because they were willing to work with me to develop the applications sitting beneath the content - custom applications made to solve their particular needs e.g. queryable Air quality tables with and historical data with graphs and maps, complex election reporting etc.One of the biggest benefits in developing this system was this LG fact of life: The web-friendly users (call them "bright young things") never stayed in the job for more than about a year, then they got promoted, moved sideways in LG or just plain quit.This LG had a policy of not replacing people straight away, mostly for budgetary reasons (I don't know how widespread this practice is).So we can add to the mix of LG facts of life;
- People quit and are not replaced immediately
- Some people have several roles in the organisation
So if the boss of the web-friendly "bright young thing" was not able to confirm that the dynamic content was still valid, I could rip the lot off the site with one action (or hide it, more accurately).
Also, it occassionally happened that a web-friendly person was replaced with a web-hostile person, and the same scenario played out. Articles just ran out of time and got removed automatically anyhow, other dynamic content was ripped off by consent.I had distinct problems with the web-hostile crowd in that almost to a (wo)man they sent me content which was unsuitable for publication on a website "as is". Full of officious complicated text, packed with jargon and phrases such as "the council will ..." not written in plain english, nighmarish.I would sit for hours explaining how I intended changing their copy to make it web friendly (my favourite lead comment was "can you explain what this document means?" - they would say something in plain english and I would type it out quickly. That became the lead paragraph.) and sometimes I would be told "just put it on as it is", which I rarely did except in the case of docs which clearly had some legal connotations.Anyhow that was the scenario, I am sure you recognise some patterns there (or anti-patterns).This system worked well. The site featured in the annual Socitm "Better Connected" top 20 websites 4 times in that 10 year period, and was usually in the top 10 percentile in Sitemorse except when I was indulging in some DTD-swopping for one reason or another.I did some hunting around and it is possible to score a piece of text on its readability, by working out the length of words, words per sentence etc. I planned to hardwire this into the CMS and score the static content and rank the worst pages, and also to work as a 'nag' to all online content as it was being saved. They ended my contract before I could implement it.My points are these:- You will always need a gatekeeper, and make sure they have the necessary clout (but they will be unpopular)
- Web-hostile people should be kept away from the CMS, or at least the publish button
- Software alone cannot guarantee you will carry good content, but it can have an important role to play
- LG CMSs are not designed from the ground up for local government, and it shows
- LG CMSs stifle innovation almost as much as does carrot-chasing Socitm scores
Poor management skills elsewhere in the organisation, such as the inability to delegate, will cause inapropriate content to surface on your website - but software (such as layers of access control) is not the answer to that problem - it just throws up another level of complexity to confound users.
Tools are emerging designed to help people to create better content but until your CMS provider adds the algorithms/applications you are stuck.I originally posted this as a reply to another blogger - the blog name escapes me now, I am reproducing it here now as an aide-memoire really, plus I am looking for employment in Local Gov in the UK again.
Why we need to unlock Charities data now.
Date: 1 Apr 2010
To: Company ASelf-describing data can be de-referenced, so imagine that record could have read more like:Payment-period: 2010-01-01 - 2010-03-31
Payment-date: 2010-04-01
Payment-amount: 1,500.00 UKP
To: companieshouse .website.com /Company_A_Ltd_details
Alternative URL companieshouse .website.com/123456789 As you can see in my very much simplified example the former recipient Company A is none of the following entities:
- Company A PLC
- Company A Holdings
- Company A (Jersey) LTD
- Company A and sons
- Company A
Alternative URL charities. data .website.com /987654321Slight meander ... If you have ever sat in a meeting where County and District Council staff and/or members have discussed the handling of grants you will know what I mean.The political horse-trading, posturing and deals that are done can be at once farcical, shocking and bewildering. Sometimes it all seems to be about fighting for your corner, making sure your departments' name is associated with the grant, augmenting your budget if you can. The decisions that pop out often seem random unless seen in true light of powerful alliances, political stances and creative accounting. I sometimes tried to imagine the paper trail of this money. If you ever need to launder a large amount of cash, surely earmarking it for grants would make it untraceable. My favourite question was always "... but where is this money coming from?" "The Department of x" would invariably be the reply, "Yes, but where do they get it from?" "Well, the GOVERNMENT stupid!" - "but where do THEY ...." ad nauseum. They stopped inviting me after a while.I have no idea how much a £500 grant for the Scout hut roof actually costs the public in administrative costs, but the cost in biscuits alone must be tremendous. (I remember a meeting once where the first 10 minutes was taken up with discussing which department's budget was going to be charged for the tea and coffee, we were 8 in the room - so scoff ye not) I have this mental picture of what how this should work. Its like a simple straight pipe, money in at one end, money out to the recipients at the other, like fresh water. Instead we have something resembling a broken digestive system, it twists and turns as more and more departments need to rinse their fingers in the stream as it passes. They need to break its fall, let it collect in stagnant pockets for a while, go a bit rank, then pass it on 'cause its "the end of the financial year", or some more money is flowing in so "we need to spend it, like now, before the end of the month!" "We've got some money we could use for that" a phrase always guaranteed to infuriate me.The point at lastThe administration of grants is an expensive and time-consuming process which could be improved by Government giving directly to many more charities, or at least giving it directly to Town and Parish Councils. Ultimately that wasted expense is reducing the amount of cash being given to the Charities. Opening up Charities data as Linked Open Data (LOD) will help shed light upon the administrative process, as charities can be linked to payments (and vice-versa). Many of the smaller payments will not appear anywhere unless Town and Parish Councils publish their spending data also.The likes of Adrian Short (Armchair Auditor) and Chris Taggart (OpenlyLocal) are trying to expose and de-reference Local Government payment details by supplier in order to move forward the examples of open data. This requires both company details and charity details to be de-referenced, by them, and others like them to link to unique and permanent URLs.as I have described above.We have been promised that companies data will be opened up as a priority - we similarly need charity data to be opened too. I want to de-reference companies and charities because they are also employers who feature in my JobsGoLocal job vacancy data streams.I and others are going to need either a local copy of charities data, or a robust end point which serves this data. Wouldn't it be better if you were able to see the details of the employer - especially if they are a charity - or horrors, if they are claiming to be a charity, as you were browsing the job vacancies?So, please sign up to get this data released and blog about or retweet this message - hat tip to Tom Szekeres for kicking the idea off.
Can we have our data back please?
Were you expecting to see transparency on local government IT spending some time soon? Where does a large part of that council tax money go and just what does it pay for? Read on to get the skinny on why the status quo is likely to remain and has already taken steps to shut you out.
By way of scene setting I need to present some things l learned in ten years of working in local government IT, local government IT truths.Fear of mergerIn some councils the biggest fear among top employees and members (councillors) is that their organisation is merged with a neighbour in order to share resources and save money. In the resulting consolidation, they might lose their job/status/power.This truth manifests itself when the time comes to select an IT supplier for a product.The cost of merging two neighbouring councils will depend to a great deal on how quickly, easily and cheaply integration of back office IT can be achieved. If too many of our software packages match that of any single one of our neighbours, then we will be making ourselves an easy candidate for merger. We must avoid this in order to maintain the status quo.If all of our Financial, Housing, Content Management, CRM, ERM, GIS, Planning, Knowledge Management (KM), Internal Email and messaging etc etc systems are different from our neighbours then it will cost untold millions to merge us and therefore will not happen.In fact as long as only one or two the top six or seven applications overlap we will still be able to stymie any attempts from above to merge us with neighbours.Lets say we work for District-C. Our northern border is shared with District-B, our southern shared with District-A. Now the tenders are in for our Financial Software package, and we, District-C have a choice of Supplier-X, Supplier-Y or Supplier-Z's Financial product."So while Supplier-X really does have the right CMS product for us, with wonderful drivers and mappers linking to our existing CRM which would result in massive savings - we have to discount them because District-B already uses it. We already have GIS and Email in common with District-B, so no, we cannot chose them.""Similarly Supplier-Ys product, while a good fit, for the same reason - too much in common with District-A." "Supplier-Z. Staff in the demos said they did not like using it, and we've heard bad things about it from other councils too. Suppliers-Zs product is the most expensive, and we don't have any Language-Z programmers on staff." Contract awarded to Supplier-Z then, by unanimous vote. The Fear of merger gene takes precedent, see?Things become more convoluted if your shared eastern border with District-D is in a different County, but hopefully you get the picture. The threat of merger may only surface every 5 years or so, but it is real in the minds of council people.When this fact of life was explained to me I was awestruck, it was beautiful and horrible at the same time. I was wide-eyed, I felt like Yossarian in Catch-22. I imagined the country as huge 3D chequerboard, separated by layers of intentional obfuscation which would take absolutely decades to unpick.Charging yourself up with this knowledge will explain the pre-ordained doom waiting in lie for suggestions for projects like a "National CMS".
Any of this ring true for you, Miss local government officer? Ever overheard those remarks after visits to a neighbouring council "Christ, their systems are easy to use, cheaper too. Why didn't we buy that?"
Welcome to the overriding logic behind many unfathomable decisions regarding big ticket public IT spends, I mean think 6 or 7 figure sums and multiply it by say, 50% of councils (200?) on probably 6 massive enterprise solutions and repeat every 4 years. The sums will make your eyes water.Of course this is not the case in every council, or every type of council but this tendency to Balkanize for survival is real and is costly. This is the reality of how the status quo is maintained. IT managers, CEOs and elected members are aware of this.Seemingly Mr Pickles is not, or he does not care to admit it. Last week at the LGA Conference he reportedly said:Back office functions should be shared: "Is it really right, in this day and age, to have separate planning departments? Lawyers? Communications teams? Wouldn’t it be better if people were working together? That’s especially important for the highest levels and the most expensive people."
Risk aversion
The second trait exhibited by local councils when purchasing IT is that of risk aversion.This is very true of small ticket items. No matter how small the spend you propose, the immediate question is "who else is doing it?", and if you cannot find any other known (trusted? lucky? talisman?) council sporting this product already - then you know you have a strong chance of losing the (hidden) argument between squabbling members/officers and losing your case.Ironically, being able to say "Ah, but Council-A has already tested and started using this software!" can be both your trump card and the kiss of death as you play to Risk aversion but incur the wrath of Fear of merger.Safety in numbersThe third truth about local government IT involves the very powerful organisation which represents them as a whole.SOCITM is a private company which represents IT managers, it might help to think of it as a kind of union. I cannot say I know much about SOCITM because they operate like some kind of black box - unaccountable and opaque - no-one knows what is going on behind their closed doors.In the last 12 years they have increased their fan-base and revenue by setting themselves up as judge and jury of what is both acceptable and recommended on local government websites - enabling them to recruit a legion of web-team and marketing types.I have never been a fan of the value of their content or advice as I have documented elsewhere. They just don't have the IT chops, and in fact are partly responsible for many of the lumbering and dumb local government websites horrorshows we see all around us. They are quite capable of emanating conflicting, nonsensical information and neither feel the need to admit nor apologise when they get things wrong. They just deftly repackage and repeat all the things that were talked about on the internet last year without adding anything new, and silently ignore the new elephants in the room which everyone is asking themselves about now.
When they make a mistake, when they miss important movements and swell changes on the web their effect on local government, the web and the country is crushing.SOCITM seems to consists of sharp suited consultants and a sharp tongued marketing machine well versed in extracting public money from councils, they know exactly how to play the fear card.The sucker punch
This week saw a SOCITM masterstroke pulled right under the noses of the new government. They have privatised the what was until then the open but little known e-Government Register (eGR) and stuck it away behind their own members only paywall in order that they can "cherish and look after it" on behalf of the British people. "Closed Data Now" SOCITM does a "Times".
Now let me remind you what was the eGR (e-Government Register) was, put it in context and explain why it is relevant to these three previous local government IT truths. You could skip the next few paragraphs if you read the previous story.
Now, can we have our data back please? This time I'd like it sorted against a recognised and acceptable taxonomy.
If #localgovweb supplier says "RDF WTF?" Sack 'em #opendata #spending
The challenge: Linked Open Financial Data, put your council spend over £500 on the web by the end of the year.
It is really early days, but people are discussing what format that data should ideally be in when published. There is encouraging talk about which taxonomy should be used to describe payment types and of course the level of granularity which should ideally be produced. In line with TBLs 5 star checklist, there are calls to JFDI, just get it out there and get yourself 1 Star. Some brave councils have put some figures out some for honest and good reasons, others 'because they were told they got something for nothing', sigh. There are h-activists doing amazing things with the bits of data dribbling out. It is all good stuff, and fascinating to watch unfold, and even I have chipped in here and there. It is all gathering apace, and its all as you might expect - a bit of a free for all. I'm not knocking any of these tremendous efforts at all. But I am taking the time to post a message - hey, Time Out! Take a look at this idea.Heres the situation:It is 10 days now since Chris Taggart and Vicky Sargent published a report on lessons learned about publishing local open data for the Open Election Data Project. I contract worked in Local Government for 10 years but still, I was pretty shocked by the no punches pulled tone and content of this report. I was pretty sickened and appalled to find out just how widespread this rot is. I had sort of imagined I was just unlucky finding myself working in this type of environment. Their report paints for me the all too familiar and glum picture of technological pygmies and naive decision makers falling for "throw money at it till it goes away" solutions. The tsunami of e-gov monies doled out over the years helped diminish in-house skills a long time ago, leaving many IT rooms in local government deviod of skills except how to put in support calls to system suppliers, or fiddle with a template in a CMS. Honestly, you really need to read that report. Go on, I'll wait.Its not all councils - OK? Before you all look around for ropes and lamp-posts, there are individuals (and maybe some teams), in some councils who are have the where-with-all, political influence and skill capable of delivering top-notch results. If you have any of these, then cherish them. So, overall the situation is bad, right? For me there is only one real answer (apologies if you heard me say this before)Mandate the suppliers of financial software products to produce a 5 Star LOD (Linked Open Data) addition to their products by a reasonable time. Starting NOW don't sign up for a Financial product without stipulating that you expect an open LOD stream with say 3 Stars minimum to be created from that backend system within a reasonable time frame. Write it in the contract. In tenders for Financial Products award 25% of the points for the ability of the supplier to deliver LOD. If they try to charge you extra for that addition to their product threaten to cancel the contract.I don't want to turn this into a tech post, but for the most part all you are asking for is a dump from their (your!) databases, formatted as a special kind of xml (OK, I'm dumbing this down slightly - the blueprint for the ideal format does not yet exist, as I described above). If your supplier looks at you and says "RDF WTF?", sack them. The need for Linked Open Financial Data is a technical problem for your IT suppliers - it is not a call for your HTML template author to go and buy a book on RDF.5 Star Financial LOD has nothing to do with your council website CMS, unless you decide to stump for that nutty bastard kid of RDF, RDFa. So - OK, suspend reality for a few minutes ... go along with me - now who are they, these suppliers?Well, ahem, its pretty easy today, you go to something called the e-Gov Register (eGR) and you look them up. Now this is where my knowledge of Financial IT systems lets me down, so forgive me and just get yourself on over to the eGR as long as it is still there of course and do a better job than me. OK, it seems to me that of 450 or so local government organisations, 357 are listed as having a "Financials" supplier **. There are only 18 suppliers listed, and of those there are 6 Big Ones. Between them the 6 Big Ones supply "Financials" to 326 Councils.Don't you think that the first one of those 6 Big Ones who natively supports LOD as an export option (or agrees to within, say, 8 months) really ought to be favoured when bidding for new business? Can you say "competitive edge"? How long do you think it would take the other 5 to catch up and reword their contracts and get programmers on the case. You should think in terms of minutes rather than months.Lets go further, lets say that it should be mandated that all new contracts with "Financials" suppliers include an LOD clause.Perhaps Mr Pickles could dispatch someone to have a chat with one or two of these suppliers, or that he should have someone check that future contracts for Financial products being sold to Local Government all contain the necessary wording to make this happen? So instead of trying to train and cajole 450 councils to FTP assorted CSV files into localdata.gov.uk (FFS) all the way through to grokking RDF, namespaces, LOD et al - why does the government not get on and make a strategy to bully and coerce 6 suppliers instead - and potentially get 326 councils teed up to produce useful LOD a bit sharpish? Christ knows, we pay them enough public money (reaches for his armchair auditor, now how much would that be then?). That is my radical idea. Please drill holes in it if you feel the inclination.If you find the eGR to be a fine thing and a good example of useful, publicly available open data which has been sitting there for about 6 years or more, and are wondering why it is not there now - then it has probably quietly slipped behind the SOCITM paywall and you should be angry with them about that, ** even though the top 6 suppliers may now be out of date. Let them know in the comments on my blog, because if you try to add it to their "corrected" version of events on their blog it might get "mediated". The appearance of some soc puppets would not surprise me in the least.
"Closed Data Now" SOCITM does a "Times"
As we rush towards the "Raw Data Now" door, but it seems few are aware that a tranche of historically open data is quietly slipping behind a paywall.
If my memory serves me well the e-Gov Register (eGR) hosted by Brent has been showing every IT supplier sortable by product type, supplier, local government type and even on maps for about 6 or 7 years (some links below if you hurry up). I am aware that there are problems with this data, in my own past employer I know that some of the data is out of date.But it is there, it is useful and informative and it is OPEN to all, even SMEs like me researching on niche markets in local government. The latest move by SOCITM (and presumably with the knowledge of the LGA and the IDeA) means all that data is going to go behind the SOCITM paywall. Just about every council in the UK has little option but to pay SOCITM hundreds of pounds annually to join their club to find out the exact details of how their website is being ranked. That is public money, our taxes - and has always enraged me. And now they just found another way of ramping up their bills, and creating themselves another revenue stream - by hijacking what is already openly available data and reselling it back to us. Here is the explanation hosted on the Brent site; "The Socitm Applications Register will be created from a merger of data from the eGovernment Register and the Socitm Application Software Index. The eGov Register will cease to provide Supplier, Product and Usage information as from 28 June 2010. The new Socitm Application Register service will be available from July 2010. The key difference between the two systems is that the new service will be available on a subscription basis. It will be free for public sector users who contribute data but other users will need to subscribe in order to gain access. "I wonder does this mean that you have to be a paying SOCITM local government subscriber to be able to access this information, much like they only let you access "Better Connected" details if you are a fully paid up member? Anyhow, bad news for any other small businesses out there, likely bad news if your council is not a paid up member and bad news if you are a council employee not lucky enough to have been given the privilege of a SOCITM account - or gasp, are not even aware of SOCITM, nor the e-Gov Register and were wondering what systems your neighbouring council were running. Wizard worker on your councils GIS system? Fancied a move northerly, wondered which councils ran the same systems? Out of luck now I am afraid!Take a look at some sample eGR pages, they won't be there for long. eGR Product typeseGR Financial Products, market share by supplier "Free our data now" am I the only one to find this laughable hypocrisy taken from an article in elReg just too much to bear?Jos Creese, the newly elected president of Socitm and head of IT at Hampshire County Council, said: "The momentum behind the 'open data' movement is gathering, and councils that get involved now, with this elections project, will put themselves at the cutting edge of this movement." Won't it be great when all the Linked Open Finance Data is finally out there and we "armchair auditors" can see exactly how much each council pays to SOCITM?Update 6th September 2010 The eGov Register is now the subject of an OPSI unlocking request - please add your name and support the handing of this data back to the public where it belongs.
TweetMiner saga: Good Guys 2 Lions 0
I really like Justin Vincent.
I've never met him, or even spoken to him, but I really like him.I first came across Justin when I came across an OOP DBAL (Database Access Layer) he wrote called ezsql (strapline: PHP and working with Databases for the lazy sod). This library was a godsend to me at that time ( PHP4, no PDO a myriad of other DBALs were floating around).I used ezsql on projects all over the place and it did several important things:- it was well written and commented and provided minimal but accurate documentation
- it abstracted away my database connection and database queries (of course)
- it made me start to think in terms of classes and objects
- it simplified my life
Ezsql played a really pivotal role in my learning at that time, and only now have I finally felt the courage to extract all the hidden dependencies on ezsql in a monster CMS project I am currently awakening and murdering for the umpteenth time.
So, Justin made some software available for free, and it was important to me and many others besides - for me Justin was a good guy because he embodied the spirit of OSS generally, but PHP in particular.A few months ago I came across Justins name again, now he is the US ( #todo factcheck this: I think he was in Ireland before ) and he has a new product called TweetMiner. TweetMiner looks very clever and is a "freemium" modelled web app built upon Twitter, and I can see how that will play into my own marketing strategy later this year. Its bookmarked and I keep a watching brief on it, plus I follow @justinvincent Tweets in any case. Justin's TweetMiner has ~3000 customers and around 100 paying customers.So I was pretty horified to hear when Twitter suspended his account - leaving all these users in Limbo.Read about what happened, blow by blow. Read about how it was resolved. Short version: technically Justin broke some of Twitters rules, one in particular, which when abused could lead to TweetMiner being the source of Tweet spam likely following this post by "... a leading web strategist for corporate investor relations". Now here is the amazing part. Justin asked the Twitter team if they could bend their rules in his case.The Twitter team wrote back in effect saying, "OK, go on then, we will in your case - but its going to be up to you to police your clients." All of this warms the cockles of my heart, Justin, clearly a good guy in my book, pleads his case and the Twitter team sensibly and with humanity acknowledge him, his users, the service he provides and suggest back to him a solution which devolves responsibility back to him. I goes without saying that naturally I expect Justin will in turn delegate responsibility back to his own clients, and he will also find some clever algorithm to make sure that he those rules are policed and applied so that he sleeps well at night. Now it could be that Justin's case has been heard by the Twitter team before and he simply went into a marketing funnel and out popped this reaction, but I don't think that is true.For me this display of flexibility and respectful behaviour is a deeply positive sign of good quality management in action on Twitter's part - and augurs well for its' future. Bravo Justin and Bravo Twitter.Follow Justin here @justinvincent here tweets daily using his own system, and you will find the signal to noise ratio is very high if you have even a single entreprenurial bone in your body. A great mix of tech and startup skills. http://tweetminer.net/Update: Justin rebranded tweetminer as "Pluggio" www.pluggio.com
/*TODO read about simple comment toggler */ #php
Yesterday I read another of Chris Heilmann's great posts ( @codepo8 - a man worth following ) entitled the 7 Deadly Sins of Javascript Implementations.
Its a great read, but hidden in there was this gem of trick on how to very simply hide/turn on comments around a block of code which you can use in your PHP development.As Chris says: "This trick makes it awfully easy to toggle whole blocks." and it is worth re-iterating that this technique is most useful when debugging or developing a script, and not a means of leaving loads of old comments lying around in your code. Instead of writing comment blocks like this /* stuff */ you combine it with the order of the other commenting style "//".Heres an example Remove the first slash on the first line and the block is suddenly removed from programme flow.include ("news_bar.php");
include ("bot_nav.php");
return;
}// */
Then in the comments of the above blog-post, Ricardo suggested this improvement :
/**/
“live” code
/**/
/** /
commented code
/**/
looks nicer and is more obvious :)
I found this Ingenious, but then again maybe I am easy to please...
This was thrown into higher relief for me as last night my current required reading is the chapter on comments from Uncle Bobs' "Clean Code". My god, do I feel liberated from the tyranny of docblocks after reading that chapter! (big thanks to @AnthonySterling for the kind donation of this book).(EDIT: the same day) I just realized where I would use this technique a lot, in my UnitTester - the front-edge of my UnitTester (ie the bottom) often has me noting or stubbing out the name of the next few tests, especially if I am thinking of taking a break.
/**/ testEmptyArgThrowsException(){} /**/
I would typically have 3 or 4 "ideas" stubbed out like that, a kind of forward notation for myself - I inevetiably either don't use these stubs or change their name/intent as I work my way out.
Static Gmaps even easier to achieve : Usability 1 Lions 0
Hey you local gov webbies, using Gmaps to get jiggy with your newly leeched data gov stuff?
Well, there was an announcement last week you might have missed on the Google Geo Dev Blog, Static Markers just the way you like 'em. In case you did not know what static maps are (shame on you!), they are like a snapshot of a map area you describe and can contain markers - so they look like your dynamic map - but contain no interactivity - its just a picture. However at least people behind some firewalls, those without JS turned on for whatever reason, can at least see a representation of your map.All you have to do is assemble a carefully crafted URL inside a <noscript> tag. Static Maps V2 API Developers Guide.EDIT dont forget, put that <noscript> tag inside your map <div>
<div id="MapDiv"></div> what you likely have, a place holder for Gmaps to do its thing
<div id="MapDiv">
<noscript>
<img src = " ... " />
</noscript>
</div>
The above announcement quite rightly bangs on about how you can now produce static maps using your own markers, it masks another bit of good news, you don't need to include your Google Map API Key any longer - so one long string less in your markup - or one dependency less if you were getting your Map API Key from an include file - one less thing to go wrong, and one more reason WHY YOU SHOULD use a static map fallback option whenever you create Gmaps.
(unless you are carrying round the API key in every page on your site regardless of whether it carries maps or not, surely not?)Maybe its not huge news, but its a nice move and one that I appreciate seeing as I have about 6 different templates calling Gmaps that I can refactor and lighten up and match the Static map markers to the Dynamic map markers. Get it onto your jobs list and JFDI, eh?Short version: You can throw up a map on any page as long as you can get some coordinates, or an address that Google can decipher.Bad News Alert: Wine makes you fat
Google OCR - sorry, no cigar
So I thought I'd give it a swift test ... a snap of part of my bookshelf actually.Results below, not too good really.Never mind, nice idea, send it photos and it might have told me stuff written on them. That was pretty much motivated by fun I had yesterday looking at old photos of Godalming uploaded to the newly created "Godalming and Farncombe" Flickr Group Pool.This one of Church Street Godalming is great ... a snap is below, along with the book scan and its Google OCR result. Take a look at the big sized original on Flickr though, check out the shop sign on the LH side.
E.WEALE Cycle, Motorcycle,
Wireless & Pram worksLOL, wireless and pram works in 1937! Truly multi-tasking.http://www.flickr.com/groups/godalming-and-farncombe/
http://www.godalming-tc.gov.ukps if you have any photos of Godalming and you're a member of flickr, please let me know if you want to join our group or donate any photos, new or old, any subject we dont mind.



