How this site does it?

Status
Not open for further replies.

dshah

New member
Jan 14, 2007
22
1
0
h**p://www.lifeinfogems.net/music

How does it get list of 'Related Searches'
 


It looks like it stores queries and related searches in a database and looks it up. If the query data isn't in the database, it probably queries a few places to get related keywords and content and then saves it to the database.
 
It looks like it stores queries and related searches in a database and looks it up. If the query data isn't in the database, it probably queries a few places to get related keywords and content and then saves it to the database.

alright, I think I wasn't clear enough. I am interested to know how and probably from where does it get the list of keywords in the right sidebar.

The search results etc is very simple MSN search results (using RSS)
 
alright, I think I wasn't clear enough. I am interested to know how and probably from where does it get the list of keywords in the right sidebar.

The search results etc is very simple MSN search results (using RSS)

He just told you how it's probably done. It wouldn't be hard to find a script that does that or close to that in which you could modify to your needs.
 
Hell, if you're so interested in a quick answer right now, why not just query the site you linked and scrape its related searches?
 
Hell, if you're so interested in a quick answer right now, why not just query the site you linked and scrape its related searches?

Yepp, thats on my mind. I guess thats quickest way :Yahoo_29:

I am planning to use CURL - is there anything else I can use to it better.
 
curl is pretty much the "standard" way of doing it, so you won't go wrong there.
 
dshah, I found this little gem from yahoo dev network:

Related Suggestions Documentation for Yahoo! Search Web Services
If you know anything about programming, using Yahoo!'s REST API is a snap. Let me know if you have any questions or need help.

Dude - You rocked it. Thats so perfect :) (though it may not be the technique site above is using - I will use it).

I am programmer by heart :Yahoo_29:, but I don't know much PHP - I think I will manage though. I have some code which does YouTube API using REST - so I can apply some of it on this.

Thanks again!
 
Status
Not open for further replies.