Tuesday, March 25, 2008

Wikipedia on iSpecies


I've added snippets from Wikipedia to iSpecies results, in part inspired by FreeBase. This makes use of the XML export format . For example, the URL http://en.wikipedia.org / wiki / Special:Export / Luzon_Montane_Forest_Mouse returns XML, with the wiki markup enclosed in the tags <text xml:space="preserve"></text> I use some simple regular expressions to strip some of the markup out, including the taxobox, then I grab the first 100 words of the article to display on the iSpecies page (together with a link to the original article).

Because a species may have multiple names, we need to handle redirection. For example, the URL http://en.wikipedia.org / wiki / Special:Export / Apomys_datae returns
<text xml:space="preserve">#Redirect [[Luzon Montane Forest Mouse]]</text>

which tells us that the content is to be found at http://en.wikipedia.org / wiki / Special:Export / Luzon_Montane_Forest_Mouse.

There's still some polishing to do, but the Wikipedia snippets add something to the iSpecies results.

7 comments:

Hoang Viet Anh said...

Great job you did. How about using spinet form Wikispeices, they seem to be more focused.

Roderic Page said...

More focussed, but much poorer in content. Compare the treatment of Physeter catodon on Wikipedia and Wikispecies. No contest.

Hoang Viet Anh said...

Yes, you are right. Wikipedia still have a much larger content. No contest too. I like the idea of iSpecies very much, so I just keep thinking about way for improvement. I started a name database for forest folora species with focus on local name for Vietnam.

http://gfd.dabbledb.com/publish/forestspeciesdatabase

That site use iSpace for species description lookup and so far it work very well. Originally I was prepared for some programming to extract information from NCBI, but iSpace saved me all of the hard job. Thank you.

Anonymous said...

Atlantica Gold We offer the Cheapest Gold, the Best Service and the Latest Atlantica Information Here.strives to give you the best prices on atlantica online gold service. we can always buy Atlantica Gold quickly and fast delivery that brings you more satisfactorily. our aim is to make you happy with a more excited life in the game. we will try our best to provide customers the best service and the safest delivery. thanks to the loyal and new customers for supporting us all the time. if you are interested in atlantica , you can enjoy great discount here! we will devote all efforts to returning, once again, thank you!jerryxia2009306 ferind links:cheap Atlantica online Gold cheap atlantica gold buy Atlantica online Gold

Anonymous said...

Do you know the warhammer gold, In here you can buy the warhammer Online gold, Do you know that the warhammer money in the game is very important, If you had more cheap warhammer Online gold . I think you can get the tall level, quickly come here to buy warhammer gold.

Anonymous said...

Do you know the fiesta Gold, in the game you need the
fiesta money. it can help you increase your level. My friends always asked me how to
buy fiesta Gold, and I do not know he spend how much money to buy the
fiesta online gold, when I see him in order to play the game and search which the place can buy the
fiesta online money. I am happy with him.
Do you know the Archlord gold, in the game you need the Archlord money. it can help you increase your level. My friends always asked me how to buy Archlord gold, and I do not know he spend how much money to buy the archlord online Gold, when I see him in order to play the game and search which the place can buy the
cheap Archlord gold. I am happy with him.

Anonymous said...

Once I played stoneage2, I did not know how to get strong, someone told me that you must have stoneage2 Gold. He gave me some stoneage 2 Gold, he said that I could buy stoneage2 money, but I did not have money, then I played it all my spare time. From then on, I got some buy stoneage2 Gold, if I did not continue to play it, I can sell stoneage 2 money to anyone who want.

Once I played flyff, I did not know how to get strong, someone told me that you must have flyff penya. He gave me some flyff money, he said that I could buy flyff penya, but I did not have money, then I played it all my spare time. From then on, I got some flyff gold, if I did not continue to play it, I can sell cheap penya to anyone who want.