New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alternative to google search #188

Open
B4rb3rouss opened this Issue Oct 12, 2014 · 3 comments

Comments

Projects
None yet
2 participants
@B4rb3rouss

It might be a good idea to use another search engine that google (such as ixquick or duckduckgo).

@B4rb3rouss

This comment has been minimized.

Show comment
Hide comment
@B4rb3rouss

B4rb3rouss Oct 12, 2014

As example, a form for duckduckgo :

<form method="get" id="search" action="http://duckduckgo.com/">
    <input type="hidden" name="sites"value="yourWebSite.net"/>
    <input type="text" name="q" maxlength="255" placeholder="Rechercher"/>
     <input type="submit" value="DuckDuckGo Search" style="visibility: hidden;" />
</form>

As example, a form for duckduckgo :

<form method="get" id="search" action="http://duckduckgo.com/">
    <input type="hidden" name="sites"value="yourWebSite.net"/>
    <input type="text" name="q" maxlength="255" placeholder="Rechercher"/>
     <input type="submit" value="DuckDuckGo Search" style="visibility: hidden;" />
</form>
@B4rb3rouss

This comment has been minimized.

Show comment
Hide comment
@B4rb3rouss

B4rb3rouss Oct 12, 2014

In greyscale theme,

  • File theme.php :

        //set the forum URL for duckduckgo search-by-site
    '//input[@name="sites"]/@value'              => $_SERVER['HTTP_HOST'],
    
  • In every .html files :

    <form id="search" method="get" action="http://duckduckgo.com/"><!--
    --><input type="hidden" name="sites" value="forum.camendesign.com"/><!--
    --><input type="hidden" name="kh" value="1"/><!--
    --><input type="text" name="q" maxlength="255" placeholder="Rechercher"/><!--
    --><input id="go" type="image" src="/themes/greyscale/img/go.png" width="20" height="20" alt="Search"><!--
    --></form>
    

In greyscale theme,

  • File theme.php :

        //set the forum URL for duckduckgo search-by-site
    '//input[@name="sites"]/@value'              => $_SERVER['HTTP_HOST'],
    
  • In every .html files :

    <form id="search" method="get" action="http://duckduckgo.com/"><!--
    --><input type="hidden" name="sites" value="forum.camendesign.com"/><!--
    --><input type="hidden" name="kh" value="1"/><!--
    --><input type="text" name="q" maxlength="255" placeholder="Rechercher"/><!--
    --><input id="go" type="image" src="/themes/greyscale/img/go.png" width="20" height="20" alt="Search"><!--
    --></form>
    
@Kroc

This comment has been minimized.

Show comment
Hide comment
@Kroc

Kroc Oct 12, 2014

Owner

I thought it already supported this?? If not, certainly I do want to add it!

Owner

Kroc commented Oct 12, 2014

I thought it already supported this?? If not, certainly I do want to add it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment