sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
- From: Martin Ruderer <martin AT lddd.org>
- To: sm-discuss AT lists.ibiblio.org
- Subject: Re: [SM-Discuss] Browsers with built in search
- Date: Tue, 17 Jun 2003 18:31:24 +0200
On Tue, 17 Jun 2003 17:43:54 +0200
Martin Ruderer <martin AT lddd.org> wrote:
> On Tue, 17 Jun 2003 15:47:20 +0200
> Martin Ruderer <martin AT lddd.org> wrote:
>
> > On Mon, 16 Jun 2003 23:51:13 -0500
> > Zach Hobbs <zach-list AT firstwavedesign.com> wrote:
> >
> > > If you use a browser with a built in search tool on the top I've
> > > put up a little PHP file that will redirect you to the website for
> > > a spell you pass to it. I use it so that you can type in a spell
> > > in the box and it will go to that spell's website. Figure some of
> > > you guys might find it usefull sometimes.
personally, I'm using that now.
(I hope you won't run in public, if you don't want to give away
free shell access. ;-)
#!/bin/bash
source /etc/sorcery/config
read request
spell=$(echo $request | perl -ple'($_)=m|/\?([^\s]+)|')
spelldir=$(codex_find_spell_by_name $spell)
if [ ! $spelldir ]; then
echo "no such spell \"$spell\""
echo "you probably want"
gaze search -name $spell
exit 1
fi
codex_set_current_spell $spelldir
echo "HTTP/1.0 302 Moved Temporarily"
echo "Location: $WEB_SITE"
echo ""
--
Martin
-
[SM-Discuss] Browsers with built in search,
Zach Hobbs, 06/17/2003
- Re: [SM-Discuss] Browsers with built in search, Arwed von Merkatz, 06/17/2003
-
Re: [SM-Discuss] Browsers with built in search,
Jason Flatt, 06/17/2003
- Re: [SM-Discuss] Browsers with built in search, Zach Hobbs, 06/17/2003
-
Re: [SM-Discuss] Browsers with built in search,
Martin Ruderer, 06/17/2003
- Re: [SM-Discuss] Browsers with built in search, Martin Ruderer, 06/17/2003
-
Re: [SM-Discuss] Browsers with built in search,
Martin Ruderer, 06/17/2003
-
Re: [SM-Discuss] Browsers with built in search,
Jason Flatt, 06/17/2003
- Re: [SM-Discuss] Browsers with built in search, Jason Flatt, 06/17/2003
- Re: [SM-Discuss] Browsers with built in search, Martin Ruderer, 06/17/2003
-
Re: [SM-Discuss] Browsers with built in search,
Jason Flatt, 06/17/2003
Archive powered by MHonArc 2.6.24.