LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-15-2004, 07:00 AM   #1
clorofill
LQ Newbie
 
Registered: Jul 2004
Posts: 1

Rep: Reputation: 0
Question Search form with nvu??


Hello everyone,

I've been using Nvu 0.3 for 2 weeks now and have had to use the HTML editor more times than the actual "no html knowledge required" console. But anyway, that is not the issue; I need to implement a search button that will actually search through the other pages in my site.

*The thing is my site is within an intranet, meaning I do not actually have a domain, but more like a server address, ie: //server/website/my_website.html where all the pages the index page links to are; and which other users in the intranet can access*

I tried implementing Google's free html code that enables searching your site, but only works for domain names. The other alternatives are using a cgi or a database, etc but they are not convenient.

Is there any way at all I can implement this with Nvu? Or can someone tell me the html code i'd have to use? or some other solution...

Thank you =)

xxxxxx

clorofill
 
Old 07-16-2004, 12:45 AM   #2
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
HTML is Hyper Text Markup Language, so all it really does is formatting. To search through your website, or actually all the files in your website, you'll need to use perl (cgi) or PHP to do the actual searching. You'll also want to have this stored in some database (MySQL or PostgreSQL) to reduce the amount of work that your server has to do. Your search will work better if it only has to search through the database, rather than searching through all the files for every search.

I don't know how you define convenience, but this is really the most efficient way to do it, and practically speaking, the only way. It may not be brain-dead simple, but it's not that difficult to set up a PHP-MySQL powered search function. Check out PhpDig. If you can set up Apache, you should be able to get PHP to work with MySQL without too much trouble.

Enjoy!
--- Cerbere

[edit] And BTW Welcome to LQ.org! [/edit]

[edit2] An even better (simpler) search engine is here. [/edit2]

Last edited by Cerbere; 07-16-2004 at 01:00 AM.
 
  


Reply


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
To call a new form from Current form in QT Desginer kiranbud Linux - Software 0 11-26-2005 12:56 AM
How do list the results from my search form? Alexander.s Programming 4 05-09-2005 12:01 PM
shell script works form command line but not form crontab saifee General 1 10-14-2004 11:27 AM
how do I copy a whoel folder form one directory to another form the command line? zwyrbla Linux - Newbie 8 08-24-2004 07:40 PM
I want Linux source code for FAT file system in user readable form not in binary form ramya272 Linux - Newbie 5 02-05-2004 08:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration