Debian Bug report logs - #103975
Sherlock searchability (Mozilla 'Search' sidebar)

Package: www.debian.org; Maintainer for www.debian.org is Debian WWW Team <debian-www@lists.debian.org>;

Reported by: Kevin Turner <acapnotic@foobox.net>

Date: Sun, 8 Jul 2001 20:03:23 UTC

Severity: wishlist

Tags: patch

Done: David Prévot <taffit@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, James Treacy and others <debian-www@lists.debian.org>:
Bug#103975; Package www.debian.org. Full text and rfc822 format available.

Acknowledgement sent to Kevin Turner <acapnotic@foobox.net>:
New Bug report received and forwarded. Copy sent to James Treacy and others <debian-www@lists.debian.org>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Kevin Turner <acapnotic@foobox.net>
To: submit@bugs.debian.org
Subject: Sherlock searchability (Mozilla 'Search' sidebar)
Date: Sun, 8 Jul 2001 12:54:20 -0700
[Message part 1 (text/plain, inline)]
Package: www.debian.org
Severity: wishlist

Hi.  I think it'd be just swell if you could search packages.debian.org
and the bugs database through the 'Search' sidebar in Mozilla.  And, in
fact, one can without too much effort.  (See attatched Sherlock
extension files.)  But it would work even BETTER with just a little help
from the server side of things.

All we needs is a few HTML comments thrown into the output stream, one
before and after each result in the list.  e.g. <!-- resultItemStart -->
and <!-- resultItemEnd -->, or <!-- Chocolate! --> <!-- Vanilla! -->,
just so long as these identifiers are distinct.

For bugs, it'd also be handy to have a 'GET' interface that works the
same way the url-redirection queries work, i.e. have a single url that
you can perform a get-action on, with just one input parameter, which
may take the form of number/package/maint@email/from:sumbitter@email,
e.g.
 http://bugs.debian.org/supersearch?q=1235
 http://bugs.debian.org/supersearch?q=reportbug
doing the same thing as 
 http://bugs.debian.org/1235
 http://bugs.debian.org/reportbug

the reason for this being that these search gizmos are made to submit
get requests instead of doing URL construction.

Once this works well, the Mozilla maintainer may choose to include these
search extensions in the browser package, or the webmaster may put up a
little page with a javascript 'click here to install the debian package
search tab', as described on
http://www.mozilla.org/projects/search/technical.html

Thanks,

 - Kevin Turner
 <acapnotic@foobox.net>

