Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Word Document Text Search
Old 02-11-2007, 12:40 PM Word Document Text Search
Junior Talker

Posts: 1
Name: Dave
Trades: 0
Hi,

I would like to add a word document text search facility to a website.
The website is hosted on a Windows 2003 Server.

Can anyone advise how best to do this? I have had a search round and found various (rather pricey) components which will do the job however, I woundered if there was already a way to acheive this using components included with IIS, or if there was a free component that anyone could recommend.

Thanks

Regards

David
dodgydd is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-11-2007, 04:54 PM Re: Word Document Text Search
vangogh's Avatar
Post Impressionist

Posts: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
I'm not very familiar with IIS, but I would think the search would need to be a script and not something the server would do on it's own.

You can find some scripts for searching at Hotscripts. I didn't look through the specific scripts, but hopefully there's something in there you can use that's either free or low cost.

The link above takes you to the search scripts written in asp. There's a category for asp.net and also other languages that might work.

Hope it helps.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 02-11-2007, 07:10 PM Re: Word Document Text Search
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Is the indexing service installed and running on the server ?

http://www.microsoft.com/technet/pro...ty/c09iis.mspx

http://www.windowsnetworking.com/art...g-Service.html

http://www.codeguru.com/csharp/cshar...cle.php/c9813/
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 02-12-2007, 09:23 AM Re: Word Document Text Search
willcode4beer's Avatar
Super Moderator

Posts: 1,533
Name: Paul Davis
Location: San Francisco
Trades: 1
I was going to suggest the POI Library but, I don't think you can use it with IIS (its a java library).
One thing that may help, as of word 2003, you can save word docs as XML. So, if you could get files in XML then searching would be trivial.
willcode4beer is offline
Reply With Quote
View Public Profile
 
Old 02-13-2007, 01:14 AM Re: Word Document Text Search
ForrestCroce's Avatar
Half Man, Half Amazing

Posts: 3,023
Name: Forrest Croce
Location: Seattle, WA
Trades: 0
If you have a lot of documents you want the server to search, it might take some time. More than what people expect in the context of a web page.

I don't remember the exact syntax, but you can use OLE Automation to do this fairly easily. Use Server.CreateObject("Word.Application"), then open each document and enumerate the paragraphs or words. This looks like a good start:

http://www.inquiry.com/techtips/vfox.../10min0600.asp
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
ForrestCroce is offline
Reply With Quote
View Public Profile Visit ForrestCroce's homepage!
 
Reply     « Reply to Word Document Text Search
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.21697 seconds with 12 queries