beagle r4498 - in trunk/beagle/beagled: . webinterface
- From: nirbheekc svn gnome org
- To: svn-commits-list gnome org
- Subject: beagle r4498 - in trunk/beagle/beagled: . webinterface
- Date: Tue, 19 Feb 2008 06:24:27 +0000 (GMT)
Author: nirbheekc
Date: Tue Feb 19 06:24:27 2008
New Revision: 4498
URL: http://svn.gnome.org/viewvc/beagle?rev=4498&view=rev
Log:
Beagle Open Search plugin, made by Jaikumar (a.k.a. flukebox -- http://home.iitk.ac.in/~jaiks/) as a part of the Beagle Hackfest during FOSSKriti
Added:
trunk/beagle/beagled/webinterface/opensearch.xml
Modified:
trunk/beagle/beagled/Makefile.am
trunk/beagle/beagled/WebServer.cs
trunk/beagle/beagled/webinterface/index.xsl
Modified: trunk/beagle/beagled/Makefile.am
==============================================================================
--- trunk/beagle/beagled/Makefile.am (original)
+++ trunk/beagle/beagled/Makefile.am Tue Feb 19 06:24:27 2008
@@ -8,6 +8,7 @@
$(srcdir)/webinterface/propname-table.js\
$(srcdir)/webinterface/help.html \
$(srcdir)/webinterface/mappings.xml \
+ $(srcdir)/webinterface/opensearch.xml \
$(srcdir)/webinterface/index.xsl \
$(srcdir)/webinterface/hitresult.xsl \
$(srcdir)/webinterface/statusresult.xsl \
Modified: trunk/beagle/beagled/WebServer.cs
==============================================================================
--- trunk/beagle/beagled/WebServer.cs (original)
+++ trunk/beagle/beagled/WebServer.cs Tue Feb 19 06:24:27 2008
@@ -60,6 +60,7 @@
mappings.Add ("/", new PageMapping ("index.xml", "text/xml; charset=utf-8"));
mappings.Add ("/mappings.xml", new PageMapping ("mappings.xml", "text/xml; charset=utf-8"));
mappings.Add ("/help.xml", new PageMapping ("help.xml", "text/xml; charset=utf-8"));
+ mappings.Add ("/opensearch.xml", new PageMapping ("opensearch.xml", "text/xml; charset=utf-8"));
mappings.Add ("/index.xsl", new PageMapping ("index.xsl", "text/xml; charset=utf-8"));
mappings.Add ("/statusresult.xsl", new PageMapping ("statusresult.xsl", "text/xml; charset=utf-8"));
mappings.Add ("/hitresult.xsl", new PageMapping ("hitresult.xsl", "text/xml; charset=utf-8"));
Modified: trunk/beagle/beagled/webinterface/index.xsl
==============================================================================
--- trunk/beagle/beagled/webinterface/index.xsl (original)
+++ trunk/beagle/beagled/webinterface/index.xsl Tue Feb 19 06:24:27 2008
@@ -46,6 +46,7 @@
<script src="propname-table.js" type="text/javascript"/>
<script src="default.js" type="text/javascript"/>
<link rel="icon" href="images/favicon.png" type="image/png"/>
+ <link rel="search" type="application/opensearchdescription+xml" title="Beagle" href="opensearch.xml"/>
</head>
</xsl:template>
Added: trunk/beagle/beagled/webinterface/opensearch.xml
==============================================================================
--- (empty file)
+++ trunk/beagle/beagled/webinterface/opensearch.xml Tue Feb 19 06:24:27 2008
@@ -0,0 +1,23 @@
+<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/" xmlns:os="http://a9.com/-/spec/opensearch/1.1/">
+<os:ShortName>Beagle</os:ShortName>
+<os:Description>Beagle Search plugin for searching using the Beagle Webinterface</os:Description>
+<os:InputEncoding>UTF-8</os:InputEncoding>
+<os:Image width="16" height="16">data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz
+AAAAlgAAAJYBBkHOZgAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAK6SURB
+VDiNjZNtaI1hGMd/93ndu52ztcyejR2bozXPXlCmcxTRPkjKS0RSXsuE+LJWKB9GkqI00VAOxUqx
+UHxisU3EHhzLW9hx2MYjO9vazstz+2A7TjYv/0/3/e+6fl3XfV23kFKSKF1RZwI7gVKg0xnQ1vAX
+WcbxMoF1I+eMvyUDmBIv7m2ad4P3QEqC5dIVNfW/AO6ajlqElJ2OwhKge8QW/Gzlj7K4a7QTEuO0
+QCwVgmkG2AANWDQSMwNo1xU11RnQBsZUIIbstQKxD4RFSs4IZP4IYFR7dUUNAv26onbpinpOV9T8
+OKCz0R0atA+uBaMXaQpasa2KA8wmhmZXFLR4K3Ofz5+DmJKvAOuBF7qiLgEQo2OctfWRdehbsnh2
+uSSsK2p5tLDg8ancJCZXFeEuKmB4OMzV63dZGc6i+E47QB8wW/y+BwCRlrbcfY1Hglu3LMNus/70
+IlHedn2ipV3DE8ui/FYbsi90yDQmGzJ9rzqOL1i8kJO+5rh57fY9JmVPYHl1FeEKBxfKJgOUJC5S
+cl1d3bGsDPvqXXtq02V0GHVaHkZkCAD/q/dUlRURi0ZJT7LwOqoj0tNK4xU0NDQcbWpq2pyT50o3
+W+1YkjNwFnsQJjOGIUm2menv6yMUCjE4MIARMZD9A7E4wOVy3e/t6Y55PJ54SdYUB9YUB2cv38Bb
+UUwkEkEaBt1fv7MiaypIeSkOqK6uPl9/sL7Bbor8elVp8ODBYz4HgqSlJAEwHI4SfNJN6e3WGHBx
+zBR8Pt9uf8fDHcVFhWbx9PXE+XmFlrMfW/FUTgegubmN/V0GfO7d6AxoZ8Yd46h0Rb1LTrZ3e9og
+c+eV8OLZB3ZHs6Xjib/WGdAOw/jfOVEaPV+8RzOn4v9oZ/WXJL/pnX+TM6C1jgb8GwAB28s3t8pf
+vrkJXHEGNCMx4AfPVw4Yzj87igAAAABJRU5ErkJggg==</os:Image>
+<SearchForm>http://localhost:4000/</SearchForm>
+<os:Url type="text/html" method="GET" template="http://localhost:4000/?search={searchTerms}&sourceid=mozilla-search">
+</os:Url>
+</SearchPlugin>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]