~ubuntu-branches/ubuntu/hardy/search-citeseer/hardy

« back to all changes in this revision

Viewing changes to search-citeseer

  • Committer: Bazaar Package Importer
  • Author(s): Otavio Salvador
  • Date: 2006-08-02 10:50:27 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060802105027-qmxrpigtv10an9l2
Tags: 0.3-1
* New upstream release
  - Merged packge to new format.
* Update watch file to use upstream webpage since the download directory
  doesn't permit indexing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
# along with GNU Emacs; see the file COPYING.  If not, write to
17
17
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.    
18
18
 
 
19
# Thanks to:
 
20
# Otavio Salvador otavio at debian.org
 
21
# Pietro Abate Pietro.Abate at anu.edu.au
 
22
 
19
23
use HTTP::Request::Common;
20
24
use LWP::UserAgent;
21
25
 
67
71
#    print "DEBUG: $str";
68
72
    $_=$line;
69
73
    if ($zone) {
70
 
        if (/<a href=.*html\"\>/) {
 
74
        if (/<a href=\".*html\"\>/) {
71
75
#           print "DEBUG: $_";
72
 
            s/<a href=\"(.*)\"\>.*/\1/;
 
76
            s/<!--RIS--><a href=\"(.*html)\"\>.*/\1/;
73
77
            getbib $_;
74
78
        } elsif (/.*Try your query at:.*/) {
75
79
            $zone=0;
100
104
(http://citeseer.nj.nec.com/cs) for BibTeX entries. With it you can
101
105
perform a query without browser, directly from the command line.
102
106
 
103
 
Download
104
 
http://www.inf.ufrgs.br/~rreal/search-citeseer.html
105
 
 
106
 
 
107
107
=head1 EXAMPLE
108
108
 
109
109
search-citeseer "operating systems"