Page 1 of 1

WWB Site Search facility

Posted: Fri Feb 05, 2021 5:05 pm
by roygore
I'm using the built-in site search feature in WWB which appears to be working as expected on the site where it is installed.

I only want to have one search target, but I really want that target to be an external website instead of the site where the search panel and results panel are installed.

Following the online tutorial, would it be possible to do this by setting the target in the Event window on the SEARCH button?

Is it possible to change the target to an external website?

Thanks
Roy

Re: WWB Site Search facility

Posted: Fri Feb 05, 2021 6:04 pm
by Pablo
It is not possible to use an external website because how would that website know what to do with the search query?

Re: WWB Site Search facility

Posted: Fri Feb 05, 2021 10:45 pm
by roygore
Hi Pablo,

Thanks for the reply.

I just thought it might be possible that the search query results from a remote site could be held and displayed on the same site where the 'site search' app resides.

Thanks for your help.
Roy

Re: WWB Site Search facility

Posted: Sat Feb 06, 2021 10:07 am
by roygore
Pablo,

Does the search function look at sub-folders in a website?

On the host server, my 'history' website has several sub-folders called 'museum' and 'society'.

For example:
https://history.co.uk/museum
https://history.co.uk/society

If I set up the site search function in the 'History' website, will the search also scan the 'Museum' and 'Society' folders?

I hope that makes sense.

Thanks again for all your help.

Roy

Re: WWB Site Search facility

Posted: Sat Feb 06, 2021 10:37 am
by Pablo
The search index is built from page content in your project, including folders in the site manager.
It does not scan files or folders on your website.

Re: WWB Site Search facility

Posted: Sat Feb 06, 2021 11:09 am
by BaconFries
Unrelated to the site search object in the program. Maybe the following link may help it is from a Google search see 2nd link
for more. Note for information only and "ASIS"
Use javascript and html to submit a search to an external website and open in a new tab
https://stackoverflow.com/questions/504 ... -open-in-a

use search get results from external site
https://www.google.com/search?q=use+sea ... 6717529297

Re: WWB Site Search facility

Posted: Sat Feb 06, 2021 5:02 pm
by roygore
Bacon Fries,

Thanks for the suggestions. I'm not a programmer but i will check out the links.

Roy