Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Search link Question
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Search link Question

 Post Reply Post Reply
Author
John007 View Drop Down
Newbie
Newbie


Joined: 03 September 2003
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote John007 Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
John007 View Drop Down
Newbie
Newbie


Joined: 03 September 2003
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote John007 Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
b_bonnett View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 16 April 2003
Location: New Zealand
Status: Offline
Points: 275
Post Options Post Options   Thanks (0) Thanks(0)   Quote b_bonnett Quote  Post ReplyReply Direct Link To This Post 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
Webmaster, The Plane Gallery
Greetings From Christchurch
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
John007 View Drop Down
Newbie
Newbie


Joined: 03 September 2003
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote John007 Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
b_bonnett View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 16 April 2003
Location: New Zealand
Status: Offline
Points: 275
Post Options Post Options   Thanks (0) Thanks(0)   Quote b_bonnett Quote  Post ReplyReply Direct Link To This Post 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

Webmaster, The Plane Gallery
Greetings From Christchurch
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.