On Wed 04 Apr 2012, Janet McKnight janetmck@chiark.greenend.org.uk wrote:
This looks very useful to me! Thank you! (& I see you've fixed St Catz :-)
Ha, actually, I haven't, it's just we have two of them: http://oxford.openguides.org/wiki/?St_Catherine%27s_College http://oxford.openguides.org/wiki/?St._Catherine%27s_College
In fact we have two of lots of the "Saint" colleges, oh dear. I think this is probably due to our OxPoints import - I somehow didn't notice that the convention was to put a dot in (possibly I didn't notice this _because_ Catz wasn't in the list of Colleges).
I'm not 100% clear whether your script is just checking or actually adding the extra category/locale itself. If the former, it might be even usefuller if the output was a link to editing the page so you could just click & go straight to it & add the category/locale, but now I am just being picky. :)
It's just checking it, and at the moment it just outputs plain text. If Dom is happy for us to do the cron job thing, then I can make it output HTML with links.
Could the list of subset categories/locales that it uses be somewhere readable & editable by e.g. me? Could it even be e.g. a moderated page on the openguide?
I've changed the output now to make the list visible:
---------------------------------------------------------------------- CATEGORIES: Things should be in Postal Services if they're in: Post Offices. Things should be in Pubs if they're in: Wetherspoons Pubs. Things should be in The University if they're in: Colleges.
Things in Colleges but not in The University: St. Catherine's College
LOCALES: Things should be in Central if they're in: Broad Street, Carfax, Cornmarket, George Street, High Street, Merton Street, Turl Street. ----------------------------------------------------------------------
but I think making it user-editable is more complicated than we need at the moment.
Kake