Helpviewer/OpenSearch/OpenSearchDefaultEngines.py

changeset 945
8cd4d08fa9f6
parent 791
9ec2ac20e54e
child 1104
029fde1585ed
--- a/Helpviewer/OpenSearch/OpenSearchDefaultEngines.py	Fri Mar 11 08:55:14 2011 +0100
+++ b/Helpviewer/OpenSearch/OpenSearchDefaultEngines.py	Fri Mar 11 16:51:57 2011 +0100
@@ -8,80 +8,80 @@
 """
 
 OpenSearchDefaultEngines = {
-    "Amazon_com" : """<?xml version="1.0" encoding="UTF-8"?>
+    "Amazon_com": """<?xml version="1.0" encoding="UTF-8"?>
         <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
             <ShortName>Amazon.com</ShortName>
             <Description>Amazon.com Search</Description>
             <Url method="get" type="text/html" template="http://www.amazon.com/exec/obidos/external-search/?field-keywords={searchTerms}" />
             <Image width="16" height="16">http://www.amazon.com/favicon.ico</Image>
-        </OpenSearchDescription>""", 
+        </OpenSearchDescription>""",
     
-    "Bing" : """<?xml version="1.0" encoding="UTF-8"?>
+    "Bing": """<?xml version="1.0" encoding="UTF-8"?>
         <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
             <ShortName>Bing</ShortName>
             <Description>Bing Web Search</Description>
             <Url method="get" type="text/html" template="http://www.bing.com/search?cc={language}&amp;q={searchTerms}" />
             <Image width="16" height="16">http://www.bing.com/s/wlflag.ico</Image>
-        </OpenSearchDescription>""", 
+        </OpenSearchDescription>""",
     
-    "Google" : """<?xml version="1.0" encoding="UTF-8"?>
+    "Google": """<?xml version="1.0" encoding="UTF-8"?>
         <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
             <ShortName>Google</ShortName>
             <Description>Google Web Search</Description>
             <Url method="get" type="text/html" template="http://www.google.com/search?hl={language}&amp;lr=lang_{language}&amp;q={searchTerms}" />
             <Url method="get" type="application/x-suggestions+json" template="http://suggestqueries.google.com/complete/search?json=t&amp;hl={language}&amp;q={searchTerms}&amp;nolabels=t" />
             <Image width="16" height="16">http://www.google.com/favicon.ico</Image>
-        </OpenSearchDescription>""", 
+        </OpenSearchDescription>""",
     
-    "Google_Im_Feeling_Lucky" : """<?xml version="1.0" encoding="UTF-8"?>
+    "Google_Im_Feeling_Lucky": """<?xml version="1.0" encoding="UTF-8"?>
         <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
             <ShortName>Google (I'm Feeling Lucky)</ShortName>
             <Description>Google Web Search</Description>
             <Url method="get" type="text/html" template="http://www.google.com/search?btnI=&amp;hl={language}&amp;lr=lang_{language}&amp;q={searchTerms}" />
             <Url method="get" type="application/x-suggestions+json" template="http://suggestqueries.google.com/complete/search?json=t&amp;hl={language}&amp;q={searchTerms}&amp;nolabels=t" />
             <Image width="16" height="16">http://www.google.com/favicon.ico</Image>
-        </OpenSearchDescription>""", 
+        </OpenSearchDescription>""",
     
-    "LinuxMagazin_de" : """<?xml version="1.0" encoding="UTF-8"?>
+    "LinuxMagazin_de": """<?xml version="1.0" encoding="UTF-8"?>
         <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
             <ShortName>Linux-Magazin</ShortName>
             <Description>Suche auf www.linux-magazin.de</Description>
             <Url type="text/html" method="GET" template="http://www.linux-magazin.de/content/search?SearchText={searchTerms}" />
             <Image width="16" height="16">http://www.linux-magazin.de/extension/lnm/design/linux_magazin/images/favicon.ico</Image>
-        </OpenSearchDescription>""", 
+        </OpenSearchDescription>""",
     
-    "Reddit" : """<?xml version="1.0" encoding="UTF-8"?>
+    "Reddit": """<?xml version="1.0" encoding="UTF-8"?>
         <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
             <ShortName>Reddit</ShortName>
             <Description>Reddit Site Search</Description>
             <Url method="get" type="text/html" template="http://www.reddit.com/search?q={searchTerms}" />
             <Image width="16" height="16">http://www.reddit.com/favicon.ico</Image>
-        </OpenSearchDescription>""", 
+        </OpenSearchDescription>""",
     
-    "Wikipedia_en" : """<?xml version="1.0" encoding="UTF-8"?>
+    "Wikipedia_en": """<?xml version="1.0" encoding="UTF-8"?>
         <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
             <ShortName>Wikipedia (en)</ShortName>
             <Description>Full text search in the English Wikipedia</Description>
             <Url method="get" type="text/html" template="http://en.wikipedia.org/wiki/Special:Search?search={searchTerms}&amp;fulltext=Search" />
             <Url method="get" type="application/x-suggestions+json" template="http://en.wikipedia.org/w/api.php?action=opensearch&amp;search={searchTerms}&amp;namespace=0" />
             <Image width="16" height="16">http://en.wikipedia.org/favicon.ico</Image>
-        </OpenSearchDescription>""", 
+        </OpenSearchDescription>""",
     
-    "Yahoo" : """<?xml version="1.0" encoding="UTF-8"?>
+    "Yahoo": """<?xml version="1.0" encoding="UTF-8"?>
         <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
             <ShortName>Yahoo!</ShortName>
             <Description>Yahoo Web Search</Description>
             <Url method="get" type="text/html" template="http://search.yahoo.com/search?ei=utf-8&amp;fr=sfp&amp;iscqry=&amp;p={searchTerms}" />
             <Url method="get" type="application/x-suggestions+json" template="http://ff.search.yahoo.com/gossip?output=fxjson&amp;command={searchTerms}" />
             <Image width="16" height="16">http://m.www.yahoo.com/favicon.ico</Image>
-        </OpenSearchDescription>""", 
+        </OpenSearchDescription>""",
     
-    "YouTube" : """<?xml version="1.0" encoding="UTF-8"?>
+    "YouTube": """<?xml version="1.0" encoding="UTF-8"?>
         <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
             <ShortName>YouTube</ShortName>
             <Description>YouTube</Description>
             <Url method="get" type="text/html" template="http://www.youtube.com/results?search_query={searchTerms}&amp;search=Search" />
             <Url method="get" type="application/x-suggestions+json" template="http://suggestqueries.google.com/complete/search?ds=yt&amp;json=t&amp;hl={language}&amp;q={searchTerms}&amp;nolabels=t" />
             <Image width="16" height="16">http://www.youtube.com/favicon.ico</Image>
-        </OpenSearchDescription>""", 
+        </OpenSearchDescription>""",
 }

eric ide

mercurial