home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

Search function in web pages

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 1644
Discussions: 200,988, Posts: 2,379,872, Members: 246,359
Old July 18th, 2006, 04:25 PM   Digg it!   #1 (permalink)
Space for Sale! :p
 
eagle1's Avatar
 
Join Date: Oct 2001
Location: La Isla del Encanto
Posts: 5,836
Search function in web pages

Hello guys.

I would like to create a search function that will look in a Folder at
all the html files and look for matches. The output would return the page
it is located and the complete string you searched.
The thing is that this would be created using Javascript or a stand alone JAVA
app (forget about CGI, Pearl, etc. ).

Now, what would be better?


Thanks.
__________________
boo!
eagle1 is offline   Reply With Quote
Old July 18th, 2006, 04:35 PM     #2 (permalink)
Real gangstas sip on Yacc
 
jkrohn's Avatar
 
Join Date: Oct 2001
Location: Suckas-ville
Posts: 4,552
Send a message via ICQ to jkrohn Send a message via AIM to jkrohn Send a message via Yahoo to jkrohn
Is this running on a webserver and accesible to others? Is this simply a standalone program for your own use? Do you have a search algorithm you are going to use?

Javascript is not possible unless you want to use ActiveX.
Java would be a much better option.

Jkrohn
__________________
Signatures blow hard
If your signature contains an ad of any kind, congratulations, you're on my ignore list.
jkrohn is offline   Reply With Quote
Old July 19th, 2006, 03:04 PM     #3 (permalink)
Space for Sale! :p
 
eagle1's Avatar
 
Join Date: Oct 2001
Location: La Isla del Encanto
Posts: 5,836
Hey jkrohn!

To answer your questions:

It will run on a Web Server.
A standalone program can be made if possible but after pondering about it
I think it would be better for the program to be run from a webpage.
No search algorithms yet. We'll start from scratch.

I also believe that Java will be the one to use and already started reading about it but I don't know if there are functions already for searching (which there probably are).

Thanks for your input.
eagle1 is offline   Reply With Quote
Old July 19th, 2006, 03:59 PM     #4 (permalink)
Banned
 
Iturea's Avatar
 
Join Date: Jan 2004
Location: Earth
Posts: 420
If this is an Internet Application and you let Google index these html files you can use Google API's in your web application code to pull all the information you want. This way you can let Google do all the hard work for you and all you got to do is supply the input and capture the output.

http://www.google.com/apis/

I use Google API's all the time and I can tell you that they make very complicated matters very easy. It has saved me so much time in development, and well there is no maintenance cause they do all of that.
Iturea is offline   Reply With Quote
Old July 19th, 2006, 04:43 PM     #5 (permalink)
Space for Sale! :p
 
eagle1's Avatar
 
Join Date: Oct 2001
Location: La Isla del Encanto
Posts: 5,836
So you mean to tell me that Google has like a Search generator or something?!?
These guys are into everything!
I will look into that but I will probably try and do it myself also since
I haven't programmed in so long!
eagle1 is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread Starter Forum Replies Last Post
Local Website search function VHockey86 Webmastering and Programming 4 August 15th, 2004 02:10 AM
Automatic search bots of web pages NateTheGreat Networking and Internet 4 May 15th, 2003 02:16 PM
MOD: search function disabled?! PresterJohn General Tech Discussion 1 September 14th, 2002 12:50 PM
can't open certain web pages dar1again Networking and Internet 8 May 26th, 2002 08:31 AM


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (3068)
Charges against non-tippers dropped.. (20)
Health Care Rationing (11)
Delete an OS (17)
Nvidia GTX 260 problem (10)
Laptop with wireless problem. (12)
windows vista security holes (19)
Wireless Televisions. (12)
CPU fan stops spinning randomly (11)
Regular Build (11)
Point and Shoot Camera Suggestions. (8)
windows 7 problem (7)
[F@H SPAM 11/16/09] ! 1/2 months to.. (39)
Internet Lost (5)
Recent Discussions
Desktop Calendar Application (2)
Looking for new motherboard (1)
soundmon.exe (8)
Jedi Academy Problem (3)
Can a page file be "too big".. (1)
Nvidia GTX 260 problem (10)
Point and Shoot Camera Suggestions. (8)
Size after cutting 700Mb file is 2.5 .. (0)
Delete an OS (17)
[F@H SPAM 11/16/09] ! 1/2 months to r.. (39)
windows vista security holes (19)
updating BIOS via winflash, claims fi.. (1)
New Server Configuration Suggestions (0)
cheap gaming laptop? (12)
Unallocated Space (2)
help me pls laptop just stopped worki.. (1)
C# + LINQ Help (7)
Dynex DX E-402 (3)
EVGA 9800 gtx help with finding a goo.. (12)
Multiple Restarts Required at Boot (5)
cell phone won't work (0)
Is the PSU I received dead? (15)
Can't open Word (12)
Steam ID's, Gamertags etc... (4)
Games, Cables, PCI cards, and more fo.. (6)


All times are GMT -4. The time now is 07:42 AM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28