www/129401: FreeBSD Multimedia page should automatically pick
up YouTube videos from 'bsdconferences' channel
Murray Stokely
murray at stokely.org
Sun Dec 14 16:50:10 PST 2008
The following reply was made to PR www/129401; it has been noted by GNATS.
From: "Murray Stokely" <murray at stokely.org>
To: freebsd-gnats-submit at freebsd.org
Cc:
Subject: Re: www/129401: FreeBSD Multimedia page should automatically pick up YouTube videos from 'bsdconferences' channel
Date: Sun, 14 Dec 2008 16:17:26 -0800
Note that in order to do this properly, we have a couple of
pre-requisites. For one thing, we need If-Modified-Since: support
added to fetch(1) so that we can easily check RSS feeds in the web
build without overloading web servers. This is addressed in this PR :
http://www.FreeBSD.org/cgi/query-pr.cgi?pr=bin/87841
Then we need to decide on a standard way for the web build to cache
content from other web servers between builds. I propose storing
downloaded RSS feeds in $TMPDIR/webbuild so that the downloaded feeds
persist between builds (e.g., we can't keep it in $OBJDIR or make
clean will wipe it out) but not between reboots.
We can then call fetch with the new -i argument added by the patch in
that PR to only download the content if the remote RSS file is newer
than the cached version in $TMPDIR/webbuild.
The rest is just simple XSLT/Makefile glue to actually parse and
include dynamic content from external RSS feeds to our website. This
may make sense for Flickr, YouTube, Yahoo Upcoming, or other services.
- Murray
On Wed, Dec 3, 2008 at 1:10 PM, Murray Stokely <murray at freebsd.org> wrote:
>
>>Number: 129401
>>Category: www
>>Synopsis: FreeBSD Multimedia page should automatically pick up YouTube videos from 'bsdconferences' channel
>>Confidential: no
>>Severity: non-critical
>>Priority: medium
>>Responsible: freebsd-www
>>State: open
>>Quarter:
>>Keywords:
>>Date-Required:
>>Class: change-request
>>Submitter-Id: current-users
>>Arrival-Date: Wed Dec 03 21:20:00 UTC 2008
>>Closed-Date:
>>Last-Modified:
>>Originator: Murray Stokely
>>Release: N/A
>>Organization:
> FreeBSD Project
>>Environment:
> N/A
>>Description:
> We have a new YouTube Channel for BSD content. There is a rich set of YouTube gdata apis to extract the videos from this channel. The web build should download the RSS/AtomPub feed, extract videos from this channel tagged 'freebsd', and add them to the multimedia page. The YouTube channel is at :
>
> http://www.youtube.com/bsdconferences
>
> and the multimedia page I'm referring to is here :
>
> http://www.freebsd.org/multimedia/multimedia.html
>
> Information about the YouTube APIs is available here :
>
> http://code.google.com/apis/youtube/overview.html
>
>
>>How-To-Repeat:
>
>>Fix:
>
>
>>Release-Note:
>>Audit-Trail:
>>Unformatted:
> _______________________________________________
> freebsd-www at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-www
> To unsubscribe, send any mail to "freebsd-www-unsubscribe at freebsd.org"
>
More information about the freebsd-www
mailing list