| Author |
Topic Search Topic Options
|
John007
Newbie
Joined: 03 September 2003
Status: Offline
Points: 10
|
Post Options
Thanks(0)
Quote Reply
Topic: Search link Question Posted: 04 September 2003 at 1:07am |
All,
Question: After I click on the search link at the top of the forum page it sends me to search_form.asp. So here is my question. I don't want the search page to search the forum I want it to search a Word document I have. Do any of you know how I would do this.
Thanks in adance,
John007
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 04 September 2003 at 2:01am |
Word documents are compiled, open one up in a text editor and all you see is a load of squiggles and junk. So it would not be possible to search these documents with ASP.
If you have a look on www.aspin.com you might find a component thta will allow you to do this but you will probally have to pay quite a few hundred dollars for it and also have access to the web server to install it.
|
|
|
 |
John007
Newbie
Joined: 03 September 2003
Status: Offline
Points: 10
|
Post Options
Thanks(0)
Quote Reply
Posted: 04 September 2003 at 2:23pm |
boRg,
I just converted the Word document to a .asp page. So you know how I could have the search link search this new page I created?
Again thanks for all your help,
John007
|
 |
b_bonnett
Mod Builder Group
Joined: 16 April 2003
Location: New Zealand
Status: Offline
Points: 275
|
Post Options
Thanks(0)
Quote Reply
Posted: 04 September 2003 at 4:20pm |
Since the forum search only searches in the database, you'll need to find a search script that searches individual files (theres one on this site), set it up so it searches only that asp file, then change the link in the includes/navigation_buttons_inc.asp to point to the new search script.
Blair
Edited by b_bonnett
|
|
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 04 September 2003 at 5:02pm |
|
It still wouldn't work, you would need to convert the wrod document to a plain text file.
|
|
|
 |
John007
Newbie
Joined: 03 September 2003
Status: Offline
Points: 10
|
Post Options
Thanks(0)
Quote Reply
Posted: 04 September 2003 at 5:04pm |
b_bonnett,
Well they say there is no such thing as a dumb question so here is mine, I can't find this program you are talking about.
John007
|
 |
b_bonnett
Mod Builder Group
Joined: 16 April 2003
Location: New Zealand
Status: Offline
Points: 275
|
Post Options
Thanks(0)
Quote Reply
Posted: 04 September 2003 at 5:11pm |
Note that my solution assumes, like Bruce said, that you converted it to a plain text file via File --> Save As.
For the Site Search Engine, click on the 'ASP' button in the navigation bar, it is third in the list of scripts.
Blair
|
|
|
 |