Re: Bash script for database searching using crontab

From: Cameron Kerr (cameron.kerr_at_paradise.net.nz)
Date: 01/29/04


Date: 29 Jan 2004 20:56:44 +1300

saurya_s <saurya_s@hotmail.com> wrote:
> Hi all
> I usally do database search for references everyweek at PubMed
> http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?db=PubMed
> Now, can I automate this:

If you just want to be notified of when there is a change in the search
results, you have at least two options.

1) This one is easy. Use Mozilla (other browsers offer this too), and
tell it (via bookmark properties) to check it every day and to open it
(or whatever) when it changes. Simple.

2) This one is difficult, and requires knowledge of Perl. If you want
something more complicated, such as an email giving you the new entry,
then you would need to "scrape" the HTML, which is a task suited to a
Perl script. I've looked at the source of the search result page, and it
looks like it shouldn't be too difficult to find what you want amongst
it.

-- 
Cameron Kerr
cameron.kerr@paradise.net.nz : http://nzgeeks.org/cameron/
Empowered by Perl!


Relevant Pages

  • Bash script for database searching using crontab
    ... I usally do database search for references everyweek at PubMed ... Now, can I automate this: ... AJP/Clevo laptop-866MHz PIII,384MB SDRAM ...
    (comp.os.linux)
  • Re: how to answer interview question: how do you deal with stress ?
    ... Managers are supposed to be ... he liked to work alot ... but could be automated, and automate it. ... advocate of Perl and did alot of automated testing using perl which ...
    (comp.programming)
  • Frustrated newbie question
    ... put together to automate some things I currently do manually. ... I did get this array structure to work: ... string split into the array. ... long run the time I spend learning Perl will pay off, ...
    (perl.beginners)
  • Re: Web page manipulation
    ... Eric Krause wrote: ... > I am new to perl and I am trying to write a script that will allow me to ... > automate some tasks that I do every day on the same web pages. ...
    (perl.beginners)
  • Re: Perl Script to be automated
    ... It was written for me by a friend whom dabbles in Perl and he says he has no ... code would be involved to automate the cycling through the events. ... What exactly do you mean when you say "cycle through events?" ... hit each of a list of web sites? ...
    (comp.lang.perl.misc)