extracting first 10 search results

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Mehnaz
Forum Newbie
Posts: 20
Joined: Mon Jun 02, 2008 7:49 pm

extracting first 10 search results

Post by Mehnaz »

Hi,

I am querying MedlinePlus search engine like this

http://vsearch.nlm.nih.gov/vivisimo/cgi ... m&x=47&y=9

I want to extract first 10 search results( urls) and find the most appropirate web page(may use a frequency based algorithm) and redirect the user to that single web page instead of showing all the query results.

I am in the phase of figuring out the solution and do not now where to start.

Please help.

Regards

Mehnaz
miro_igov
Forum Contributor
Posts: 485
Joined: Fri Mar 31, 2006 5:06 am
Location: Bulgaria

Re: extracting first 10 search results

Post by miro_igov »

preg_match_all()
Post Reply