creative commons xml stuff works kinda crappy
at least i have figured it out now could sleep this night (damn you, party) so rest follows tomorrow or in the next few days git-svn-id: http://yolanda.mister-muffin.de/svn@83 7eef14d0-6ed0-489d-bf55-20463b2d70db
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
@ -131,6 +131,12 @@ div
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.videoccdata
|
||||||
|
{
|
||||||
|
text-align: center;
|
||||||
|
margin: 4em;
|
||||||
|
}
|
||||||
|
|
||||||
div.videometadata
|
div.videometadata
|
||||||
{
|
{
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
|
@ -326,6 +326,34 @@
|
||||||
<xsl:value-of select="rdf:RDF/cc:Work/dc:title" />
|
<xsl:value-of select="rdf:RDF/cc:Work/dc:title" />
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="videoccdata">
|
||||||
|
<!-- unfinished bizness -->
|
||||||
|
Permits:<br />
|
||||||
|
<xsl:for-each select="rdf:RDF/cc:License/cc:permits">
|
||||||
|
<xsl:if test="@rdf:resource = 'http://web.resource.org/cc/Reproduction'">
|
||||||
|
REPRODUCTION
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="@rdf:resource = 'http://web.resource.org/cc/Distribution'">
|
||||||
|
DISTRIBUTION
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="@rdf:resource = 'http://web.resource.org/cc/DerivativeWorks'">
|
||||||
|
DERIVATES
|
||||||
|
</xsl:if>
|
||||||
|
</xsl:for-each>
|
||||||
|
<br />
|
||||||
|
Requires:<br />
|
||||||
|
<xsl:for-each select="rdf:RDF/cc:License/cc:requires">
|
||||||
|
<xsl:if test="@rdf:resource = 'http://web.resource.org/cc/Notice'">
|
||||||
|
<img src="./images/cc/cc-by.png" />
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="@rdf:resource = 'http://web.resource.org/cc/ShareAlike'">
|
||||||
|
<img src="./images/cc/cc-sa.png" />
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="@rdf:resource = 'http://web.resource.org/cc/SourceCode'">
|
||||||
|
SOURCE
|
||||||
|
</xsl:if>
|
||||||
|
</xsl:for-each>
|
||||||
|
</div>
|
||||||
<div class="videometadata">
|
<div class="videometadata">
|
||||||
<xsl:value-of select="$locale_strings/str[@id='DC.title']" />:<br />
|
<xsl:value-of select="$locale_strings/str[@id='DC.title']" />:<br />
|
||||||
<xsl:value-of select="rdf:RDF/cc:Work/dc:title" /><br /><br />
|
<xsl:value-of select="rdf:RDF/cc:Work/dc:title" /><br /><br />
|
||||||
|
@ -344,9 +372,6 @@
|
||||||
<xsl:value-of select="$locale_strings/str[@id='DC.rights']" />:<br />
|
<xsl:value-of select="$locale_strings/str[@id='DC.rights']" />:<br />
|
||||||
<xsl:value-of select="rdf:RDF/cc:Work/dc:rights" /><br /><br />
|
<xsl:value-of select="rdf:RDF/cc:Work/dc:rights" /><br /><br />
|
||||||
</div>
|
</div>
|
||||||
<div class="videocreativecommonsdata">
|
|
||||||
<!-- here be dragons -->
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
|