[OWW-Discuss] Working Google Image Search example on OWW
Bill F
bill.altmail at gmail.com
Sun May 11 12:49:20 EDT 2008
This is a very preliminary demo of Google's Image search.
http://openwetware.org/wiki/User:Bill_Flanagan/Google_Image_Search
The first time it places OpenWetWare in the search box. From then on the
script does it for you.
There are actually a few searches being done:
1. Image
2. Video
3. Abbreviated image search.
We may be able to get different results by using the 'Image' tag within the
wiki pages. I'm still looking at how to pull the context information from
the wiki page in which the image is located as a way of providing a better
way to select the ordering of images.
This is implied in the regular Image search: Google uses the html page
context to identify the most appropriate image. When Google spiders the
site, it pulls HTML and not the wiki text. That means the bitmap name is
connected to the html context. Since MediaWiki has a separate name for both
the "image page entity" and the bitmap file itself, there may be room to
find a way to better relate the image page to the image and to the page
it's called from. We don't generally associate category tags with images: I
don't even know if you can. If this was done, we may end up with an even
more meaningful way of providing for contextual linking of images to
keywords.
Beware: the current page where the Google Image Searchis based looks like a
google demo page and not a regular OWW page. For this reason, be careful of
using my current code: it will result in a similar look in another page if
you try it there.
The other thing missing from the image data is the name of the person who
created it. This means that for now, there's no way to relate images to
users. I have a solution for this based on the namespace/user name info in
MediaWiki but not by using Google.
As I said before, please let me know if this is useful and whether you have
something further to contribute. I'm going to move these messages into OWW
so that they get searched and accessed by other people outside of the
Discuss list.
B.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/oww-discuss/attachments/20080511/9d1cb53c/attachment.htm
More information about the Oww-discuss
mailing list