[epiphany] Switch the default search engine to DuckDuckGo



commit 26bd9ea586b59ff6be37de5db4499d435922afac
Author: Claudio Saavedra <csaavedra igalia com>
Date:   Tue Aug 27 22:20:30 2013 +0300

    Switch the default search engine to DuckDuckGo

 data/default-bookmarks.rdf.in       |   34 ++++++++++++++++++++++++----------
 data/org.gnome.epiphany.gschema.xml |    2 +-
 2 files changed, 25 insertions(+), 11 deletions(-)
---
diff --git a/data/default-bookmarks.rdf.in b/data/default-bookmarks.rdf.in
index 5c23ea6..2b97106 100644
--- a/data/default-bookmarks.rdf.in
+++ b/data/default-bookmarks.rdf.in
@@ -5,19 +5,33 @@
     <link>http://www.gnome.org/projects/epiphany/</link>
     <items>
       <rdf:Seq>
-        <rdf:li rdf:resource="http://www.google.com"/>
+        <rdf:li rdf:resource="http://duckduckgo.com"/>
       </rdf:Seq>
     </items>
   </channel>
-  <item rdf:about="http://www.google.com";>
+  <item rdf:about="http://duckduckgo.com";>
     <_title>Search the web</_title>
-    <!-- Translators you should change these links to respect your locale.
-         For instance in .nl these should be
-        "http://www.google.nl"; and "http://www.google.nl/search?q=%s"; -->
-    <_link>http://www.google.com</_link>
-    <!-- Translators you should change these links to respect your locale.
-         For instance in .nl these should be
-        "http://www.google.nl"; and "http://www.google.nl/search?q=%s"; -->
-    <_ephy:smartlink>http://www.google.com/search?q=%s&amp;ie=UTF-8&amp;oe=UTF-8</_ephy:smartlink>
+    <!-- Translators: you can use the regions listed in
+         https://duckduckgo.com/params to boost a particular region
+         associated with your language. For instance, for translators
+         to Finnish, it might make sense to add kl=fi-fi to the search
+         URL in order to boost results from Finland. Additionally, the
+         'kad' parameter can be used to specify the locale in which
+         duckduckgo must be translated. So, for a Finnish localized
+         version of duckduckgo that will render results tailored for
+         Finland, the string would be:
+         http://duckduckgo.com/?t=epiphany&amp;kl=fi-fi&amp;kal=fi_FI
+    -->
+    <_link>http://duckduckgo.com/?t=epiphany</_link>
+    <!-- Translators: you can use the regions listed in
+         https://duckduckgo.com/params to boost a particular region
+         associated with your language. For instance, for translators
+         to Finnish, it might make sense to add kl=fi-fi to the search
+         URL in order to boost results from Finland. Additionally, the
+         'kad' parameter can be used to specify the locale in which
+         duckduckgo must be translated. For such case, the search url
+         would be
+         http://duckduckgo.com/?q=%s&amp;t=epiphany&amp;kl=fi-fi&amp;kal=fi_FI -->
+    <_ephy:smartlink>http://duckduckgo.com/?q=%s&amp;t=epiphany</_ephy:smartlink>
   </item>
 </rdf:RDF>
diff --git a/data/org.gnome.epiphany.gschema.xml b/data/org.gnome.epiphany.gschema.xml
index b815635..9d61f05 100644
--- a/data/org.gnome.epiphany.gschema.xml
+++ b/data/org.gnome.epiphany.gschema.xml
@@ -10,7 +10,7 @@
                        <summary>Browse with caret</summary>
                </key>
                <key type="s" name="keyword-search-url">
-                       <default>'http://www.google.com/search?q=%s&amp;ie=UTF-8&amp;oe=UTF-8'</default>
+                       <default>'http://duckduckgo.com/?q=%s&amp;t=epiphany'</default>
                        <summary>URL Search</summary>
                        <description>Search string for keywords entered in the URL bar.</description>
                </key>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]