Summary: | FreeBSD Multimedia page should automatically pick up YouTube videos from 'bsdconferences' channel | ||
---|---|---|---|
Product: | Documentation | Reporter: | Murray Stokely <murray> |
Component: | Books & Articles | Assignee: | Sergio Carlavilla Delgado <carlavilla> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | carlavilla |
Priority: | Normal | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Murray Stokely
2008-12-03 21:20:00 UTC
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 Responsible Changed From-To: freebsd-www->edwin Hey Edwin, you largely maintain the multimedia setup, would you be able to have a look at this? For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/doc/commit/?id=832fed5c8442e6d5299dd85ecb5f4069080ec65d commit 832fed5c8442e6d5299dd85ecb5f4069080ec65d Author: Sergio Carlavilla Delgado <carlavilla@FreeBSD.org> AuthorDate: 2021-04-01 20:34:27 +0000 Commit: Sergio Carlavilla Delgado <carlavilla@FreeBSD.org> CommitDate: 2021-04-01 20:34:27 +0000 Add hugo shortcode in community page to pick last youtube videos Use the youtube hugo shortcode to load the videos from the BSD conferences channel. PR: 129401 website/content/en/community/_index.adoc | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) Log time ago. Fixed! |