From owner-freebsd-www@FreeBSD.ORG Mon Jun 9 05:11:23 2008 Return-Path: Delivered-To: freebsd-www@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97142106564A for ; Mon, 9 Jun 2008 05:11:23 +0000 (UTC) (envelope-from murray@stokely.org) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by mx1.freebsd.org (Postfix) with ESMTP id 303AF8FC12 for ; Mon, 9 Jun 2008 05:11:22 +0000 (UTC) (envelope-from murray@stokely.org) Received: by ug-out-1314.google.com with SMTP id q2so1121437uge.37 for ; Sun, 08 Jun 2008 22:11:22 -0700 (PDT) Received: by 10.67.86.5 with SMTP id o5mr1398031ugl.88.1212986741274; Sun, 08 Jun 2008 21:45:41 -0700 (PDT) Received: by 10.67.99.2 with HTTP; Sun, 8 Jun 2008 21:45:41 -0700 (PDT) Message-ID: <2a7894eb0806082145m69d6e791uf158da0d4f254385@mail.gmail.com> Date: Sun, 8 Jun 2008 21:45:41 -0700 From: "Murray Stokely" To: freebsd-www@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Ludovic Hirlimann Subject: Events page integration with upcoming.yahoo.com X-BeenThere: freebsd-www@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD Project Webmasters List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2008 05:11:23 -0000 Ludovic Hirlimann sent a mail to marketing@ this week suggesting that we integrate our events page with upcoming.yahoo.com. The first part of this process is now complete. All upcoming events on http://www.FreeBSD.org/events/ now include a link to a search result page for the event name on upcoming, so that interested parties can see who else is attending, post pictures, arrange a carpool, or whatever. I also added links from all past events to the Flickr and Google Blog Search result pages for the event name as the query. This provides quick access to pictures, trip reports, presentations, etc after the events are over. The more interesting part of the problem would be to integrate our events.xml database more directly into upcoming so that events in one would automatically show up in the other. I started writing some XSLT and Perl code to use the API (http://upcoming.yahoo.com/services/api/) to search for events. After checking that an event doesn't exist, my script attempts to find the metro area, venue, and other details in the upcoming service and then creates a new event as the 'FreeBSD Events' user. Of the four upcoming events listed in events.xml, two were already listed on upcoming. The NYCBSDCon 2008 entry (http://upcoming.yahoo.com/event/776363) was added automatically by the script, but the script failed to find an appropriate metro area for the 9th Libre Software Meeting so it could not export this to upcoming. If I can make the script a little more robust I will set it up in cron to automatically add events that we add to events.xml into upcoming.yahoo.com. My approach was to extract the relevant data for upcoming events from events.xml into a simple text format with XSLT : http://people.freebsd.org/~murray/patches/templates.events2upcoming.xsl. The text output is then parsed and sent to Upcoming using the WebServices::Upcoming Perl module (after patching it to work properly, http://rt.cpan.org/Public/Bug/Display.html?id=36567). Patches to improve this process are welcome. Now it only we had a video hosting site that hosted technical videos from BSD conferences we'd be set. For some reason, we are not as good at posting videos from conferences onto YouTube as we are at posting pictures onto Flickr and writing trip report blog posts. - Murray