X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/1168ecb421c920b38c07b94152158959fd0ee1b8..e99963a534b529840f041cfa8f5e4ab1f030f49d:/librarian/fb2/fb2.xslt?ds=inline

diff --git a/librarian/fb2/fb2.xslt b/librarian/fb2/fb2.xslt
index 3a7b522..2a07e35 100644
--- a/librarian/fb2/fb2.xslt
+++ b/librarian/fb2/fb2.xslt
@@ -7,10 +7,10 @@
 -->
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
 	xmlns:wl="http://wolnelektury.pl/functions"
-	xmlns:dc="http://purl.org/dc/elements/1.1/"
 	xmlns="http://www.gribuser.ru/xml/fictionbook/2.0"
 	xmlns:l="http://www.w3.org/1999/xlink">
 
+	<xsl:include href="description.xslt"/>
 	<xsl:include href="footnotes.xslt"/>
 	<xsl:include href="inline.xslt"/>
 	<xsl:include href="paragraphs.xslt"/>
@@ -30,11 +30,8 @@
 		</FictionBook>
 	</xsl:template>
 
-	<xsl:template match="dc:*" mode="outer">
-	</xsl:template>
-
 	<!-- we can't handle lyrics nicely yet -->
-	<xsl:template match="powiesc|opowiadanie" mode="outer">
+	<xsl:template match="powiesc|opowiadanie|liryka_l|liryka_lp" mode="outer">
 		<body> <!-- main body for main book flow -->
 			<xsl:if test="autor_utworu or nazwa_utworu">
 				<title>
@@ -43,12 +40,21 @@
 				</title>
 			</xsl:if>
 
+			<epigraph>
+				<p>
+					Utwór opracowany został w&#160;ramach projektu
+						<a l:href="http://www.wolnelektury.pl/">Wolne Lektury</a>
+					przez <a l:href="http://www.nowoczesnapolska.org.pl/">fundację
+						Nowoczesna Polska</a>.
+				</p>
+			</epigraph>
+
 			<xsl:variable name="sections" select="count(naglowek_rozdzial)"/>
 			<section>
 				<xsl:choose>
 					<xsl:when test="local-name() = 'liryka_l'">
 						<poem>
-							<xsl:apply-templates mode="poem"/>
+							<xsl:apply-templates mode="para"/>
 						</poem>
 					</xsl:when>