From owner-freebsd-questions@FreeBSD.ORG Tue Jun 10 21:40:15 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A3A01065674 for ; Tue, 10 Jun 2008 21:40:15 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-116.bluehost.com (outbound-mail-116.bluehost.com [69.89.22.16]) by mx1.freebsd.org (Postfix) with SMTP id 0D66A8FC16 for ; Tue, 10 Jun 2008 21:40:09 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: (qmail 17906 invoked by uid 0); 10 Jun 2008 21:40:08 -0000 Received: from unknown (HELO box183.bluehost.com) (69.89.25.183) by outboundproxy3.bluehost.com with SMTP; 10 Jun 2008 21:40:08 -0000 Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kokopelli.hydra) by box183.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1K6BZX-0005By-JE for freebsd-questions@freebsd.org; Tue, 10 Jun 2008 15:40:08 -0600 Received: by kokopelli.hydra (sSMTP sendmail emulation); Tue, 10 Jun 2008 15:35:41 -0600 Date: Tue, 10 Jun 2008 15:35:41 -0600 From: Chad Perrin To: FreeBSD Questions Message-ID: <20080610213541.GC79442@kokopelli.hydra> Mail-Followup-To: FreeBSD Questions References: <20080610174708.GB75976@kokopelli.hydra> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/Uq4LBwYP4y1W6pO" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Identified-User: {737:box183.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} DomainKey-Status: no signature Subject: Re: viewing vCalendar files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jun 2008 21:40:15 -0000 --/Uq4LBwYP4y1W6pO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 10, 2008 at 04:27:46PM -0400, Andrew Berry wrote: > On 10-Jun-08, at 1:47 PM, Chad Perrin wrote: >=20 > >I've been sent a vCalendar file via email. I use mutt as my mail user > >agent, and am not terribly interested in switching to mail/claws-mail > >just so I can read this vCalendar file (generated in MS Outlook). > > > >Is there some command line tool that will create a readable text file > >from this, a Mutt extension that can handle it, or anything along =20 > >those > >lines, in Ports? What are my options, besides just deleting all the > >vCalendar markup cruft by hand (or writing a script to do it for me)? >=20 > If you just need to read it, then open it up in a text editor. =20 > vCalendar / iCalendar markup is pretty simple. Virtually any =20 > calendaring app should be able to read the file, including Mozilla =20 > Sunbird, Evolution, Kontact, and so on. There are also web calendars =20 > such as Webcalendar in ports, or you could just use Google Calendar. >=20 > If the sender is expecting a vCal file back to confirm / deny the =20 > appointment, then you'll need to make sure that you send back a valid =20 > file. I find the way it's formatted difficult to parse, particularly when it's a relatively long and complex file. I just finished using Perl to create a (better formatted) plain text version of the file -- and that worked for this one instance. It seems odd to me that there isn't a widely distributed console-based program that can be used to clean up vCalendar files, though. --=20 Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ] Philip Machanick: "caution: if you write code like this, immediately after you are fired the person assigned to maintaining your code after you leave will resign" --/Uq4LBwYP4y1W6pO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkhO860ACgkQ9mn/Pj01uKXoAgCffoS17y5SEMj0MK/FNfg6bW+J kG4AoNvHaa1ulMdiap1MSx+rg8U++UMj =Sr3m -----END PGP SIGNATURE----- --/Uq4LBwYP4y1W6pO--