Finally remove the gallery. I hope i did not miss any references on the
website.
This commit is contained in:
parent
a2dc056e2b
commit
a09a627603
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=20800
6 changed files with 0 additions and 30191 deletions
|
@ -1,47 +0,0 @@
|
|||
# $FreeBSD: www/en/gallery/Makefile,v 1.15 2001/12/12 11:57:36 phantom Exp $
|
||||
|
||||
.if exists(../Makefile.conf)
|
||||
.include "../Makefile.conf"
|
||||
.endif
|
||||
.if exists(../Makefile.inc)
|
||||
.include "../Makefile.inc"
|
||||
.endif
|
||||
|
||||
XSLTPROCFLAGS= --catalogs
|
||||
XSLT= ${SETENV} SGML_CATALOG_FILES=${PREFIX}/share/xml/dtd/xhtml/xhtml.soc \
|
||||
${XSLTPROC} ${XSLTPROCOPTS}
|
||||
|
||||
INDEXLINK= gallery.html
|
||||
|
||||
DATA+= gallery.html cgallery.html npgallery.html pgallery.html
|
||||
|
||||
CLEANFILES+= ${DATA}
|
||||
|
||||
gallery.html: gallery.xml gallery.xsl ../includes.xsl
|
||||
${XSLT} ${.CURDIR}/gallery.xsl ${.CURDIR}/gallery.xml > ${.TARGET}
|
||||
.if !defined(NO_TIDY)
|
||||
-${TIDY} ${TIDYOPTS} ${.TARGET}
|
||||
.endif
|
||||
|
||||
cgallery.html: gallery.xml gallery-entry.xsl
|
||||
${XSLT} --param type \'commercial\' \
|
||||
${.CURDIR}/gallery-entry.xsl ${.CURDIR}/gallery.xml > ${.TARGET}
|
||||
.if !defined(NO_TIDY)
|
||||
-${TIDY} ${TIDYOPTS} ${.TARGET}
|
||||
.endif
|
||||
|
||||
npgallery.html: gallery.xml gallery-entry.xsl
|
||||
${XSLT} --param type \'nonprofit\' \
|
||||
${.CURDIR}/gallery-entry.xsl ${.CURDIR}/gallery.xml > ${.TARGET}
|
||||
.if !defined(NO_TIDY)
|
||||
-${TIDY} ${TIDYOPTS} ${.TARGET}
|
||||
.endif
|
||||
|
||||
pgallery.html: gallery.xml gallery-entry.xsl
|
||||
${XSLT} --param type \'personal\' \
|
||||
${.CURDIR}/gallery-entry.xsl ${.CURDIR}/gallery.xml > ${.TARGET}
|
||||
.if !defined(NO_TIDY)
|
||||
-${TIDY} ${TIDYOPTS} ${.TARGET}
|
||||
.endif
|
||||
|
||||
.include "${WEB_PREFIX}/share/mk/web.site.mk"
|
|
@ -1,54 +0,0 @@
|
|||
#!/usr/bin/perl
|
||||
|
||||
# This script is dedicated to check existing gallery XML file.
|
||||
# Check its URLs for duplicates and fixup incorrectly submitted ones.
|
||||
#
|
||||
# History:
|
||||
# 31082001 Alexey Zelkin Initial version
|
||||
#
|
||||
# Usage:
|
||||
# fixurls.pl gallery.xml output.xml
|
||||
#
|
||||
# $FreeBSD$
|
||||
|
||||
if (-f $ARGV[0]) {
|
||||
$src = $ARGV[0];
|
||||
} else {
|
||||
die "Could not open source file!"
|
||||
}
|
||||
|
||||
if ($ARGV[1] eq "") {
|
||||
die "Could not open output file!"
|
||||
} else {
|
||||
$dst = $ARGV[1];
|
||||
}
|
||||
|
||||
open (SRC, $src);
|
||||
open (DST, ">$dst");
|
||||
|
||||
while (<SRC>) {
|
||||
if ($_ =~ /\<url\>.*\<\/url\>/) {
|
||||
chomp;
|
||||
s/.*url\>(.*)\<\/url.*/$1/;
|
||||
next if ($_ eq "");
|
||||
# add "http://" at the begining of the url unless it (or any
|
||||
# other (like "ftp://") protocol is already specified
|
||||
$_ = "http://" . $_ unless (m/^[a-z]*:\/\/.*$/);
|
||||
if (defined $hhash{$_}) {
|
||||
$hhash{$_}++;
|
||||
} else {
|
||||
$hhash{$_} = 1;
|
||||
}
|
||||
print DST " <url>$_</url>\n";
|
||||
} else {
|
||||
print DST $_;
|
||||
}
|
||||
}
|
||||
|
||||
close (SRC);
|
||||
close (DST);
|
||||
|
||||
print "Duplicated URLs:\n";
|
||||
foreach $key (sort keys %hhash) {
|
||||
print "$hhash{$key}: $key\n" if ($hhash{$key} > 1);
|
||||
}
|
|
@ -1,92 +0,0 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||
|
||||
<xsl:import href="../includes.xsl"/>
|
||||
|
||||
<!-- Should be set on the command line, specifies the type of entries to
|
||||
include in the output. One of "commercial", "nonprofit", or
|
||||
"personal" -->
|
||||
<xsl:param name="type"/>
|
||||
|
||||
<xsl:variable name="base" select="'..'"/>
|
||||
|
||||
<xsl:variable name="date" select="'$FreeBSD: www/en/gallery/gallery-entry.xsl,v 1.2 2002/04/20 15:42:12 phantom Exp $'"/>
|
||||
|
||||
<xsl:output type="html" encoding="iso-8859-1"/>
|
||||
|
||||
<xsl:variable name="title">
|
||||
<xsl:choose>
|
||||
<xsl:when test="$type = 'commercial'">Gallery - Commercial</xsl:when>
|
||||
<xsl:when test="$type = 'nonprofit'">Gallery - Non-profit</xsl:when>
|
||||
<xsl:when test="$type = 'personal'">Gallery - Personal pages</xsl:when>
|
||||
<xsl:otherwise>
|
||||
Unknown value for $type: <xsl:value-of select="$type"/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:variable>
|
||||
|
||||
<xsl:variable name="commercial-intro">
|
||||
<p>FreeBSD is powering innovative Internet applications and services all
|
||||
over the world. This gallery is a showcase of commercial organizations
|
||||
who have put FreeBSD to work for them. Browse and find out more about
|
||||
what FreeBSD can do for <b>you</b>.</p>
|
||||
</xsl:variable>
|
||||
|
||||
<xsl:variable name="nonprofit-intro">
|
||||
<p>FreeBSD is powering innovative Internet applications and services all
|
||||
over the world. This gallery is a showcase of non-profit organizations
|
||||
who have put FreeBSD to work for them. Browse and find out more about
|
||||
what FreeBSD can do for <b>you</b>.</p>
|
||||
</xsl:variable>
|
||||
|
||||
<xsl:variable name="personal-intro">
|
||||
<p>FreeBSD is powering innovative Internet applications and services all
|
||||
over the world. This gallery is a showcase of sites from users who have
|
||||
put FreeBSD to work for them. Browse and find out more about what
|
||||
FreeBSD can do for <b>you</b>.</p>
|
||||
</xsl:variable>
|
||||
|
||||
<xsl:template match="gallery">
|
||||
<html>
|
||||
<xsl:copy-of select="$header1"/>
|
||||
<body xsl:use-attribute-sets="att.body">
|
||||
<xsl:copy-of select="$header2"/>
|
||||
|
||||
<xsl:choose>
|
||||
<xsl:when test="$type = 'commercial'">
|
||||
<xsl:copy-of select="$commercial-intro"/>
|
||||
</xsl:when>
|
||||
<xsl:when test="$type = 'nonprofit'">
|
||||
<xsl:copy-of select="$nonprofit-intro"/>
|
||||
</xsl:when>
|
||||
<xsl:when test="$type = 'personal'">
|
||||
<xsl:copy-of select="$personal-intro"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<p>No clue what to put here for $type =
|
||||
<xsl:value-of select="$type">.</xsl:value-of></p>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
|
||||
<ul>
|
||||
<!-- Select all entries of the correct type, doing a case
|
||||
insensitive sort -->
|
||||
<xsl:apply-templates select="entry[@type = $type]">
|
||||
<xsl:sort select="translate(string(./name),
|
||||
'ABCDEFGHIJKLMNOPQRSTUVWXYZ',
|
||||
'abcdefghijklmnopqrstuvwxyz')"/>
|
||||
</xsl:apply-templates>
|
||||
</ul>
|
||||
|
||||
<xsl:copy-of select="$footer"/>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="entry">
|
||||
<xsl:variable name="url"><xsl:value-of select="url"/></xsl:variable>
|
||||
<li><a href="{$url}"><b><xsl:value-of select="name"/></b></a> --
|
||||
<xsl:value-of select="descr"/></li>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
29856
en/gallery/gallery.xml
29856
en/gallery/gallery.xml
File diff suppressed because it is too large
Load diff
|
@ -1,88 +0,0 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||
|
||||
<xsl:import href="../includes.xsl"/>
|
||||
|
||||
<xsl:variable name="base" select="'..'"/>
|
||||
<xsl:variable name="title" select="'The FreeBSD Gallery'"/>
|
||||
<xsl:variable name="date" select="'$FreeBSD: www/en/gallery/gallery.xsl,v 1.2 2003/10/23 17:13:43 kensmith Exp $'"/>
|
||||
|
||||
<xsl:output type="html" encoding="iso-8859-1"/>
|
||||
|
||||
<xsl:template match="gallery">
|
||||
<html>
|
||||
<xsl:copy-of select="$header1"/>
|
||||
<body xsl:use-attribute-sets="att.body">
|
||||
<xsl:copy-of select="$header2"/>
|
||||
|
||||
<p><b>Because of the hard maintaince and low benefit the gallery pages
|
||||
bring to both the Project and the listed websites, it has been
|
||||
decided to spend the time working on other stuff related to FreeBSD than
|
||||
these pages. The gallery will be removed in two weeks, no further
|
||||
submissions will be processed.</b></p>
|
||||
|
||||
<p><b>Note:</b> This has no influence on the <a
|
||||
href="../commercial/">Commercial Gallery</a>!
|
||||
</p>
|
||||
|
||||
<ul>
|
||||
<li><a href="cgallery.html"><xsl:value-of
|
||||
select="count(//entry[@type='commercial'])"/> commercial
|
||||
organizations</a></li>
|
||||
<li><a href="npgallery.html"><xsl:value-of
|
||||
select="count(//entry[@type='nonprofit'])"/> non-profit
|
||||
organizations</a></li>
|
||||
<li><a href="pgallery.html"><xsl:value-of
|
||||
select="count(//entry[@type='personal'])"/> personal
|
||||
sites</a></li>
|
||||
</ul>
|
||||
|
||||
<table width="100%" border="0">
|
||||
<tr>
|
||||
<td align="left"><img src="../gifs/powerlogo.gif" alt=""
|
||||
align="left" border="0"/></td>
|
||||
|
||||
<td align="left"><img src="../gifs/power-button.gif" alt=""
|
||||
align="left" border="0"/></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="right"><img src="../gifs/pbfbsd2.gif" width="171"
|
||||
height="64" border="0"/></td>
|
||||
|
||||
<td align="right"><img src="../gifs/powerani.gif" width="171"
|
||||
height="64"/></td>
|
||||
|
||||
<td align="right"><img src="../gifs/fhp_mini.jpg" width="171"
|
||||
height="64"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p align="center"><img src="../gifs/banner1.gif" alt=""
|
||||
width="446" height="63" border="0"/></p>
|
||||
|
||||
<p align="center"><img src="../gifs/banner2.gif" alt="" width="310"
|
||||
height="63" border="0"/></p>
|
||||
|
||||
<p align="center"><img src="../gifs/banner3.gif" alt="" width="250"
|
||||
height="35" border="0"/></p>
|
||||
|
||||
<p align="center"><img src="../gifs/banner4.gif" alt="" width="225"
|
||||
height="46" border="0"/></p>
|
||||
|
||||
<p>The "Powered by FreeBSD" logos above may be
|
||||
<a href="../gifs/powerlogo.gif">downloaded</a> and displayed on
|
||||
personal or commercial home pages served by FreeBSD machines. Use of
|
||||
this logo or the likeliness of the <a
|
||||
href="../copyright/daemon.html">BSD Daemons</a> for profitable gain
|
||||
requires the consent of <a href="mailto:taob@risc.org">Brian Tao</a>
|
||||
(creator of the "power" logo) and <a
|
||||
href="mailto:mckusick@mckusick.com">Marshall Kirk McKusick</a>
|
||||
(trademark holder for the BSD Daemon image).</p>
|
||||
|
||||
<xsl:copy-of select="$footer"/>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
|
@ -1,54 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# This script is dedicated to help gallery maintainer to parse source
|
||||
# mailbox which contains letters submitted by
|
||||
# http://www.FreeBSD.org/cgi/gallery.cgi and merge parsed information into
|
||||
# existing gallery.xml file.
|
||||
#
|
||||
# History:
|
||||
# 31082001 Alexey Zelkin Initial version
|
||||
#
|
||||
# Usage:
|
||||
# merge-mbox.sh src.mbox output.xml
|
||||
#
|
||||
# $FreeBSD$
|
||||
|
||||
# source file
|
||||
if ! [ -f "$1" ]; then
|
||||
echo "Could not open source mbox!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# destination file (copy of gallery.xml plus new items)
|
||||
if [ "$2" = "" ]; then
|
||||
echo "You must specify output file name!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# cleanup mailbox
|
||||
/usr/bin/egrep "^[commercial,nonprofit,personal]" $1 | /usr/bin/uniq | /usr/bin/sort > TMP.mbox
|
||||
|
||||
# make a copy of gallery.xml except closing </gallery> tag
|
||||
/usr/bin/grep -v "^<\/gallery>$" gallery.xml > $2
|
||||
|
||||
# add XMLized new items
|
||||
awk -F'\t' '{ \
|
||||
print " <entry type=\""$1"\">"; \
|
||||
print " <name>"$2"</name>"; \
|
||||
print " <url>"$3"</url>"; \
|
||||
print " <descr>"$4"</descr>"; \
|
||||
print " <email>"$5"</email>"; \
|
||||
print " </entry>"; \
|
||||
print ""; \
|
||||
}' TMP.mbox >> $2
|
||||
|
||||
# add closing XML tag
|
||||
echo "</gallery>" >> $2
|
||||
|
||||
# fixup URLs
|
||||
mv $2 $2.tmp
|
||||
/usr/bin/perl fixurls.pl $2.tmp $2
|
||||
|
||||
# cleanup
|
||||
rm $2.tmp
|
||||
rm TMP.mbox
|
Loading…
Reference in a new issue