during the upgrade to feisty fawn, apache won't start

so i decided to submit part of xml creative commons support now
 


git-svn-id: http://yolanda.mister-muffin.de/svn@89 7eef14d0-6ed0-489d-bf55-20463b2d70db
This commit is contained in:
erlehmann 2007-10-19 01:11:04 +00:00
parent eeeeeeb649
commit b980cb3ae4
6 changed files with 21 additions and 9 deletions

View file

@ -1,9 +1,9 @@
GNUtube - a free software video CMS GNUtube - a free software video CMS
Interface XML + XSL Frontend: XML + XSL + CSS
(c) 2007 Nils Moskopp (c) 2007 Nils Moskopp
Background Perl Backend: Perl
(c) 2007 Johannes Schauer (c) 2007 Johannes Schauer
License is the Affero General Public License version 3 or (at your option) any later version published by the Free Software Foundation. License is the Affero General Public License version 3 or (at your option) any later version published by the Free Software Foundation.

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 958 B

View file

@ -50,6 +50,7 @@
<!-- video page --> <!-- video page -->
<str id="download">download</str> <str id="download">download</str>
<str id="video_license">License</str>
<!-- dublin core entities --> <!-- dublin core entities -->
<str id="DC.title">title</str> <str id="DC.title">title</str>

View file

@ -29,7 +29,7 @@
<dc:coverage>Monaco di Baviera</dc:coverage> <dc:coverage>Monaco di Baviera</dc:coverage>
<dc:rights>VIVA 2</dc:rights> <dc:rights>VIVA 2</dc:rights>
</cc:Work> </cc:Work>
<cc:License rdf:about="http://creativecommons.org/licenses/GPL/2.0/"> <cc:License rdf:about="http://creativecommons.org/licenses/by-nc-sa/3.0/">
<cc:permits rdf:resource="http://web.resource.org/cc/Reproduction" /> <cc:permits rdf:resource="http://web.resource.org/cc/Reproduction" />
<cc:permits rdf:resource="http://web.resource.org/cc/Distribution" /> <cc:permits rdf:resource="http://web.resource.org/cc/Distribution" />
<cc:requires rdf:resource="http://web.resource.org/cc/Notice" /> <cc:requires rdf:resource="http://web.resource.org/cc/Notice" />

View file

@ -327,12 +327,21 @@
</a> </a>
</div> </div>
<div class="videoccdata"> <div class="videoccdata">
<!-- unfinished bizness --> <!--
Permits:<br /> unfinished bizness
<xsl:value-of select="@rdf:about" />
<xsl:if test="true()">
<img src="./images/cc/somerights.png" />
</xsl:if>
-->
<xsl:for-each select="rdf:RDF/cc:License/cc:permits"> <xsl:for-each select="rdf:RDF/cc:License/cc:permits">
<!--
since we are talking about digital media here, distribution actually /is/ reproduction
(also, i was too stupid to figure out how to test for both conditions).
<xsl:if test="@rdf:resource = 'http://web.resource.org/cc/Reproduction'"> <xsl:if test="@rdf:resource = 'http://web.resource.org/cc/Reproduction'">
REPRODUCTION <img src="./images/cc/cc-share.png" />
</xsl:if> </xsl:if>
-->
<xsl:if test="@rdf:resource = 'http://web.resource.org/cc/Distribution'"> <xsl:if test="@rdf:resource = 'http://web.resource.org/cc/Distribution'">
<img src="./images/cc/cc-share.png" /> <img src="./images/cc/cc-share.png" />
</xsl:if> </xsl:if>
@ -340,8 +349,6 @@
<img src="./images/cc/cc-remix.png" /> <img src="./images/cc/cc-remix.png" />
</xsl:if> </xsl:if>
</xsl:for-each> </xsl:for-each>
<br />
Requires:<br />
<xsl:for-each select="rdf:RDF/cc:License/cc:requires"> <xsl:for-each select="rdf:RDF/cc:License/cc:requires">
<xsl:if test="@rdf:resource = 'http://web.resource.org/cc/Notice'"> <xsl:if test="@rdf:resource = 'http://web.resource.org/cc/Notice'">
<img src="./images/cc/cc-by.png" /> <img src="./images/cc/cc-by.png" />
@ -349,13 +356,17 @@
<xsl:if test="@rdf:resource = 'http://web.resource.org/cc/ShareAlike'"> <xsl:if test="@rdf:resource = 'http://web.resource.org/cc/ShareAlike'">
<img src="./images/cc/cc-sharealike.png" /> <img src="./images/cc/cc-sharealike.png" />
</xsl:if> </xsl:if>
<!--
source code doesn't make much sense in video context.
still, this is preserved for potential future use.
<xsl:if test="@rdf:resource = 'http://web.resource.org/cc/SourceCode'"> <xsl:if test="@rdf:resource = 'http://web.resource.org/cc/SourceCode'">
SOURCE SOURCE
</xsl:if> </xsl:if>
-->
</xsl:for-each> </xsl:for-each>
<xsl:for-each select="rdf:RDF/cc:License/cc:prohibits"> <xsl:for-each select="rdf:RDF/cc:License/cc:prohibits">
<xsl:if test="@rdf:resource = 'http://web.resource.org/cc/CommercialUse'"> <xsl:if test="@rdf:resource = 'http://web.resource.org/cc/CommercialUse'">
<img src="./images/cc/cc-nc.png" /> <img src="./images/cc/cc-noncommercial.png" />
</xsl:if> </xsl:if>
</xsl:for-each> </xsl:for-each>
</div> </div>