(Note: sherlock is not a mozilla-specific thing, I think it was born in
MacOS and Konq might support it too, though I'm not sure.)
[debian-packages.src (text/plain, attachment)]
[debian-contents.src (text/plain, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, James Treacy and others <debian-www@lists.debian.org>:
Bug#103975; Package www.debian.org. Full text and rfc822 format available.

Acknowledgement sent to Josip Rodin <joy@cibalia.gkvk.hr>:
Extra info received and forwarded to list. Copy sent to James Treacy and others <debian-www@lists.debian.org>. Full text and rfc822 format available.

Message #10 received at 103975@bugs.debian.org (full text, mbox):

From: Josip Rodin <joy@cibalia.gkvk.hr>
To: Kevin Turner <acapnotic@foobox.net>, 103975@bugs.debian.org
Subject: Re: Bug#103975: Sherlock searchability (Mozilla 'Search' sidebar)
Date: Mon, 9 Jul 2001 10:15:44 +0200
On Sun, Jul 08, 2001 at 12:54:20PM -0700, Kevin Turner wrote:
> For bugs, it'd also be handy to have a 'GET' interface that works the
> same way the url-redirection queries work, i.e. have a single url that
> you can perform a get-action on, with just one input parameter,

Umm, tried reading the source of http://www.debian.org/Bugs/index.html?

-- 
Digital Electronic Being Intended for Assassination and Nullification



Information forwarded to debian-bugs-dist@lists.debian.org, James Treacy and others <debian-www@lists.debian.org>:
Bug#103975; Package www.debian.org. Full text and rfc822 format available.

Acknowledgement sent to Kevin Turner <kevin.m.turner@pobox.com>:
Extra info received and forwarded to list. Copy sent to James Treacy and others <debian-www@lists.debian.org>. Full text and rfc822 format available.

Message #15 received at 103975@bugs.debian.org (full text, mbox):

From: Kevin Turner <kevin.m.turner@pobox.com>
To: 103975@bugs.debian.org
Subject: Re: Bug#103975: Sherlock searchability (Mozilla 'Search' sidebar)
Date: Mon, 9 Jul 2001 01:37:38 -0700
On Mon, Jul 09, 2001 at 10:15:44AM +0200, Josip Rodin wrote:
> On Sun, Jul 08, 2001 at 12:54:20PM -0700, Kevin Turner wrote:
> > For bugs, it'd also be handy to have a 'GET' interface that works the
> > same way the url-redirection queries work, i.e. have a single url that
> > you can perform a get-action on, with just one input parameter,
> 
> Umm, tried reading the source of http://www.debian.org/Bugs/index.html?

It looked to me like there were at least two distinct addresses,
pkgreport and bugreport.  I was attempting to ask for a single address
which does both based on context, e.g. "is it a number?  then use
bugreport, else..."



Information forwarded to debian-bugs-dist@lists.debian.org, James Treacy and others <debian-www@lists.debian.org>:
Bug#103975; Package www.debian.org. Full text and rfc822 format available.

Acknowledgement sent to Josip Rodin <joy@cibalia.gkvk.hr>:
Extra info received and forwarded to list. Copy sent to James Treacy and others <debian-www@lists.debian.org>. Full text and rfc822 format available.

Message #20 received at 103975@bugs.debian.org (full text, mbox):

From: Josip Rodin <joy@cibalia.gkvk.hr>
To: Kevin Turner <kevin.m.turner@pobox.com>, 103975@bugs.debian.org
Subject: Re: Bug#103975: Sherlock searchability (Mozilla 'Search' sidebar)
Date: Mon, 9 Jul 2001 11:36:13 +0200
On Mon, Jul 09, 2001 at 01:37:38AM -0700, Kevin Turner wrote:
> > > For bugs, it'd also be handy to have a 'GET' interface that works the
> > > same way the url-redirection queries work, i.e. have a single url that
> > > you can perform a get-action on, with just one input parameter,
> > 
> > Umm, tried reading the source of http://www.debian.org/Bugs/index.html?
> 
> It looked to me like there were at least two distinct addresses,
> pkgreport and bugreport.  I was attempting to ask for a single address
> which does both based on context, e.g. "is it a number?  then use
> bugreport, else..."

Ah, yes, we do it using several scripts. The existing scripts are under the
jurisdiction of bugs.debian.org pseudo-package maintainers, BTW :) I suppose
it wouldn't be hard to make a wrapper, but it's hardly a priority...

-- 
Digital Electronic Being Intended for Assassination and Nullification



Information forwarded to debian-bugs-dist@lists.debian.org, James Treacy and others <debian-www@lists.debian.org>:
Bug#103975; Package www.debian.org. Full text and rfc822 format available.

Acknowledgement sent to Kevin Turner <kevin.m.turner@pobox.com>:
Extra info received and forwarded to list. Copy sent to James Treacy and others <debian-www@lists.debian.org>. Full text and rfc822 format available.

Message #25 received at 103975@bugs.debian.org (full text, mbox):

From: Kevin Turner <kevin.m.turner@pobox.com>
To: 103975@bugs.debian.org
Subject: Re: Bug#103975: Sherlock searchability (Mozilla 'Search' sidebar)
Date: Mon, 9 Jul 2001 12:21:51 -0700
On Mon, Jul 09, 2001 at 11:36:13AM +0200, Josip Rodin wrote:
> Ah, yes, we do it using several scripts. The existing scripts are under the
> jurisdiction of bugs.debian.org pseudo-package maintainers, BTW :) I suppose
> it wouldn't be hard to make a wrapper, but it's hardly a priority...

Ah do believe I called it 'wishlist' for a reason ;)

But it's also true that you're focusing here on what is probably the
*least* significant detail in the original request.  The main idea was
to get the result-delimiter comment-tags in the output of searches (on
packages.d.o as well as bugs.d.o) so that they may be used by sherlock
extensions.  The issue of having one extension for bug-searching vs
having two (for pkgreport and bugreport) was only an afterthought...

I'd go ahead and submit the two-line patch to add those delimeter
comments if I just knew where the CGI source was ;)




Information forwarded to debian-bugs-dist@lists.debian.org, Debian WWW Team <debian-www@lists.debian.org>:
Bug#103975; Package www.debian.org. Full text and rfc822 format available.

