/    Sign up×
Community /Pin to ProfileBookmark

search function

Hi guys

I trying to add a search function to my firms Intranet. So far nothing nas soulwed our problem. We have too much data. I´m looking for at nice search script or somthing like that where I can name maybe 10 – 15 variable. Yhe intranet is over 2000 pages in html. I only want to search function to search within the intranet filses…. Can anyone help me out here, and it must not be too complex for me, i´m not that good.

Thanks
jesper

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@A1ien51Jan 13.2006 — You probably should really look into a program that can index the pages and do all of the work.

Also if your site is indexed by google, you can use Google Free web search with site search. http://www.google.com/services/websearch.html

WHOOPS missed intranet so the above option will not work...

Eric
Copy linkTweet thisAlerts:
@gphJan 13.2006 — Assuming you are using windows and IE:

You can use fso with an hta to read the files but it would be very slow.

Alternatively, you could write a wsf file or similar that runs on a schedule to check for updates. It could read the files and write the text to arrays in js files. Looping through the arrays would be faster than reading the files and stripping the html real time.

That all said, I'd say do what A1ien51 suggested and find a prewritten program for this.
×

Success!

Help @lakman4 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.1,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...