diff options
Diffstat (limited to 'ja_JP.eucJP/htdocs/events')
-rw-r--r-- | ja_JP.eucJP/htdocs/events/Makefile | 40 | ||||
-rw-r--r-- | ja_JP.eucJP/htdocs/events/Makefile.inc | 6 | ||||
-rw-r--r-- | ja_JP.eucJP/htdocs/events/events.css | 23 | ||||
-rw-r--r-- | ja_JP.eucJP/htdocs/events/rss.xsl | 141 |
4 files changed, 0 insertions, 210 deletions
diff --git a/ja_JP.eucJP/htdocs/events/Makefile b/ja_JP.eucJP/htdocs/events/Makefile deleted file mode 100644 index b7a2dfe44a..0000000000 --- a/ja_JP.eucJP/htdocs/events/Makefile +++ /dev/null @@ -1,40 +0,0 @@ -# $FreeBSD$ -# The FreeBSD Japanese Documentation Project -# Original revision: r51352 - -.if exists(../Makefile.conf) -.include "../Makefile.conf" -.endif -.if exists(../Makefile.inc) -.include "../Makefile.inc" -.endif - -#SUBDIR= 2002 -#SUBDIR+= 2003 - -# The year the top level events.html file starts from: -YEARSTART= 2018 -# Years to generate past events pages for and link from top level: -PASTYEARS= 2017 2016 2015 2014 2013 2012 2011 2010 2009 2008 2007 2006 2005 2004 2003 - -DATA= events.css -INDEXLINK= events.html - -XMLDOCS+= events:${DOC_PREFIX}/${LANGCODE}/share/xml/templates.events.xsl:${XML_EVENTS_EVENTS}: -PARAMS.events= --param startyear ${YEARSTART} -PARAMS.events+= --stringparam pastyears '${PASTYEARS}' -DEPENDSET.events= events - -.for year in ${PASTYEARS} -XMLDOCS+= events${year}:${XSL_EVENTS_PAST}:${XML_EVENTS_EVENTS}: -PARAMS.events${year}= --param year ${year} -PARAMS.events${year}+= --stringparam pastyears '${PASTYEARS}' -DEPENDSET.events${year}= events -.endfor - -XMLDOCS+= events_ics:${XSL_EVENTS_ICS}:${XML_EVENTS_EVENTS}:events.ics -DEPENDSET.events_ics= events - -XMLDOCS+= events_rss:rss.xsl:${XML_EVENTS_EVENTS}:rss.xml - -.include "${DOC_PREFIX}/share/mk/web.site.mk" diff --git a/ja_JP.eucJP/htdocs/events/Makefile.inc b/ja_JP.eucJP/htdocs/events/Makefile.inc deleted file mode 100644 index f42e1c47e3..0000000000 --- a/ja_JP.eucJP/htdocs/events/Makefile.inc +++ /dev/null @@ -1,6 +0,0 @@ -# $FreeBSD$ -# The FreeBSD Japanese Documentation Project -# Original revision: 1.2 - -DOC_PREFIX?= ${.CURDIR}/../../.. -WEBBASE?= /data/events diff --git a/ja_JP.eucJP/htdocs/events/events.css b/ja_JP.eucJP/htdocs/events/events.css deleted file mode 100644 index be3a63b414..0000000000 --- a/ja_JP.eucJP/htdocs/events/events.css +++ /dev/null @@ -1,23 +0,0 @@ -/* $FreeBSD$ */ - -/* - * The FreeBSD Japanese Documentation Project - * Original revision: 1.2 - */ - -div.topic { - margin-top: 1em; - margin-bottom: 1em; -} - -div.discussion { - margin-left: 1cm; -} - -strong.speaker { - color: #660000; -} - -strong.action { - color: red; -} diff --git a/ja_JP.eucJP/htdocs/events/rss.xsl b/ja_JP.eucJP/htdocs/events/rss.xsl deleted file mode 100644 index 9b0c76bd6a..0000000000 --- a/ja_JP.eucJP/htdocs/events/rss.xsl +++ /dev/null @@ -1,141 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1" ?> -<!DOCTYPE xsl:stylesheet PUBLIC "-//FreeBSD//DTD FreeBSD XSLT 1.0 DTD Fragment//EN" - "http://www.FreeBSD.org/XML/share/xml/xslt10-freebsd.dtd"> - -<!-- $FreeBSD$ --> -<!-- The FreeBSD Japanese Documentation Project --> -<!-- Original revision: r50992 --> - -<!-- Copyright (c) 2008 Murray Stokely <murray@FreeBSD.org> - Copyright (c) 2003 Simon L. Nielsen <simon@FreeBSD.org> - - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions - are met: - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - - THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - SUCH DAMAGE. ---> - -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" - xmlns:cvs="http://www.FreeBSD.org/XML/CVS" - xmlns:date="http://exslt.org/dates-and-times" - extension-element-prefixes="date" - exclude-result-prefixes="cvs"> - - <xsl:import href="http://www.FreeBSD.org/XML/lang/share/xml/libcommon.xsl"/> - - <xsl:output method="xml" indent="yes"/> - - <xsl:key name="event-by-month" match="event" - use="concat(startdate/year, format-number(startdate/month, '00'))"/> - - <!-- Template: events --> - <xsl:template match="events"> - <xsl:variable name="title">Upcoming FreeBSD Events</xsl:variable> - <xsl:variable name="link">https://www.FreeBSD.org/events/</xsl:variable> - - <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> - <channel> - <title><xsl:value-of select="$title" /></title> - <link><xsl:value-of select="$link" /></link> - <description>RSS feed of upcoming FreeBSD-related conferences, summits, courses, and other relevant events.</description> - <language>en-us</language> - <webMaster>freebsd-www@FreeBSD.org (FreeBSD Web Team)</webMaster> - <managingEditor>freebsd-www@FreeBSD.org (FreeBSD Web Team)</managingEditor> - <docs>http://blogs.law.harvard.edu/tech/rss</docs> - <ttl>120</ttl> - <image> - <url>https://www.FreeBSD.org/logo/logo-full.png</url> - <title><xsl:value-of select="$title" /></title> - <link><xsl:value-of select="$link" /></link> - </image> - <atom:link rel="self" type="application/rss+xml"> - <xsl:attribute name="href"> - <xsl:value-of select="$link" /><xsl:text>rss.xml</xsl:text> - </xsl:attribute> - </atom:link> - - <xsl:for-each select="event[generate-id() = - generate-id(key('event-by-month', - concat(startdate/year, format-number(startdate/month, '00')))[1]) - and ((number(enddate/year) > number($curdate.year)) or - (number(enddate/year) = number($curdate.year) and - number(enddate/month) > number($curdate.month)) or - (number(enddate/year) = number($curdate.year) and - number(enddate/month) = number($curdate.month) and - enddate/day >= $curdate.day))]"> - - <xsl:sort select="startdate/year" order="ascending"/> - <xsl:sort select="format-number(startdate/month, '00')" order="ascending"/> - <xsl:sort select="format-number(startdate/day, '00')" order="ascending"/> - - <xsl:variable name="guid"><xsl:value-of select="url"/></xsl:variable> - - <item> - <title><xsl:value-of select="name"/></title> - <description> - <xsl:value-of select="name"/> - <xsl:if test="url"> - <xsl:text> (</xsl:text> - <xsl:value-of select="url"/> - <xsl:text>)</xsl:text> - </xsl:if> - - <xsl:if test="location/site!=''"> - <xsl:text>, </xsl:text> - <xsl:value-of select="location/site"/> - </xsl:if> - <xsl:if test="location/city!=''"> - <xsl:text>, </xsl:text> - <xsl:value-of select="location/city"/> - </xsl:if> - <xsl:if test="location/state!=''"> - <xsl:text>, </xsl:text> - <xsl:value-of select="location/state"/> - </xsl:if> - <xsl:if test="location/country!=''"> - <xsl:text>, </xsl:text> - <xsl:value-of select="location/country"/> - </xsl:if> - - <xsl:text> </xsl:text> - - <xsl:call-template name="gen-date-interval"> - <xsl:with-param name="startdate" select="startdate" /> - <xsl:with-param name="enddate" select="enddate" /> - </xsl:call-template> - - <xsl:text>. </xsl:text> - - <xsl:apply-templates select="description"/> - - </description> - - <link><xsl:value-of select="$guid" /></link> - <guid><xsl:value-of select="$guid" /></guid> - </item> - </xsl:for-each> - - </channel> - </rss> - - </xsl:template> - -</xsl:stylesheet> |