Page 1 of 1

embed everything in html?

Posted: Sun Apr 28, 2019 7:48 pm
by bburk
HI,

I am looking for a program to search a folder of about 1000 files.

The files are hosted on a server we will call it the z drive. this computer is not connected to the internet and uses an html file with buttons and links to access those 1000 files on the z drive.

Can i embed everything search in the html file and have it search those files?

Thanks,
Brian

Re: embed everything in html?

Posted: Mon Apr 29, 2019 4:08 am
by void
Please try adding the following to your html file:

Code: Select all

<form id="searchform" action="http://localhost/" method="get"><input class="searchbox" style="width:480px" id="search" name="search" type="text" title="Search Everything" value="" ></form>
Where localhost is your server running an Everything HTTP server.
You'll need to set Everything to index only the desired files from Tools -> Options -> Indexes.

You could also use an iframe:

Code: Select all

<iframe src="http://localhost/" width="640" height="480"></iframe> 
or, if you wanted more control you can use java script and request a JSON object.