[gnomeweb-wml] Amazon store: Add search plugin



commit 65a6d891331236a2ed5103caeb9263b95736f360
Author: Jaap A. Haitsma <jaap haitsma org>
Date:   Sun Jul 19 23:33:23 2009 +0200

    Amazon store: Add search plugin

 www.gnome.org/friends/amazon/Makefile.am          |    5 +++-
 www.gnome.org/friends/amazon/amazon-com-gnome.xml |   22 +++++++++++++++++++++
 www.gnome.org/friends/amazon/amazon.ico           |  Bin 0 -> 1150 bytes
 3 files changed, 26 insertions(+), 1 deletions(-)
---
diff --git a/www.gnome.org/friends/amazon/Makefile.am b/www.gnome.org/friends/amazon/Makefile.am
index 9971ccd..6c5c0c1 100644
--- a/www.gnome.org/friends/amazon/Makefile.am
+++ b/www.gnome.org/friends/amazon/Makefile.am
@@ -3,6 +3,9 @@ urlpath = /friends/amazon
 include $(top_srcdir)/rules.common
 
 page_DATA = \
-	index.html
+	index.html \
+	amazon.ico \
+	amazon-com-gnome.xml
+	
 
 EXTRA_DIST=$(page_DATA)
diff --git a/www.gnome.org/friends/amazon/amazon-com-gnome.xml b/www.gnome.org/friends/amazon/amazon-com-gnome.xml
new file mode 100644
index 0000000..4559e57
--- /dev/null
+++ b/www.gnome.org/friends/amazon/amazon-com-gnome.xml
@@ -0,0 +1,22 @@
+<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/";>
+<ShortName>Amazon.com GNOME</ShortName>
+<Description>Amazon.com Search with GNOME Foundation as a refferer</Description>
+<InputEncoding>ISO-8859-1</InputEncoding>
+
+<Image height="16" width="16" type="image/x-icon">http://www.gnome.org/friends/amazon/amazon.ico</Image>
+<UpdateInterval>7</UpdateInterval>
+<UpdateUrl>http://www.gnome.org/friends/amazon/amazon-com-gnome.xml</UpdateUrl>
+<IconUpdateUrl>http://www.gnome.org/friends/amazon/amazon.ico</IconUpdateUrl>
+
+<Url type="text/html" method="GET" template="http://www.amazon.com/gp/search?ie=UTF8";>
+  <Param name="field-keywords" value="{searchTerms}"/>
+  <Param name="mode" value="blended"/>
+  <Param name="tag" value="gnomesearchplugin-20"/>
+  <Param name="sourceid" value="Mozilla-search"/>
+</Url>
+
+<Url type="application/x-suggestions+json" method="GET" template="http://completion.amazon.com/search/complete?method=completion&amp;q={searchTerms}&amp;search-alias=aps&amp;client=amazon-search-ui&amp;mkt=1";>
+</Url>
+
+<SearchForm>http://www.amazon.com/</SearchForm>
+</SearchPlugin>
diff --git a/www.gnome.org/friends/amazon/amazon.ico b/www.gnome.org/friends/amazon/amazon.ico
new file mode 100644
index 0000000..276637a
Binary files /dev/null and b/www.gnome.org/friends/amazon/amazon.ico differ



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