Add a OpenSearch plugin for latest FreeBSD RELEASE and Ports

This commit is contained in:
Wolfram Schneider 2010-08-09 19:37:14 +00:00
parent 3f8a92f28e
commit 46ca4cb408
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=36209
3 changed files with 20 additions and 4 deletions

View file

@ -33,8 +33,8 @@
# BSDI Id: bsdi-man,v 1.2 1995/01/11 02:30:01 polk Exp
# Dual CGI/Plexus mode and new interface by sanders@bsdi.com 9/22/1995
#
# $Id: man.cgi,v 1.253 2010-08-04 17:17:58 wosch Exp $
# $FreeBSD: www/en/cgi/man.cgi,v 1.251 2010/08/03 15:28:38 wosch Exp $
# $Id: man.cgi,v 1.254 2010-08-09 19:37:14 wosch Exp $
# $FreeBSD: www/en/cgi/man.cgi,v 1.253 2010/08/04 17:17:58 wosch Exp $
############################################################################
# !!! man.cgi is stale perl4 code !!!
@ -630,6 +630,7 @@ sub html_header {
<meta name="robots" content="nofollow" />
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type" />
<link rel="search" type="application/opensearchdescription+xml" href="http://www.freebsd.org/search/opensearch/man.xml" title="FreeBSD Manpages" />
<link rel="search" type="application/opensearchdescription+xml" href="http://www.freebsd.org/search/opensearch/man-freebsd-release-ports.xml" title="FreeBSD + Ports Manpages" />
<style type="text/css">
<!--
b { color: #996600; }
@ -1442,7 +1443,7 @@ sub faq {
}
local $id =
'$FreeBSD: www/en/cgi/man.cgi,v 1.251 2010/08/03 15:28:38 wosch Exp $';
'$FreeBSD: www/en/cgi/man.cgi,v 1.253 2010/08/04 17:17:58 wosch Exp $';
return qq{\
<pre>
Copyright (c) 1996-2010 <a href="$mailtoURL">Wolfram Schneider</a>

View file

@ -1,4 +1,4 @@
# $FreeBSD: www/en/search/opensearch/Makefile,v 1.5 2008/09/23 16:31:45 wosch Exp $
# $FreeBSD: www/en/search/opensearch/Makefile,v 1.6 2009/03/22 14:53:36 wosch Exp $
.if exists(../Makefile.conf)
.include "../Makefile.conf"
@ -14,6 +14,7 @@ DATA=
DATA+= opensearch.js
DATA+= man.xml
DATA+= man-freebsd-release-ports.xml
DATA+= ports.xml
DATA+= query-pr.xml
DATA+= web.xml

View file

@ -0,0 +1,14 @@
<?xml version="1.0"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"
xml:lang="de">
<ShortName>FreeBSD + Ports Manpages</ShortName>
<LongName>FreeBSD Manual Pages</LongName>
<Description>FreeBSD Release + Ports Manual Pages</Description>
<Url template="http://www.freebsd.org/cgi/man.cgi?manpath=freebsd-release-ports&amp;query={searchTerms}&amp;sourceid=opensearch" type="text/html" />
<Developer>The FreeBSD Project</Developer>
<Contact>http://www.freebsd.org/</Contact>
<Image height="16" type="image/x-icon" width="16">http://www.freebsd.org/favicon.ico</Image>
<Language>en</Language>
<InputEncoding>ISO-8859-1</InputEncoding>
</OpenSearchDescription>