CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Need a Custom or Prewritten Perl Program?: I Need a Programmer for Freelance Work:
Web based filtering

 



blink_black
New User

Jul 5, 2006, 12:11 PM

Post #1 of 1 (2944 views)
Web based filtering Quote | Reply | Private Reply

 Hi everyone:

I dont know the price range for programs, but if anybody is interested, just make me a best offer. Thanks.

Using a tool known as lynx, I successfully dumped the contents of a webpage into a neat and well-arranged textfile (check out the attachment). In the dump as you can see, it grouped the abstracts on top and then the references(html links) below.

I want a program that will perform a search (lets say "galaxy") on the textfile and find abstracts that contain the word. Then it will redirect the link to the abstract into another file.

Example, I have pasted some parts of logfile.txt. In the example below, the system will realize that the first abstract contained "galaxy", and then it will either grep out the number from that line that begins with "astro-ph" and then match the [1] with the [1] in the references and send the html link to an output file or email.

Anybody that wants to tackle this and needs further explanation, please feel free to email me at blink_black@yahoo.com. I will match any price out there and more if work is done before the end of July. Thanks


////logfile.txt///

astro-ph/0606414 [[1]abs, [2]ps, [3]pdf, [4]other] :
Comments: 10 pages, an invited talk presented in the GC2006
workshop, high-resolution version available at [6]this http URL
About 2 million seconds of Chandra observing time have been devoted
to the Galaxy center

astro-ph/0606415 [[7]abs, [8]ps, [9]pdf, [10]other] :
Comments: 4 pages, 1 figure, submitted to ApJ Letters
We investigate the orientation of the axes and angular momentum of
dark matter halos with respect to their neighboring voids using high
resolution N-body cosmological simulations.

References
1. http://www.arxiv.org/abs/astro-ph/0606414
2. http://www.arxiv.org/ps/astro-ph/0606414
3. http://www.arxiv.org/pdf/astro-ph/0606414
4. http://www.arxiv.org/format/astro-ph/0606414
5. http://www.arxiv.org/find/astro-ph/1/au:+Wang_Q/0/1/0/all/0/1
6. http://www.astro.umass.edu/~wqd/papers/arches/gc2006.pdf
7. http://www.arxiv.org/abs/astro-ph/0606415
8. http://www.arxiv.org/ps/astro-ph/0606415
9. http://www.arxiv.org/pdf/astro-ph/0606415
10. http://www.arxiv.org/format/astro-ph/0606415

//end of logfile.tx

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives