Changeset View
Changeset View
Standalone View
Standalone View
head/zh_CN.UTF-8/htdocs/community.xsl
<?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||||
<!DOCTYPE xsl:stylesheet PUBLIC "-//FreeBSD//DTD FreeBSD XSLT 1.0 DTD//EN" | <!DOCTYPE xsl:stylesheet PUBLIC "-//FreeBSD//DTD FreeBSD XSLT 1.0 DTD//EN" | ||||
"http://www.FreeBSD.org/XML/share/xml/xslt10-freebsd.dtd" [ | "http://www.FreeBSD.org/XML/share/xml/xslt10-freebsd.dtd" [ | ||||
<!ENTITY title "FreeBSD 社区"> | <!ENTITY title "FreeBSD 社区"> | ||||
]> | ]> | ||||
<!-- $FreeBSD$ --> | <!-- $FreeBSD$ --> | ||||
<!-- The FreeBSD Simplified Chinese Documentation Project --> | <!-- The FreeBSD Simplified Chinese Documentation Project --> | ||||
<!-- Original Revision: r49284 --> | <!-- Original Revision: r51328 --> | ||||
<xsl:stylesheet version="1.0" | <xsl:stylesheet version="1.0" | ||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | ||||
xmlns:date="http://exslt.org/dates-and-times" | xmlns:date="http://exslt.org/dates-and-times" | ||||
xmlns="http://www.w3.org/1999/xhtml" | xmlns="http://www.w3.org/1999/xhtml" | ||||
extension-element-prefixes="date"> | extension-element-prefixes="date"> | ||||
<xsl:import href="http://www.FreeBSD.org/XML/lang/share/xml/libcommon.xsl"/> | <xsl:import href="http://www.FreeBSD.org/XML/lang/share/xml/libcommon.xsl"/> | ||||
Show All 31 Lines | <xsl:template name="process.contentwrap"> | ||||
generate-id(key('last-year-event-by-country', | generate-id(key('last-year-event-by-country', | ||||
location/country)[1]))])" /> 个不同的国家举办了 <xsl:value-of | location/country)[1]))])" /> 个不同的国家举办了 <xsl:value-of | ||||
select="count(/events/event[number(enddate/year) = | select="count(/events/event[number(enddate/year) = | ||||
(number($curdate.year) -1)])" /> 场 &os; 活动。 | (number($curdate.year) -1)])" /> 场 &os; 活动。 | ||||
若要了解未来与 &os; 有关的活动, 请查阅 | 若要了解未来与 &os; 有关的活动, 请查阅 | ||||
<a href="&enbase;/events/events.html">活动页面</a> 上维护的 | <a href="&enbase;/events/events.html">活动页面</a> 上维护的 | ||||
<a href="&enbase;/events/events.ics">日历</a> 和 | <a href="&enbase;/events/events.ics">日历</a> 和 | ||||
<a href="&enbase;/events/rss.xml">RSS 源</a>。 在 YouTube 上的 | <a href="&enbase;/events/rss.xml">RSS 源</a>。 在 YouTube 上的 | ||||
<a href="//www.youtube.com/bsdconferences">BSD 会议</a> | <a href="https://www.youtube.com/bsdconferences">BSD 会议</a> | ||||
频道里有许多过去活动的视频。</p> | 频道里有许多过去活动的视频。</p> | ||||
<!-- The Latest Videos section is placed inside an invisible block, which | <!-- The Latest Videos section is placed inside an invisible block, which | ||||
is only made visible if the browser supports Javascript. --> | is only made visible if the browser supports Javascript. --> | ||||
<div id="latest-videos" style="display:none;"> | <div id="latest-videos" style="display:none;"> | ||||
<h3>最新视频</h3> | <h3>最新视频</h3> | ||||
▲ Show 20 Lines • Show All 48 Lines • ▼ Show 20 Lines | <script type="text/javascript"> | ||||
GSearch.setOnLoadCallback(LoadVideoBar); | GSearch.setOnLoadCallback(LoadVideoBar); | ||||
</script> | </script> | ||||
</div> <!-- Latest Videos --> | </div> <!-- Latest Videos --> | ||||
<h2>社交网络</h2> | <h2>社交网络</h2> | ||||
<p>&os; 出现在许多不同的社交网络上。</p> | <p>&os; 出现在许多不同的社交网络上。</p> | ||||
<ul> | <ul> | ||||
<li>上千名用户已经在 <a | |||||
href="http://del.icio.us">del.icio.us</a> 上给接近 30,000 | |||||
个不重复的网页加上了 '<a | |||||
href="http://del.icio.us/tag/freebsd">freebsd</a>' 标签。</li> | |||||
<li>在 <a href="http://www.flickr.com">flickr</a> 上, | <li>在 <a href="http://www.flickr.com">flickr</a> 上, | ||||
有上千张来自用户群组, 会议和黑客马拉松的照片被加上了 '<a | 有上千张来自用户群组, 会议和黑客马拉松的照片被加上了 '<a | ||||
href="http://flickr.com/search/?z=t&ss=2&w=all&q=freebsd&m=text">freebsd</a>' | href="http://flickr.com/search/?z=t&ss=2&w=all&q=freebsd&m=text">freebsd</a>' | ||||
标签。</li> | 标签。</li> | ||||
<li>在 <a href="//www.youtube.com">YouTube</a> 上有上百段会议视频, | <li>在 <a href="https://www.youtube.com">YouTube</a> 上有上百段会议视频, | ||||
屏幕录像, 以及关于 <a | 屏幕录像, 以及关于 <a | ||||
href="//www.youtube.com/results?search_query=freebsd&search_type=&aq=f">FreeBSD</a> | href="https://www.youtube.com/results?search_query=freebsd">FreeBSD</a> | ||||
的演示。 特别要提到的是, 有一个新的 | 的演示。 特别要提到的是, 有一个新的 | ||||
<a href="http://www.youtube.com/bsdconferences">BSD 会议</a> | <a href="https://www.youtube.com/bsdconferences">BSD 会议</a> | ||||
频道, 其中包含了来自 FreeBSD 技术会议的各种一小时 FreeBSD 录制演讲。</li> | 频道, 其中包含了来自 FreeBSD 技术会议的各种一小时 FreeBSD 录制演讲。</li> | ||||
<li>在 <a href="http://www.facebook.com">Facebook</a> 上有一个 | <li>在 <a href="http://www.facebook.com">Facebook</a> 上有一个 | ||||
<a href="http://www.facebook.com/home.php#/group.php?gid=2204657214">FreeBSD | <a href="https://www.facebook.com/groups/FreeSBD/">FreeBSD | ||||
用户群组</a>, 在<a href="http://www.linkedin.com">LinkedIn</a> 上有一个 | 用户群组</a>, 在<a href="https://www.linkedin.com">LinkedIn</a> 上有一个 | ||||
<a href="http://www.linkedin.com/groups?gid=47628">FreeBSD 群组</a>。</li> | <a href="https://www.linkedin.com/groups?gid=47628">FreeBSD 群组</a>。</li> | ||||
<li>您可以在 <a href="https://twitter.com">Twitter</a> 上关注 | <li>您可以在 <a href="https://twitter.com">Twitter</a> 上关注 | ||||
<a href="https://twitter.com/freebsd">@freebsd</a>, | <a href="https://twitter.com/freebsd">@freebsd</a>, | ||||
<a href="https://twitter.com/freebsdhelp">@freebsdhelp</a>, | <a href="https://twitter.com/freebsdhelp">@freebsdhelp</a>, | ||||
<a href="https://twitter.com/freebsdblogs">@freebsdblogs</a>, 以及 | <a href="https://twitter.com/freebsdblogs">@freebsdblogs</a>, 以及 | ||||
<a href="https://twitter.com/bsdevents">@bsdevents</a>。</li> | <a href="https://twitter.com/freebsdcore">@freebsdcore</a>。</li> | ||||
</ul> | </ul> | ||||
</xsl:template> | </xsl:template> | ||||
</xsl:stylesheet> | </xsl:stylesheet> |