Acknowledgement sent to Bas Zoetekouw <bas@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian WWW Team <debian-www@lists.debian.org>. Full text and rfc822 format available.

Message #30 received at 103975@bugs.debian.org (full text, mbox):

From: Bas Zoetekouw <bas@debian.org>
To: Kevin Turner <acapnotic@foobox.net>, 103975@bugs.debian.org
Subject: Re: Bug#103975: Sherlock searchability (Mozilla 'Search' sidebar)
Date: Sat, 28 Jul 2007 00:32:02 +0200
Hi Kevin!

You wrote:

> Hi.  I think it'd be just swell if you could search packages.debian.org
> and the bugs database through the 'Search' sidebar in Mozilla.  And, in
> fact, one can without too much effort.  (See attatched Sherlock
> extension files.)  But it would work even BETTER with just a little help
> from the server side of things.

I'm currently cleaning out old bugs for the debian webpages, and I
encountered this request [1], which you submitted back in 2001.  Could
you please take a look at it and see if it's still relevant?  AFAIK,
firefox doesn't have a  search sidebar anymore, so it seems that this
bug can be safely closed.  What do you think?

Kind regards,
Bas.

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=103975


-- 
Kind regards,
+--------------------------------------------------------------------+
| Bas Zoetekouw              | GPG key: 0644fab7                     |
|----------------------------| Fingerprint: c1f5 f24c d514 3fec 8bf6 |
| bas@debian.org             |              a2b1 2bae e41f 0644 fab7 |
+--------------------------------------------------------------------+ 



Information forwarded to debian-bugs-dist@lists.debian.org, Debian WWW Team <debian-www@lists.debian.org>:
Bug#103975; Package www.debian.org. Full text and rfc822 format available.

Acknowledgement sent to Wouter Verhelst <wouter@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian WWW Team <debian-www@lists.debian.org>. Full text and rfc822 format available.

Message #35 received at 103975@bugs.debian.org (full text, mbox):

From: Wouter Verhelst <wouter@debian.org>
To: Bas Zoetekouw <bas@debian.org>, Kevin Turner <acapnotic@foobox.net>, 103975@bugs.debian.org
Subject: Re: Bug#103975: Sherlock searchability (Mozilla 'Search' sidebar)
Date: Mon, 30 Jul 2007 14:43:22 +0200
On Sat, Jul 28, 2007 at 12:32:02AM +0200, Bas Zoetekouw wrote:
> Hi Kevin!
> 
> You wrote:
> 
> > Hi.  I think it'd be just swell if you could search packages.debian.org
> > and the bugs database through the 'Search' sidebar in Mozilla.  And, in
> > fact, one can without too much effort.  (See attatched Sherlock
> > extension files.)  But it would work even BETTER with just a little help
> > from the server side of things.
> 
> I'm currently cleaning out old bugs for the debian webpages, and I
> encountered this request [1], which you submitted back in 2001.  Could
> you please take a look at it and see if it's still relevant?  AFAIK,
> firefox doesn't have a  search sidebar anymore, so it seems that this
> bug can be safely closed.  What do you think?

Firefox *does* have a "search" box (as does IE7, IIRC). You can add
search engines there, too. For example, all pages on the english
wikipedia contain this in their <head> section:

<link rel="search" type="application/opensearchdescription+xml" href="/w/opensearch_desc.php" title="Wikipedia (English)">

with /w/opensearch_desc.php being:

<?xml version="1.0"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>Wikipedia (English)</ShortName>
<Description>Wikipedia (English)</Description>
<Image height="16" width="16" type="image/x-icon">http://en.wikipedia.org/favicon.ico</Image>
<Url type="text/html" method="get" template="http://en.wikipedia.org/w/index.php?title=Special:Search&amp;search={searchTerms}"/>
<Url type="application/x-suggestions+json" method="GET" template="http://en.wikipedia.org/w/api.php?action=opensearch&amp;search={searchTerms}"/>
</OpenSearchDescription>

This should be easy enough to adapt, I guess.

-- 
<Lo-lan-do> Home is where you have to wash the dishes.
  -- #debian-devel, Freenode, 2004-09-22



