Add OpenSearch plugin for the FreeBSD CVS Repository
This commit is contained in:
parent
8eca68ca6a
commit
ba9f82eef7
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=32954
4 changed files with 21 additions and 5 deletions
|
|
@ -45,8 +45,8 @@
|
|||
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
# SUCH DAMAGE.
|
||||
#
|
||||
# $FreeBSD: www/en/cgi/cvsweb.cgi,v 1.1.1.37 2007/03/17 21:52:33 simon Exp $
|
||||
# $Id: cvsweb.cgi,v 1.91 2007-03-17 22:28:31 simon Exp $
|
||||
# $FreeBSD: www/en/cgi/cvsweb.cgi,v 1.91 2007/03/17 22:28:31 simon Exp $
|
||||
# $Id: cvsweb.cgi,v 1.92 2008-09-23 16:31:45 wosch Exp $
|
||||
# $Idaemons: /home/cvs/cvsweb/cvsweb.cgi,v 1.84 2001/10/07 20:50:10 knu Exp $
|
||||
#
|
||||
###
|
||||
|
|
@ -142,7 +142,7 @@ EOM
|
|||
$CheckoutMagic = '~checkout~';
|
||||
|
||||
$cgi_style::hsty_base = 'http://www.FreeBSD.org';
|
||||
$_ = q$FreeBSD: www/en/cgi/cvsweb.cgi,v 1.89 2005/10/28 14:55:57 fenner Exp $;
|
||||
$_ = q$FreeBSD: www/en/cgi/cvsweb.cgi,v 1.91 2007/03/17 22:28:31 simon Exp $;
|
||||
@_ = split;
|
||||
$cgi_style::hsty_date = "@_[3,4]";
|
||||
|
||||
|
|
@ -151,6 +151,7 @@ EOM
|
|||
|
||||
package cgi_style;
|
||||
require "./cgi-style.pl";
|
||||
$cgi_style::t_style = qq{\n<link rel="search" type="application/opensearchdescription+xml" href="http://www.freebsd.org/search/opensearch/cvsweb.xml" title="FreeBSD cvsweb" />\n};
|
||||
package main;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# $FreeBSD: www/en/search/opensearch/Makefile,v 1.3 2008/09/23 11:56:38 wosch Exp $
|
||||
# $FreeBSD: www/en/search/opensearch/Makefile,v 1.4 2008/09/23 12:32:58 wosch Exp $
|
||||
|
||||
.if exists(../Makefile.conf)
|
||||
.include "../Makefile.conf"
|
||||
|
|
@ -19,6 +19,7 @@ DATA+= query-pr.xml
|
|||
DATA+= web.xml
|
||||
DATA+= web-all.xml
|
||||
DATA+= message-id.xml
|
||||
DATA+= cvsweb.xml
|
||||
|
||||
# external sites
|
||||
DATA+= markmail.xml
|
||||
|
|
|
|||
13
en/search/opensearch/cvsweb.xml
Normal file
13
en/search/opensearch/cvsweb.xml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0"?>
|
||||
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"
|
||||
xml:lang="de">
|
||||
<ShortName>FreeBSD cvsweb</ShortName>
|
||||
<LongName>FreeBSD CVS Repository</LongName>
|
||||
<Description>FreeBSD CVS Repository</Description>
|
||||
<Url template="http://www.freebsd.org/cgi/cvsweb.cgi?path={searchTerms}&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>de</Language>
|
||||
</OpenSearchDescription>
|
||||
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//FreeBSD//DTD HTML 4.01 Transitional-Based Extension//EN" [
|
||||
<!ENTITY base CDATA "../..">
|
||||
<!ENTITY date "$FreeBSD: www/en/search/opensearch/opensearch.sgml,v 1.2 2008/09/23 11:56:38 wosch Exp $">
|
||||
<!ENTITY date "$FreeBSD: www/en/search/opensearch/opensearch.sgml,v 1.3 2008/09/23 12:32:58 wosch Exp $">
|
||||
<!ENTITY title "FreeBSD OpenSearch Plugins">
|
||||
]>
|
||||
|
||||
|
|
@ -34,6 +34,7 @@ function install(link) {
|
|||
<li><a href="query-pr.xml" onclick= "return install(this)">FreeBSD Problem Reports</a></li>
|
||||
<li><a href="web-all.xml" onclick= "return install(this)">FreeBSD Fulltext Search Web + Manual + Ports Pages</a></li>
|
||||
<li><a href="web.xml" onclick= "return install(this)">FreeBSD Fulltext Search Web Pages</a></li>
|
||||
<li><a href="cvsweb.xml" onclick= "return install(this)">FreeBSD CVS Repository</a></li>
|
||||
<li><a href="message-id.xml" onclick= "return install(this)">FreeBSD Mailing List Message-ID Search</a></li>
|
||||
</ul>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue