Add YouTube links for videos of the technical sessions from past

DCBSDCon and AsiaBSDCon conferences.
This commit is contained in:
Murray Stokely 2009-04-21 11:37:10 +00:00
parent 0900e97ec6
commit 5742b965cb
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=34121

View file

@ -9,7 +9,7 @@
<!ENTITY % header.rss "INCLUDE">
]>
<!-- $FreeBSD: www/share/sgml/templates.events.xsl,v 1.11 2008/06/29 19:25:35 murray Exp $ -->
<!-- $FreeBSD: www/share/sgml/templates.events.xsl,v 1.12 2008/12/28 10:59:06 murray Exp $ -->
<!-- Copyright (c) 2003 Simon L. Nielsen <simon@FreeBSD.org>
Copyright (c) 2008 Murray M Stokely <murray@FreeBSD.org>
@ -306,19 +306,20 @@
<xsl:variable name="name" select="name" />
<xsl:variable name="lcname" select="translate($name, $upper, $lower)" />
<!-- Note that only MeetBSD and NYCBSDCon have a significant number of
videos on YouTube so we hard code them for now. When we have a
better track record of getting videos from our conferences posted
to YouTube then we can implement a more generic solution here,
but for now we don't want to add the link to youtube when we know
in most cases there is no content there. -->
<!-- Note that only AsiaBSDCon, DCBSDCon, MeetBSD, and NYCBSDCon have
a significant number of videos on YouTube so we hard code them
for now. When we have a better track record of getting videos
from our conferences posted to YouTube then we can implement a
more generic solution here, but for now we don't want to add the
link to youtube when we know in most cases there is no content
there. -->
<li>
<xsl:call-template name="eventbody"/>
<p>Social links: <a rel="nofollow">
<xsl:attribute name="href">http://www.flickr.com/search/?w=all&amp;q=<xsl:value-of select="name" />&amp;m=text</xsl:attribute>
Flickr</a>, <a rel="nofollow">
<xsl:attribute name="href">http://blogsearch.google.com/blogsearch?q=<xsl:value-of select="name" /></xsl:attribute>Blog Search</a><xsl:if test="contains($lcname, 'meetbsd') or contains($lcname, 'nycbsdcon')">,
<xsl:attribute name="href">http://blogsearch.google.com/blogsearch?q=<xsl:value-of select="name" /></xsl:attribute>Blog Search</a><xsl:if test="contains($lcname, 'meetbsd') or contains($lcname, 'nycbsdcon') or contains($lcname, 'dcbsdcon') or contains($lcname, 'asiabsdcon')">,
<a rel="nofollow">
<xsl:attribute name="href">http://www.youtube.com/results?search_query=bsdconferences+<xsl:value-of select="name" /></xsl:attribute>YouTube</a></xsl:if>.</p>
</li>