On Wed 01 Aug 2012, Kake <kake(a)earth.li> wrote:
Hello OpenGuiders! Here is my new OpenGuides site:
I hope you like it.
Well, that was a resounding silence. OK, I will give you some more
reasons to check it out, and possibly take some of the ideas for your
own Open Guides (or indeed talk me/someone into putting them into
External links: I've hacked Wiki::Toolkit::Formatter::UseMod to remove
the square brackets from external links, and instead include a class
of "external", which lets you style it with CSS. On CGC, we have a
little pointy arrow thing for these, like on Wikipedia.
Category/locale prefixes: Again with a W::T::F::U hack, I've made a
new "INDEX_LIST_NO_PREFIX" macro, which suppresses the leading
"Locale" or "Category" when listing; see for example:
Along-the-street navigation: Because this is a completists' guide, the
aim is to include every business on every street within our area of
interest (something that I believe the Oxford Guide is also planning
to do). This means that it makes sense to have some visual way of
showing a place's neighbours. On CGC I've done this with a set of 5
thumbnails at the bottom of each page, showing the two neighbours on
either side. See e.g.
I did this by (a) adding new macros to make it easier to add those
thumbnails, and (b) writing a script that takes a list of existing
page names, finds the thumbnails using Flickr::API2, and writes the
"neighbours" div into each page. I also hacked
Wiki::Toolkit::Search::Plucene to ignore anything within this div
when indexing the pages.
Metadata display: I've moved the postcode field up to join onto the
rest of the address, and moved the map links to one side underneath
the inline node map, to make the metadata display look a bit less
"wall of text" like. I will also be separating out the categories
(and maybe locales) at some point, though I'm not yet sure where to
Restricted editing: The public face of the guide is read-only.
Editing is accomplished via an /edit/ subdirectory which contains
copies of the CGI scripts and a wiki.conf that's identical to the
public one except for being set to editable - this directory is
protected with HTTP auth. Edit links on the public side appear only
for viewers who've set their preferences to show admin links, and go
directly to the edit side. This is a refinement of the technique
I used previously on http://london-crafts.org/
Maps: I've added Stamen Watercolour and Google Satellite View to the
options already provided in core OpenGuides (OpenStreetMap and MapQuest).
Colours: IT IS PURPLE. What other reason do you need to love it?