DBD::Pg::db do failed: ERROR: duplicate key violates unique constraint
/home/earle/downlode.org/perl/lib/CGI/Wiki/Store/Database.pm line 459.
at /home/earle/downlode.org/perl/lib/CGI/Wiki.pm line 716
Hi - I am adding London openguides to the search toolbar in my Firefox
installation . The idea is you can search openguides even if you
haven't got a page open. I thought I would share my experiences so far
- if anyone would like to try this out let me know how you get on
You need to put the attached file in the appropriate place which will
be something like
C:/Program Files/Mozilla Firefox/searchplugins/
I havent figured out what this bit does. It might allow you to put the
search into a sidebar but I havent understood that.
Next stage is to add an icon and allow it to get installed from a server
The documentation is in http://mycroft.mozdev.org/deepdocs.html
# Search Plugin for Open Guides
# By Andrew Black
<input name="sourceid" value="Mozilla-search">
<input name="search" user>
There was some discussion on Wiki about how to handle chains (e.g.
My particular interest is that I want to add some more flesh to the
Wi-Fi category and pointers to the web site for each chain would be useful.
I agree with Ivor's suggestion of one master page covering general
aspects of the chain, with pages for individual pubs where there is
specific information needed. I would like the chain reference to
appear in the header to page (like category / locale ).
There are (at least ) 3 ways to do it :
1. Use a category "Chain xxxxx" e.g. [Category Chain Starbucks]
2. Create a new type of entry (like locale) so that chain name appears
in the header as a sep line.
3. Use ordinary pages and link by hand.
the 3rd way (not meant to be an allusion to T Blair) but means there is
a pseudo header area at the top.
My pref would be 1 (and 2 if it turns out to be used a lot). An
advantage of this is you automatically get the indexing down from chain
BTW - there is quite a lot of duplication between the official and
pseudo header on this page.
Is this a historic thing ?
On Tue, 5 Apr 2005, IvorW wrote:
>> On Tue, 5 Apr 2005, Andrew Black wrote:
>>> Billy Abbott wrote:
>>>> doesn't seem to like "'"s in links when it's extracting them.
>>> Sorry - Don't follow that one
>> do a search on OGL for "hay's galleria" - the link on the
>> search results
>> page will link to
>> but the link in the sidebar only gets as far as the ' -
>> That'll be a parser using ' or " to end the href string, rather than
>> matching it to what's at the front of the string i would
>> guess. Is ' a
>> valid/good thing to have in a URL?
> Have you tried http://london.openguides.org/index.cgi?Hay%27s_Galleria
It's not me that's having the problem, it's the search results parser in
mozilla I think.
I'm fairly certain that including a ' in a url enclosed in "" is correct
in the eyes of the html standards (as opposed to unencoded & which have
been causing errors when I've been playing with standards compliance).
"On two occasions I have been asked, 'Pray, Mr. Babbage, if you
put into the machine wrong figures, will the right answers come
out?' I am not able rightly to apprehend the kind of confusion of
ideas that could provoke such a question."
Billy Abbott billy at cowfish dot org dot uk
> -----Original Message-----
> From: openguides-london-bounces(a)openguides.org
> [mailto:firstname.lastname@example.org]On Behalf Of Billy
> Sent: 05 April 2005 14:15
> To: Discussion of the Open Guide to London.
> Subject: Re: [OpenGuides-London] Find bar in Firefox
> On Tue, 5 Apr 2005, Andrew Black wrote:
> > Billy Abbott wrote:
> >> doesn't seem to like "'"s in links when it's extracting them.
> > Sorry - Don't follow that one
> do a search on OGL for "hay's galleria" - the link on the
> search results
> page will link to
> but the link in the sidebar only gets as far as the ' -
> That'll be a parser using ' or " to end the href string, rather than
> matching it to what's at the front of the string i would
> guess. Is ' a
> valid/good thing to have in a URL?
Have you tried http://london.openguides.org/index.cgi?Hay%27s_Galleria