Information forwarded to debian-bugs-dist@lists.debian.org, Debian WWW Team <debian-www@lists.debian.org>:
Bug#103975; Package www.debian.org. (Thu, 14 Apr 2011 05:15:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Brian Herman <brianherman@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian WWW Team <debian-www@lists.debian.org>. (Thu, 14 Apr 2011 05:15:03 GMT) Full text and rfc822 format available.

Message #40 received at 103975@bugs.debian.org (full text, mbox):

From: Brian Herman <brianherman@gmail.com>
To: 103975@bugs.debian.org
Subject: Sherlock searchability (Mozilla 'Search' sidebar)
Date: Thu, 14 Apr 2011 00:12:24 -0500
[Message part 1 (text/plain, inline)]
<link rel="search" type="application/opensearchdescription+xml"
href="search.wml" title="Debian.org (English)">


<?xml version="1.0"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>Debian.org (English)</ShortName>
<Description>Debian is a free operating system (OS) for your computer. An
operating system is the set of basic programs and utilities that make your
computer run. Debian uses the Linux kernel (the core of an operating
system), but most of the basic OS tools come from the GNU project; hence the
name GNU/Linux.</Description>
<Image height="16" width="16" type="image/x-icon">
http://www.debian.org/favicon.ico</Image>
<Url type="text/html" method="get" template="
http://search.debian.org/cgi-bin/omega?P={searchTerms}"/>
<Url type="text/html" method="get" template="
http://packages.debian.org/search?keywords={searchTerms}&searchon=names&suite=stable&section=all
"/>
<Url type="text/html" method="get" template="
http://packages.debian.org/search?searchon=contents&keywords={searchTerms}&mode=path&suite=stable&arch=any/
>
<Url type="text/html" method="get" template="
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug={searchTerms}"/>
<Url type="text/html" method="get" template="
http://bugs.debian.org/cgi-bin/pkgreport.cgi?package={searchTerms}"/>
<Url type="text/html" method="get" template="
http://bugs.debian.org/cgi-bin/pkgreport.cgi?package={searchTerms}"/>
</OpenSearchDescription>


Thanks,
Brian Herman

brianjherman.com
brianherman@acm.org
[Message part 2 (text/html, inline)]

Added tag(s) patch. Request was from David Prévot <david@tilapin.org> to control@bugs.debian.org. (Thu, 14 Apr 2011 13:42:06 GMT) Full text and rfc822 format available.

Reply sent to David Prévot <taffit@debian.org>:
You have taken responsibility. (Fri, 06 Apr 2012 22:09:06 GMT) Full text and rfc822 format available.

Notification sent to Kevin Turner <acapnotic@foobox.net>:
Bug acknowledged by developer. (Fri, 06 Apr 2012 22:09:06 GMT) Full text and rfc822 format available.

Message #47 received at 103975-done@bugs.debian.org (full text, mbox):

From: David Prévot <taffit@debian.org>
To: 103975-done@bugs.debian.org
Subject: OpenSearch plugin coming soon on your screen
Date: Fri, 06 Apr 2012 18:04:58 -0400
[Message part 1 (text/plain, inline)]
Hi,

Le 14/04/2011 01:12, Brian Herman a écrit :
[…]
> <Url type="text/html" method="get" template="
> http://search.debian.org/cgi-bin/omega?P={searchTerms}"/>
> <Url type="text/html" method="get" template="
> http://packages.debian.org/search?keywords={searchTerms}&searchon=names&suite=stable&section=all
[…]
> <Url type="text/html" method="get" template="
> http://bugs.debian.org/cgi-bin/pkgreport.cgi?package={searchTerms}"/>
> </OpenSearchDescription>

Multiple URLs doesn't seem supported (but multiple plugins can be added
for one page), and such OpenSearch plugin for packages.d.o or bugs.d.o
should probably be a better fit on their own website than on www.d.o
(the packages.d.o one is already distributed with Iceweasel BTW).

Thanks to Raphael's help (who also just added one for the PTS, see
#477347), we just added such a plugin, with i18n and l10n support. It
will be online tomorrow (a full rebuild is needed, since the header
changes on every page).

Regards

David, on behalf of the “Better Late Than Never Team”

P.-S.: the “Better Late Than Never Team” is looking for contributors for
its “Over Ten Years Old Bugs of the Week” initiative.


[signature.asc (application/pgp-signature, attachment)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 05 May 2012 07:43:50 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Apr 17 00:37:10 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.