473,473 Members | 2,215 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

JavaScript Site Search

I'm looking for the above. It has to run on a JavaScript-only site -- No ASP
or PHP, alas -- and has to work on the whole site -- unchanged, no keyword
addition, for example.

Taking the base URL and indexing each page -- upon demand or as required, via
a password protected script would be fine. Then a user can enter their search
term in a form box, hit "Go!" and links to each page on the site should be
presented. Think "Google", but restricted to a single, specified site.

Anybody have any scripts or ideas?

Thanks!

Ross

Jul 20 '05 #1
5 2288
"Ross M. Greenberg" <greenber-at-catskill.net> wrote:

[snip]
Think "Google", but restricted to a single, specified site.


<URL:http://www.google.com/searchcode.html#both>
--
Jim Dabell

Jul 20 '05 #2
Thanks, but it's not working!

I stripped the code down to the minimum, but it can't find a "Sarah" I know is
on the site:

<html>
<head>
<title>Search Test</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<FORM method=GET action="http://www.google.com/search">
<INPUT TYPE=text name=q size=31 maxlength=255 value="">
<input type=submit name=btnG value="Search">
<input type=hidden name=domains value="http://www.jewishtreasures.com">
<input type=hidden name="sitesearch" value="http://www.jewishtreasures.com"
</FORM>
</body>
</html>
"Jim Dabell" <ji********@jimdabell.com> wrote in message
news:qu********************@giganews.com... "Ross M. Greenberg" <greenber-at-catskill.net> wrote:

[snip]
Think "Google", but restricted to a single, specified site.


<URL:http://www.google.com/searchcode.html#both>
--
Jim Dabell


Jul 20 '05 #3
Up for about two months. Do you know of an "index on demand" version around/
"Jim Dabell" <ji********@jimdabell.com> wrote in message
news:bx********************@giganews.com...
"Ross M. Greenberg" <greenber-at-catskill.net> wrote:

[snip site-specific Google]
Thanks, but it's not working!

I stripped the code down to the minimum, but it can't find a "Sarah" I
know is on the site:


Google hasn't indexed that page. Is it new, or has it changed recently?
Have you read Google's tips and FAQs?
--
Jim Dabell


Jul 20 '05 #4
The script need be entirely self-contained: third-party solutions, such as
through Google itself, have not been acceptable.

Thanks!

Ross

"Ross M. Greenberg" <greenber-at-catskill.net> wrote in message
news:vj************@corp.supernews.com...
I'm looking for the above. It has to run on a JavaScript-only site -- No ASP
or PHP, alas -- and has to work on the whole site -- unchanged, no keyword
addition, for example.

Taking the base URL and indexing each page -- upon demand or as required, via a password protected script would be fine. Then a user can enter their search term in a form box, hit "Go!" and links to each page on the site should be
presented. Think "Google", but restricted to a single, specified site.

Anybody have any scripts or ideas?

Thanks!

Ross


Jul 20 '05 #5
Hi Ross,
Maybe I developed just the type of search engine you are looking for.
It is described at
http://www.contentsitesearch.esmartdesign.com
If you are interested please drop me an e-mail
Cheers,
Peter

Jul 23 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Shaun Fleming | last post by:
I've been trying to make this simple script compatible across various browsers. It works for IE 6.0 and NS 7 but doesnt work with Opera (I have version 7.11). This is what is supposed to happen:...
7
by: Bert | last post by:
I have been reading the post and the FAQ and have been unable to find anything that will help with my problem. First let me say that I am not a web developer, designer and no next to nothing...
5
by: Deryck | last post by:
Hi, I am working on an e-commerce site. It uses a CMS. One requirement is to have a static off-line version so that the company's sales reps can visit customers and take orders on a laptop...
12
by: Mark Fox | last post by:
Hello, I am attempting to do something very simple. I have a page MainPage.aspx and a popup window Popup.aspx. When users click on the linkbutton in the popup window I am looking to do some...
3
by: A2 | last post by:
is a possible to make a simple Javascript search engine for my site. my site a directory so it would have to include lots of other site... I a new to Javascript so this really hard for me.??
1
by: jianxin9 | last post by:
Hi, I have an ajax powered tabs box that has a javascript drop-down search menu in the first tab. When I click on another tab, and go back to the first tab I have to refresh the page to get the...
3
by: goldenv | last post by:
Hi all, I have worked an open source javascript + html page that has the potential to replace your existing browser home page. If you are interested in trying it out, or learning more about it, it...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.