Author: sshafroi
Date: 2008-07-09 12:42:57 +0200 (Wed, 09 Jul 2008)
New Revision: 6734
Added:
trunk/generic.sesam/war/src/main/templates/pages/opensearchDecorator.jsp
Log:
used by sesam.com
Added: trunk/generic.sesam/war/src/main/templates/pages/opensearchDecorator.jsp
===================================================================
--- trunk/generic.sesam/war/src/main/templates/pages/opensearchDecorator.jsp
(rev 0)
+++ trunk/generic.sesam/war/src/main/templates/pages/opensearchDecorator.jsp
2008-07-09 10:42:57 UTC (rev 6734)
@@ -0,0 +1,26 @@
+<%-- Copyright (2008) Schibsted Søk AS
+ * This file is part of SESAT.
+ *
+ * SESAT is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published
by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * SESAT is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with SESAT. If not, see <http://www.gnu.org/licenses/>.
+--%><%@ page contentType="text/xml; charset=utf-8" %><%--
+--%><?xml version="1.0" encoding="UTF-8" ?>
+<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
+<%@ taglib uri="/WEB-INF/SearchPortal.tld" prefix="search" %>
+<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
+ <InputEncoding>utf-8</InputEncoding>
+ <ShortName>Sesam <search:text
key="navbarMain_${DataModel.parameters.values['c'].utf8UrlEncoded}"/></ShortName>
+ <Description>Search with Sesam Search</Description>
+ <Image width="16"
height="16">data:image/x-icon;base64,R0lGODlhEAAQAKIGAMx0ufrx+NaPxrxKo+rH460gjv///wAAACH5BAEAAAYALAAAAAAQABAAAAM6aLpGxBAKEasZw0JSytPK0A0BCHQdYBEiOn6N0LruIDgyTdswqw8wyAmlArUyoEYnqMEkF5OnwlFJAAA7</Image>
+ <Url type="text/html" template="http://<c:out
value='${DataModel.site.site.name}'/>search/?q={searchTerms}&c=<c:out
value='${DataModel.parameters.values["c"].utf8UrlEncoded}'/>"/>
+</OpenSearchDescription>
_______________________________________________
Kernel-commits mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-commits