[Xapian-discuss] [Omindex] How to associate a web URL in search results based on a document stored as a local file?

oscaruser at programmer.net oscaruser at programmer.net
Tue May 16 00:43:21 BST 2006


Folks,

I download a web page and want to add it to the index. I am using omindex (as below). When I search for the document, I see in search results that the hyper text link URL is to a file (e.g. http://www.mysite.com/shoe/tennis_shoe/tennis_shoe.html). What I want to be able to do is download the HTML file, save it, have it appear with a link back to the original web URL. How can I do this? I have been looking at modifying the omega.cc, but am just getting started with the source code. I thought perhaps there is a better way or tool to use.

Thanks,
OSC

~/xapian/bin/omindex --db /var/data/omega/data/default --url 'http://www.mysite.com/shoe/tennis_shoe' /tmp/shoe/tennis_shoe.html


-- 
___________________________________________________
Play 100s of games for FREE! http://games.mail.com/




More information about the Xapian-discuss mailing list