I'm feeling Wikipedia

/ Published in: PHP
Save to your folder(s)

returns URL that's an I'm feeling lucky search on wikipedia. Handy when paired with a database of names of things.

Copy this code and paste it in your HTML
  1. function wikiLink($name){
  2. return "http://www.google.com/search?hl=en&q=site:wikipedia.org%20".$name."&btnI=I'm+Feeling+Lucky&aq=f&oq=&aqi=";
  3. }

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.