add List of FreeBSD OpenSearch Plugins

This commit is contained in:
Wolfram Schneider 2008-09-22 20:00:09 +00:00
parent a64554027d
commit 3a360be099
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=32945
3 changed files with 56 additions and 2 deletions

View file

@ -1,4 +1,4 @@
# $FreeBSD: www/en/cgi/Makefile,v 1.34 2007/03/19 05:44:58 dougb Exp $
# $FreeBSD: www/en/search/opensearch/Makefile,v 1.1 2008/09/22 18:56:22 wosch Exp $
.if exists(../Makefile.conf)
.include "../Makefile.conf"
@ -7,6 +7,9 @@
.include "../Makefile.inc"
.endif
DOCS+= opensearch.sgml
INDEXLINK= opensearch.html
DATA=
DATA+= opensearch.js

View file

@ -0,0 +1,50 @@
<!DOCTYPE HTML PUBLIC "-//FreeBSD//DTD HTML 4.01 Transitional-Based Extension//EN" [
<!ENTITY base CDATA "../..">
<!ENTITY date "$FreeBSD: www/en/search/search.sgml,v 1.113 2008/08/12 06:38:53 jkoshy Exp $">
<!ENTITY title "FreeBSD OpenSearch Plugins">
]>
<html>
&header;
<script type="text/javascript">
//<![CDATA[
function install(link) {
if (typeof(window.external) != 'undefined' && typeof(window.external.AddSearchProvider) != 'undefined') {
window.external.AddSearchProvider(link.href);
return false;
} else {
return confirm("The plugin couldn't be installed automatically. Display it instead?");
}
}
//]]>
</script>
<p>Firefox put a few popular search sites in the Search Bar
in the upper-right corner of Firefox. Click on a item to
add the <i>FreeBSD Search Services</i> to your Firefox Search Bar.</p>
<ul>
<li><a href="man.xml" onclick= "return install(this)">FreeBSD Manual Pages</a></li>
<li><a href="ports.xml" onclick= "return install(this)">FreeBSD Ports and Packages Collection</a></li>
<li><a href="query-pr.xml" onclick= "return install(this)">FreeBSD Problem Reports</a></li>
</ul>
<p><i>Supported browsers:</i>: Firefox 2.x, 3.x and IE 7.x or later</p>
<p>External help links: <a href=
"https://addons.mozilla.org/firefox/search-engines/">Firefox
Search Engines</a>
</p>
<p><a href="../">Return to the search page</a></p>
<hr>
&footer;
</body>
</html>

View file

@ -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/search.sgml,v 1.112 2008/05/13 21:03:24 wosch Exp $">
<!ENTITY date "$FreeBSD: www/en/search/search.sgml,v 1.113 2008/08/12 06:38:53 jkoshy Exp $">
<!ENTITY title "Search">
]>
@ -29,6 +29,7 @@
search</a></li>
</ul>
<p><a href="opensearch/">List of FreeBSD OpenSearch Plugins</a></p>
<hr noshade>
<a name="web"></a><h2>Web pages (including <a