From owner-freebsd-doc@FreeBSD.ORG Wed Aug 17 11:23:48 2005 Return-Path: X-Original-To: doc@FreeBSD.org Delivered-To: freebsd-doc@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA9E816A41F; Wed, 17 Aug 2005 11:23:47 +0000 (GMT) (envelope-from setantae@submonkey.net) Received: from shrike.submonkey.net (cpc4-cdif2-3-1-cust199.cdif.cable.ntl.com [82.31.76.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 389F643D45; Wed, 17 Aug 2005 11:23:47 +0000 (GMT) (envelope-from setantae@submonkey.net) Received: from setantae by shrike.submonkey.net with local (Exim 4.52 (FreeBSD)) id 1E5M1F-000G9C-OR; Wed, 17 Aug 2005 12:23:41 +0100 Date: Wed, 17 Aug 2005 12:23:41 +0100 From: Ceri Davies To: Hiroki Sato Message-ID: <20050817112341.GF55885@submonkey.net> Mail-Followup-To: Ceri Davies , Hiroki Sato , doc@FreeBSD.org References: <20050816213442.GN55885@submonkey.net> <20050817.070143.78009116.hrs@allbsd.org> <20050817094746.GR55885@submonkey.net> <20050817.194220.51508710.hrs@allbsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Z5Iw6G/4V9lVaptU" Content-Disposition: inline In-Reply-To: <20050817.194220.51508710.hrs@allbsd.org> X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.9i Sender: Ceri Davies Cc: doc@FreeBSD.org Subject: Re: Events in iCalendar format X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Aug 2005 11:23:48 -0000 --Z5Iw6G/4V9lVaptU Content-Type: multipart/mixed; boundary="p19/OaUkOQckSefz" Content-Disposition: inline --p19/OaUkOQckSefz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 17, 2005 at 07:42:20PM +0900, Hiroki Sato wrote: > Ceri Davies wrote > in <20050817094746.GR55885@submonkey.net>: >=20 > ce> On Wed, Aug 17, 2005 at 07:01:43AM +0900, Hiroki Sato wrote: > ce> > Hmm, could you please put the XSLT stylesheet into the language-in= dependent > ce> > directory? > ce> > ce> Along this line, I don't see why we have a copy of events.dtd in every > ce> language-dependent directory. >=20 > Yes, it is pointless, too. I am planning to clean up this sort of > duplicate files when I import doc.xml.mk. So when you add a new > language-independent file, putting it into the LI directory > from the beginning would be nice. OK, here's the new diff. Ceri --=20 Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. -- Einstein (attrib.) --p19/OaUkOQckSefz Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="events.ical.diff" Content-Transfer-Encoding: quoted-printable Index: share/sgml/events2ics.xsl =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: share/sgml/events2ics.xsl diff -N share/sgml/events2ics.xsl --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ share/sgml/events2ics.xsl 17 Aug 2005 11:23:06 -0000 @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + BEGIN:VCALENDAR +VERSION:2.0 +PRODID:$FreeBSD$ + +END:VCALENDAR + + + +BEGIN:VEVENT +SEQUENCE: +SUMMARY: + + + +LOCATION: + + + + , + + + + , + + + + , + + + + + + +DESCRIPTION: + + + +END:VEVENT + + + + + + + + +URL;VALUE=3DURI: + + + + + + + + + + + + +DTSTART;VALUE=3DDATE: + + +DTEND;VALUE=3DDATE: + + + + Index: en/events/Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/dcvs/www/en/events/Makefile,v retrieving revision 1.7 diff -u -r1.7 Makefile --- en/events/Makefile 6 Apr 2004 11:36:12 -0000 1.7 +++ en/events/Makefile 17 Aug 2005 11:23:06 -0000 @@ -12,8 +12,10 @@ =20 DATA=3D events.css DATA+=3D events.html +DATA+=3D events.ics =20 CLEANFILES+=3D events.html +CLEANFILES+=3D events.ics CLEANFILES+=3D curdate.xml =20 INDEXLINK=3D events.html @@ -29,6 +31,10 @@ -${TIDY} ${TIDYOPTS} ${.TARGET} .endif =20 +events.ics: events.xml + ${XSLTPROC} ${XSLTPROCOPTS} -o ${.TARGET} \ + ${WEB_PREFIX}/share/sgml/events2ics.xsl ${.CURDIR}/events.xml + lint: ${XMLLINT} --valid -o /dev/null ${.CURDIR}/events.xml =20 --p19/OaUkOQckSefz-- --Z5Iw6G/4V9lVaptU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDAx49ocfcwTS3JF8RAqbjAKCRgtPKAf3taoIw7QekzJS99h9X9wCgwj8U oHPAGEnyGz09tw2L8BV2Fb4= =qGwq -----END PGP SIGNATURE----- --Z5Iw6G/4V9lVaptU--