~ubuntu-branches/ubuntu/hardy/surfraw/hardy

« back to all changes in this revision

Viewing changes to elvi/happypenguin

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Smith
  • Date: 2005-04-20 17:00:59 UTC
  • mfrom: (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050420170059-z7j6h1rsqfgfwhmg
Tags: 2.1.0-1
* Ian Beckwith <ianb@nessie.mcc.ac.uk>:
  + New elvi: dmoz, w3html, w3link, w3css, w3rdf.
  + New elvi: rae (by Ruben Pollan <meskio@terra.es>).
  + surfraw.IN:w3_url_escape: escaped `(' and `)'.
  + Fixed elvi (Thanks to Justin B. Rye):
      - sunsolve  (Closes: #289502).
      - altavista (Closes: #289503).
  + deblists: Updated list of debian mailing lists.
  + currency: Now a proper elvis.
  + Added appendix 2 to HACKING on preparing a release.
* Moritz Muehlenhoff <jmm@inutil.org>:
  + Switch rhymes search from Lycos to Rhymezone (by Justin B Rye)
    (Closes: #289498)
  + Fix BBC News search (by Justin B Rye) (Closes: #289499)
  + New elvi by by Justin B Rye (Closes: #290032)
    - cia      Search for CIA documents
    - deblogs  Debian changelogs
    - etym     Search for word origins
    - foldoc   Free online dictionary of computing
  + New cve elvis for CAN assignment searches
  + Rewrite debian/copyright properly

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
# elvis: happypenguin   -- Search the Linux Game Tome (www.happypenguin.org)
 
3
# Linux Game Tome plugin (http://www.happypenguin.org)
 
4
#                                      jmm@informatik.uni-bremen.de
 
5
# $Id: happypenguin,v 1.3 2004/04/05 21:27:23 jmm-guest Exp $
 
6
 
 
7
. surfraw || exit 1
 
8
 
 
9
w3_usage_hook () {
 
10
    cat <<EOF
 
11
Usage: $w3_argv0 [search words]...
 
12
Description:
 
13
  Surfraw search for the Linux Game Tome (http://www.happypenguin.org)
 
14
EOF
 
15
    w3_global_usage
 
16
}
 
17
 
 
18
w3_config
 
19
# disable requoting, doesn't work with this elvi.
 
20
SURFRAW_quote_ifs=0
 
21
w3_parse_args "$@"
 
22
if test -z "$w3_args"; then
 
23
    w3_browse_url "http://www.happypenguin.org/"
 
24
else
 
25
    escaped_args=`w3_url_of_arg $w3_args`
 
26
    w3_browse_url "http://www.happypenguin.org/list?search=${escaped_args}"
 
27
fi