Simple Site Search

Anyone figured out how to add a simple site search to your web site using Google, Yahoo, or Bing.  The options out there using html coding do not seem to format correctly when added to an inserted object.

Thanks I did look at it but found out that Google will give you an embedded search widget for free that links you in to their search results.  Thanks.
Robert C. Whitehead
<mailto:[email protected]> [email protected]
<http://www.hilliardawilbanksfoundation.com/> eMail-Tag-Line3

Similar Messages

  • Site Search Issue

    I am using a nifty simple site search created by Satadip Dutta and I
    have it working for my site when I use the search button on my
    search.htm page, but I would also like for the search box and button
    to be on every page so when the user types something in and clicks the
    'Search' button it takes them to the search.htm page and shows the
    results. Currently it goes to the page but it won't show the results.
    Here is my html:
            <script language="javascript" src="scripts/search.js"></script>
        <script language="javascript" src="scripts/data.js"></script>
            <div id="searching">
        <FORM action="search.htm" NAME="searchengine" onSubmit="return
    search()">
        <input type="text"  name="q" value="Search Site"  maxlength=50
    size=20 onfocus="this.value='';" />
        <INPUT TYPE="image" class="button" NAME="go" VALUE="Search"
    src="images/but_search.gif"></p>
            </FORM>
            </div>
    <!-- Put this DIV where you want the search results to show up after a
    search is performed. -->
        <DIV ID="SEARCHOUT"></DIV>
    And the javascript:
        ttl = new Object();
        desc = new Object();
        keys = new Object();
        links= new Object();
        matched= new Object();
        kwords= new Object();
        found= new Object();
        temp=0;
        kwords[0]=0;
        found[0]=0;
        output = '';
        function search() {
            temp=0;
            kwords[0]=0;
            found[0]=0;
            output = '';
            do_search();
            show_output();
            return false;
        function do_search(){
            var skeyword=document.searchengine.q.value.toLowerCase();
            var check=1;
            var pos=0;
            var i=0;
            var j=0;
            var itemp=0;
            var config='';
            while (true) {
                if (skeyword =="")         {
                    break;
                if (skeyword.indexOf(" ") == -1 ) {
                    kwords[check]=skeyword;
                    break;
                pos=skeyword.indexOf(" ");
                if (skeyword !=" ")        {
                    kwords[check]=skeyword.substring(0,pos);
                    check++;
                else {
                    check--;
                    break;
                skeyword=skeyword.substring(pos+1, skeyword.length);
                if (skeyword.length ==0) {
                    check--;
                    break;
            // the keywords have been put in keywords object.
            kwords[0]=check;
            // matching and storing the matches in matched
            for ( i=1; i<=kwords[0];i++) {
                for (j=1;j<=num_titles;j++) {
                    if ( keys[j].toLowerCase().indexOf(kwords[i]) > -1 ||
    ttl[j].toLowerCase().indexOf(kwords[i]) > -1 || desc[j].toLowerCase
    ().indexOf(kwords[i]) > -1) {
                        matched[j]++;
            // putting all the indexes of the matched records  in found
            for (i=1;i<=num_titles;i++) {
                if (matched[i] > 0 ) {
                    found[0]++;
                    // increment the found
                    found[found[0]]=i;
            for (i=1;i<=found[0]-1;i++) {
                for(j=i+1;j<=found[0];j++) {
                    if ( matched[found[i]]< matched[found[j]] ) {
                        temp= found[j];
                        found[j]=found[i];
                        found[i]=temp;
            // end of sort
            // SEARCH HEADER //
            output = output + 'Search Results for: <B>';
            for (i=1;  i<=kwords[0]; i++) {
                output = output +  kwords[i].bold() + "   ";
            output = output + '</B>';
            // No Results //
            if (found[0]==0) {
                output = output + "<HR><BR><BR><b>No matches resulted in
    this search </b> <br>";
                output = output + "You may close the results and reduce
    the length/number  of the keywords  <br>";
            // Results Found //
            else {
                output = output + "[" + found[0] + "  Matches  " . italics
                output = output + "]<HR><BR><OL>";
                for (i=1; i<=found[0];i++) {
                    output = output + "<LI>";
                    itemp=found[i];
                    output = output + ttl[itemp].bold().link(links[itemp])
    + "<br>";
                    output = output + desc[itemp] + "<br>";
                    temp= (matched[itemp]/kwords[0])*100
                    output = output + "<i>" +temp+" %  </i><P>" ;
                    matched[itemp]=0
                found[0]=0;
                output = output + "</OL>";
        function show_output() {
                var NS4 = (document.layers) ? 1 : 0;
                var IE = (document.all) ? 1 : 0;
                var DOM = 0;
                var Opera = 0;
                if (parseInt(navigator.appVersion) >=5) {DOM=1};
                if ( (navigator.userAgent.indexOf("Opera 6")!=-1) ||
    (navigator.userAgent.indexOf("Opera/6")!=-1) ) {
                     DOM = 0;
                     IE = 0;
                     Opera = 1;
                target=('SEARCHOUT');
                    if (DOM || IE) {
                        var out = document.getElementById(target);
                        out.innerHTML = output;
                    else if (NS4 || Opera) {
    config='height=400,width=400,toolbar=no,location=no,directories=no,status=n o,menubar=no,scrollbars=yes,resizable=yes'
                        win = window.open ("","outputwindow",config)
                        win.document.open();
                        win.document.write(output);
                        win.document.close();
                    // && (version >=4)
                    else {
                        alert("Please upgrade your browser");
    I assume I need a delay loading the data into the "SEARCHOUT" div
    until the page loads but I am not sure how to do that. Can anyone help
    with this?
    Thanks

    I'm not all that good with JavaScript (IMO, it should not be required for a site or page to function - only for enhancement), but I looked around for this search script by Satadip Dutta. That name comes up all over the place, though.
    I am surprised you're not asking him. He is the in the best position to answer your questions. Or at least ask on a forum where you got the script, if there is one. It seems not enough people here have used the script to help you out.
    Or you might consider an alternative. I've used ZoomSearch by WrenSoft http://www.wrensoft.com/ quite happily on a small site. It has a scaled pricing structure, starting at free.
    And, of course, there are lots of other alternatives.
    Mark A. Boyd
    Keep-On-Learnin' :-)

  • How Do I Add A Site Search Box?

    I just upgraded my BC subscription to webMarketing and I am wanting to add a site search box to my site but I am having troubles with the directions found on the Adobe Website: Business Catalyst Help | Add a site search box.
    My first issue is a simple clarification with item #4 under "Create a page to display the search results"
    4. In the editor, enter {module_searchresults} where you want the results to appear on the page.  What exactly is the editor? LOL is that just the Adobe Muse page and I use the text tool and create a box with "{module_searchresults}" in it?
    My next, more critical issue is:
    Add a search box to a template
    Open the template in editing mode by selecting Site Manager > Page Templates, and choosing the template from the list of templates. My BC Admin page has "Site Manager" on the left - but when I click it - it only shows "Web Forms" and "System E-mails" I have no option for "Page Templates". 
    So how do I get "Page Templates" to show up.  I'm pretty sure my "webMarketing" subscription allows for a site search box...maybe I am mistaken.
    Thanks for any help!

    The editor is that of the WYSIWYG editor in the BC admin itself.
    The important thing to know is Muse is NOT BC, it is not the only thing you use to make a BC site, far from it. IT is a really basic tool to build basic sites. The instructions you will find on the BC docs will never reference the way to do it for Muse, just BC, or you can use your own code editor.
    So you need to go login to your website admin and then you will find the pages, templates etc.

  • Site Search Functionality

    I am looking for a way to search the entire site using an internal search engine. Is there a custom control, or can IIS do this? I'm starting from scratch here, so any information will be helpful.

    No no no, I'm just looking to do a plain old site search of content. Part searching is done in a control I believe, and we even have some custom searching for specific types of parts.
    What I'm looking for is for somebody to type in the phrase "foo bar" and get a list of results that are related to "foo bar" in order of relevance, much the way Google does with the web (or even a specific site via the site: modifier).
    Perhaps my question begs too simple an answer, but I can't seem to figure out what it is. Since this is my first IIS-based site I'm managing, it's possible there is functionality built into it that takes care of it, so I thought that Web Tools might have something instead. One other thing to consider is that Web Tools uses dynamic content based upon values of get variables (I believe pageDetail defines page content), which may or may not interfere with search indexing.
    Be not confused: my question has nothing at all to do with SEO or ranking on popular search engines, but is related solely to an internal search engine, if said engine even exists.

  • SEO friendly site search urls

    We have the site search module set up but it returns unfriendly looking urls for all the results despite us having SEO friendly urls for each catalogue and product. Is there some way to rectify this?

    I found this question while trying to solve a somewhat related question.
    We needed the urls for the pages to be clean when they arrive at the page in order to drive some specific scripting.
    Basically:
    page loads
    script checks the page's url
    if the path matches a certain parameters, perform a certain functions
    The issue we were running into, was that when people came on to a page from the search results page  
    the url would look like this:
          http://www.website.com/Default.aspx?PageID=45247074&A=SearchResult&SearchID=3759787&ObjectID=35247074&ObjectType=1
    which prevented the scripting from working correctly.
    The work around we came up with was using the {module_breadcrumbs,} module in a hidden span on the page and having our script key off of that.
    It certainly wouldn't help any SEO issues but if you were solely looking to make the page display it's human friendly url, that module and some relatively simple JS would work.

  • When I open a new tab it does not bring up my homepage. It brings up another sites search engine page.

    When I click on the new tab button, a small cross, it opens the new tab, but displays another sites search page, not my homepage. I cannot find where to tell it to open my homepage on all new tabs that are opened from the tab bar.

    The basic Firefox build has always opened a blank page when you open a new tab.
    Maybe some add-on you installed modified that feature of Firefox which now opens all tabs in a different page. Here's what you will need to do.
    Open Firefox -> go to Help Menu -> select "Restart with Add-ons Disabled"
    Firefox will close then it will open up with just basic Firefox. The tabs will now be opening in a blank page. You can Enable the add-ons again and check if its working properly.

  • Help required to customize Simple/Advanced Search. Need to add new fields

    Hello,
    Module: Oracle Sales Online
    EBS version: 12.1.3
    Jdev version: 10.1.3.3
    Scenario:
    - We are dealing with standard oracle pages.
    - We have TWO "SIMPLE/ADVANCED SEARCH"s available. Each "Simple/Advanced Search" can be found by navigating through paths "A --> B" and "A --> B --> C --> D" . Here it means one "SIMPLE/ADVANCED SEARCH" page is available at page "B" and another "SIMPLE/ADVANCED SEARCH" is available at page "D".
    - In the first search page which is at page "B", both Simple as well as Advanced search has a filter field "Win Probability %", of type VARCHAR2/DROPDOWN with values (10, >=10, <=30, 30, >=30, <=50, 50, >=50, <=70, 70, >=70, <=90, 90, 100)
    - In second search page, referring to page "D", the Simple search DOESN'T have the "Win Probability %". And the Advanced Search page has the "Win Probability %" but it is of type - NUMBER/MessageTextInput type.
    Issue/Requirement:
    - The 2nd Simple/Advanced search pages need to have "WIN PROBABILITY %" field and it should be of VARCHAR2/DROPDOWN with values (10, >=10, <=30, 30, >=30, <=50, 50, >=50, <=70, 70, >=70, <=90, 90, 100) just like the way we had in 1st Simple/Advanced search.
    Note:
    - Again speaking we are dealing with standard oracle pages
    - If you go to the "About this Page", interestingly I found:
    i. The "message component layout" for both of them is from the same region , i.e., ASNOpptympSrchRN
    ii. Rest of the search filters for both the searchs are from common View Object , i.e., OpptySearchVO1 (for Simple search), OpportunityDetailsVO1 (for advanced search)
    iii. The "Stack layout" for both the search pages are same, i.e. XXMASOpptyQryCO
    iv. None of the fields are rendered to false (everything is set to be rendered TRUE)
    Any response is highly appreciated.
    Thanks,
    Anand
    Edited by: 933590 on Jul 19, 2012 8:18 AM

    "XXMASOpptyQryCO is the name of stacklayout or CO?
    What is the CO?
    Does both pages share same CO?
    have you already extended the CO "XXMASOpptyQryCO"?
    what is the original CO then? I think in that CO it must be written somewhere, simple search "search allowed = false""
    -Here CO what you are referring is a controller.
    -FYI pages share same controller.
    -And the original controller for both the pages are OpptyUwqCO. Right now its extended controller is XXMASOpptyQryCO
    Fact is I didn't create this search page. It was built by some third party members. Also that I do not have the original source nor the documentation pertaining to it. So could you inform as in how should I navigate to the point "Search Allowed = True"
    I should have informed that at "B" page, it has a region      /oracle/apps/asn/opportunity/webui/ASNMgrOpptyQryRN and at page "D", the region is      /oracle/apps/asn/opportunity/webui/ASNOpptyQryRN
    Edited by: 933590 on Jul 19, 2012 1:37 PM

  • How do I get PDFs to appear in the site search results?

    I have read that the BC site seach will show PDF files in its results - http://forums.adobe.com/message/5077569.
    I have added a PDF via the media dowloads and added the litterate to a test page via the module {module_literature,a,}. I then reindexed the site, however when I search for something I do not get any results.
    The site search is set up to search "Entire Website (including Secure Zone)",
    Any ideas why this doesn't work?
    Thanks
    Dean

    Hi Dean
    PM me the site url and few details as how you are trying to search as it should work fine.
    You can create media downloads and then in site search if you use keywords such as download name then it should return the result with links corresponding to media items.
    Sanjit

  • RE: Firefox search box - manage search engines - get more search engines.. IT DOESN'T WORK , I now get 1000's of useless irrelevant results, PLEASE FIX THE SITES SEARCH NOW, IT'S COMPLETELY USELESS NOW

    RE: Firefox search box -> manage search engines -> get more search engines..
    IT DOESN'T WORK
    I just want to add youtube + some others to the list of sites in the Firefox search box, I now get 1000's of useless irrelevant results, PLEASE FIX THE SITES SEARCH NOW, IT'S COMPLETELY USELESS NOW

    Hi Kvoter,
    What are you hoping for, firefox to display lists of sites you have visited or bookmarked ?
    *''' it should be able to do that'''
    * my firefox does that
    I am only a fellow ordinary user of Firefox & XP, but maybe the problem is on your machine, rather than needing a fix from firefox. If you take a little time to read this you may be able to sort out the problems yourself.
    I hope you do not mind me covering a few basics:
    * the [[Search bar]] { <-- clickable link -- ] is designed to produce a lot or results, whereas
    *the [[Location bar search|Location Bar]] is a lot more specific and may be [[Location bar autocomplete#w_controlling-behavior|set]] to include or exclude History & or [[bookmarks]]
    If you are getting literally 1000s of totally unrelated results you may need to consider [[Is my Firefox problem a result of malware]]
    Hope to hear that you have solved the problem, or a bit more detail about what still is a problem.
    John

  • OIM 11g r1 custom field in simple user search result

    Good morning,
    i need to visualize a custom field in the OIM simple user search result table. At the moment, when a simple user search is performed, the returned attribute is only the "Display Name".
    For the advanced user search result table, is possible to add other fields modifying the Search Results table configuration in Advanced->User configuration->Search Configuration.
    How can i do the same the for simple user search result?
    Thank you.

    Yes, i tried to add my custom attribute to both Simple and Adv search result table, but without luck. Only Display Name column attribute is shown when a simple search is performed.

  • Site search will not work in Firefox but works with Chrome

    I run three websites. One is personal (www.rossolson.org) and two are for non-profit organizations (www.outpostministries.org and www.tccsa.tc). All have site search through Google, my own site is paid to be ad-free, the non profits are free and without adds because of their non profit status. For a while now, site search does not work with Firefox for the non profit sites but does for the paid site. Chrome and IE work fine. Is there a solution? Some setting to activate? Is this Google's doing?

    I am able to type a search word in but on clicking it, nothing changes. No results. the word just stays there.
    I also downloaded the https://addons.mozilla.org/firefox/addon/live-http-headers/ -- at first I wondered if it was not letting me install. So I allowed it in exceptions. But I'm not clear on what it does or what I do to use it.

  • How can I add a site search box to my Muse site?

    I am new to using Muse, and would like to add a site search box to my main master page to allow quick search of my site. Does anyone know if/how this can be done?

    Hi,
    take a look to this thread Search Bar for internal website

  • Query parameters in BC and setting up Site Search tracking in Google Analytics

    I would like to enable site search tracking in Google Analytics for a non-eCommerce BC site but I do not know what query parameters I need to use to enable site search tracking - can anyone help?!
    I can turn Site search tracking 'on' in Analytics but it requires the query parameters to be entered e.g. 's' or 'q'. I have the option of selecting 'strip query parameters out of URL' but I'm not sure what this does and what needs to be done in the backend of BC?
    Usually, when an internal search is done within a website (and in this case it is www.newcastleairport.com.au), the URL will indicate the parameters by adding a 'en&q' in the URL. To test what metric would be used for the Airport, I did a search on 'annual report' and the following URL came up (not containing an en&q)
    http://www.newcastleairport.com.au/Default.aspx?SiteSearchID=1012&ID=/travellers-search-re sult#.U3A3HmQ-JU0
    Any help would be appreciated. There was a previous discussion re this subject but it remained unanswered but there was a suggestion around using javascript within a web app?
    Cheers

    Hi Sebastian and Manas,
    I am trying to set up a hybrid environment and followed the blog posts. Everything was set up as per the guidelines mentioned but still I am not able to fetch any results from SharePoint Online inside my on-premise environment. 
    There are no errors coming as such. Its just that my on-premise is showing no results from SPO. However if the same user logs on into the Office 365 SPO site he is able to see SPO search results. That means there is no permission related issue specific to
    test user. 
    I am totally out of ideas now. In case you have faced similar issues while setting up the same then any pointers to troubleshoot would be very helpful.
    The link to my query that I have asked on the forums is
    https://social.msdn.microsoft.com/Forums/office/en-US/540d2629-ec6b-4905-b8e2-f6ba4e770d26/configure-one-way-outbound-hybrid-search?forum=sharepointgeneral
    Thanks,
    Geetanjali
    Geetanjali Arora | My blogs |

  • How to create an in-site search engine

    How does one manually create an in-site search engine (without using Google's site search engine or the like)? Is it very difficult and time consuming?

    If your site is dynamically populated with content from server-side databases, it's not hard.
    If your site is static, a 3rd party search function might be a better choice until you're ready to build a dynamic site.
    Zoom search engine
    http://www.wrensoft.com/zoom/
    Freefind
    http://www.freefind.com/
    Setting up a PHP environment in Dreamweaver
    http://www.adobe.com/devnet/dreamweaver/articles/setup_php.html
    Building your first dynamic website – Part 1: Setting up your site and database connection
    http://www.adobe.com/devnet/dreamweaver/articles/first_dynamic_site_pt1.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Site search software on mac question

    maybe off topic but i thought someone on here may be able to help me. I have a site i designed that is a midzize company site. They want to add a site search to it. I have no idea how to start doing this. My question is there a software that does this on the MAC? I can find several that preform on Windows but have yet to find one for the MAC. Any help or direction would be appreciated.

    My question is there a software that does this on the MAC.
    First of all a MAC is not the same thing as a Mac
    I thought the search function on a website was platform indepentant as it used a cgi script of somekind.

Maybe you are looking for

  • New BT Vision Box stops my other digital freeview ...

    I'm a new BT vision customer and have set my vision box up to include using the poweline adapters as my tv is otherside of the room to my homehub and all works fine. However the TV we have in the bedroom that has freeview built in will no longer rece

  • Contacts disappeared, Can't sign in or out of iCloud

    I upgraded to Mountain Lion, and there are two problems: 1)  My Contacts are all gone.  Totally blank Contacts.  However, when I use Mail, it's clearly still accessing my address book, as my contacts auto-fill when I type (although when I try to go t

  • Multiple PO's for a PR

    Hi all, I have a scenario in which there is a Purchase Requisition created from a maintenance order. The PR has only one line item and that too with qty 1 only. I created a PO against this PR for qty 1. Again I created another PO for same PR for qty

  • Cannot output Reports pdf directly to content area

    I have registered a report (Oracle Reports rdf) as a portal component. It is included in a content area. I can execute the report and the output file is created (pdf) - but it is not loaded automatically into the content area folder that I specified

  • UWL - WF TASKS TS20000189 Change Trip - Dynamic parameters for WD ABAP Appl

    Hi I am struggeling to manage to solve a WF task in the UWL The task is TS20000189 for changing a trip which has been returned for corrections from a manager. When previewing th iView for "My trips" I am able to get the overview of all my trips, and