git: 4e10d11f3c - main - Correct OpenSearch URL

Wolfram Schneider <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by wosch:

URL: https://cgit.FreeBSD.org/doc/commit/?id=4e10d11f3c91a72570cf67d5b0865c226adc6a41

commit 4e10d11f3c91a72570cf67d5b0865c226adc6a41
Author:     Wolfram Schneider <[email protected]>
AuthorDate: 2021-05-29 11:02:01 +0000
Commit:     Wolfram Schneider <[email protected]>
CommitDate: 2021-05-29 11:02:01 +0000

    Correct OpenSearch URL
    
    PR:             237192
---
 website/content/en/cgi/man.cgi   | 4 ++--
 website/content/en/cgi/mid.cgi   | 4 ++--
 website/content/en/cgi/ports.cgi | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/website/content/en/cgi/man.cgi b/website/content/en/cgi/man.cgi
index 3bc3c663d3..52c7050f51 100755
--- a/website/content/en/cgi/man.cgi
+++ b/website/content/en/cgi/man.cgi
@@ -1091,8 +1091,8 @@ sub html_header {
     my $html_meta = q|
 <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="https://www.freebsd.org/search/opensearch/man.xml" title="FreeBSD Manpages" />
-<link rel="search" type="application/opensearchdescription+xml" href="https://www.freebsd.org/search/opensearch/man-freebsd-release-ports.xml" title="FreeBSD + Ports Manpages" />
+<link rel="search" type="application/opensearchdescription+xml" href="https://www.freebsd.org/opensearch/man.xml" title="FreeBSD Manpages" />
+<link rel="search" type="application/opensearchdescription+xml" href="https://www.freebsd.org/opensearch/man-freebsd-release-ports.xml" title="FreeBSD + Ports Manpages" />
 <style type="text/css">
 <!--
 b { color: #996600; }
diff --git a/website/content/en/cgi/mid.cgi b/website/content/en/cgi/mid.cgi
index 09d5bbada1..19bec4bda0 100755
--- a/website/content/en/cgi/mid.cgi
+++ b/website/content/en/cgi/mid.cgi
@@ -1,6 +1,6 @@
 #!/usr/bin/perl -T
 #
-# Copyright (c) March 1998-2011 Wolfram Schneider <[email protected]>. Berlin.
+# Copyright (c) March 1998-2021 Wolfram Schneider <[email protected]>. Berlin.
 # All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or without
@@ -40,7 +40,7 @@ $shortid = 1;
 $lookCommand = "/usr/bin/look";
 $ENV{PATH} = '/bin:/usr/bin';
 
-$main::t_style .= qq{\n<link rel="search" type="application/opensearchdescription+xml" href="https://www.freebsd.org/search/opensearch/message-id.xml" title="FreeBSD Mail Message-ID" />\n};
+$main::t_style .= qq{\n<link rel="search" type="application/opensearchdescription+xml" href="https://www.freebsd.org/opensearch/message-id.xml" title="FreeBSD Mail Message-ID" />\n};
 
 sub escape($) { $_ = $_[0]; s/&/&amp;/g; s/</&lt;/g; s/>/&gt;/g; $_; }
 
diff --git a/website/content/en/cgi/ports.cgi b/website/content/en/cgi/ports.cgi
index a1ed4330c7..55cee975b7 100755
--- a/website/content/en/cgi/ports.cgi
+++ b/website/content/en/cgi/ports.cgi
@@ -36,7 +36,7 @@ require "./cgi-style.pl";
 $t_style = qq`<style type="text/css">
 h3 { font-size: 1.2em; border-bottom: thin solid black; }
 </style>
-<link rel="search" type="application/opensearchdescription+xml" href="https://www.freebsd.org/search/opensearch/ports.xml" title="FreeBSD Ports" />
+<link rel="search" type="application/opensearchdescription+xml" href="https://www.freebsd.org/opensearch/ports.xml" title="FreeBSD Ports" />
 `;
 
 sub init_variables {
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.