I've split out the image scaling code into a separate class and returned this class...
[mir.git] / etc / producer / printablecontent.template
index 2c7a599..164ee25 100755 (executable)
@@ -41,7 +41,7 @@
        which is to be used to layout the text contained in this
        page-sequence-->
   <fo:page-sequence master-reference="simple">
-       <fo:static-content flow-name="xsl-region-before">
+  <fo:static-content flow-name="xsl-region-before">
       <!-- this defines a title -->
       <fo:block font-size="24pt" 
             line-height="23pt"
 <fo:external-graphic  src="file://${config["Producer.Image.Path"]}/banner.png"  />
       </fo:block>
 <fo:block font-size="10pt" 
-       font-family="serif" 
-       color="black"
-       line-height="12pt">
-       Here is where some descriptive text could go.  A fair use disclaimer
+  font-family="serif" 
+  color="black"
+  line-height="12pt">
+  Here is where some descriptive text could go.  A fair use disclaimer
 an attribution of copyright/left rights, etc.  the possibilities are endless.
-       <fo:leader leader-pattern="rule" leader-length="18cm"
+  <fo:leader leader-pattern="rule" leader-length="18cm"
             rule-thickness="1pt" color="black"/>
 </fo:block>
-       
-       </fo:static-content>
-       
+  
+  </fo:static-content>
+  
       <!-- start fo:flow
            each flow is targeted 
            at one (and only one) of the following:
@@ -83,11 +83,11 @@ an attribution of copyright/left rights, etc.  the possibilities are endless.
       <!-- here is the article title -->
       <fo:block font-size="16pt" 
                 font-family="sans-serif" 
-               font-weight="bold"
+    font-weight="bold"
                 line-height="18pt"
                 space-after.optimum="3pt"
-                text-align="center">           
-      ${article.content.title}
+                text-align="center">        
+      ${article.title}
       </fo:block>
       
       <!-- here is the article author and date-->
@@ -95,39 +95,39 @@ an attribution of copyright/left rights, etc.  the possibilities are endless.
                 font-family="sans-serif" 
                 line-height="13pt"
                 space-after.optimum="3pt"
-                text-align="end">              
-      ${article.content.creator},  ${article.content.webdb_create_formatted}
+                text-align="end">       
+      ${article.creator},  ${article.webdb_create_formatted}
       </fo:block>
 
 
       <!-- here is the article summary -->
       <fo:block font-size="11pt" 
                 font-family="sans-serif" 
-               font-weight="bold"
+    font-weight="bold"
                 line-height="13pt"
                 space-after.optimum="3pt"
-                text-align="justify">          
-      ${article.content.description_parsed}
+                text-align="justify">       
+      ${article.description_parsed}
       </fo:block>
 
 
-             <!-- here is the header stuff -->
-<if article.content.creator_main_url || article.content.creator_email>
-       <fo:block><fo:leader leader-pattern="rule" leader-length="18cm"
+        <!-- here is the header stuff -->
+<if article.creator_main_url || article.creator_email>
+  <fo:block><fo:leader leader-pattern="rule" leader-length="18cm"
             rule-thickness="1pt" color="black"/></fo:block>
 </if>
-      <if article.content.creator_email>
+      <if article.creator_email>
       <fo:block font-size="10pt" 
                 font-family="sans-serif" 
                 line-height="12pt">
-      Email:           ${article.content.creator_email}
+      Email:    ${article.creator_email}
       </fo:block>
       </if>
-      <if article.content.creator_main_url>
+      <if article.creator_main_url>
       <fo:block font-size="10pt" 
                 font-family="sans-serif" 
                 line-height="12pt">
-      URL:     ${article.content.creator_main_url}
+      URL:    ${article.creator_main_url}
       </fo:block>
       </if> 
       <fo:block><fo:leader leader-pattern="rule" leader-length="18cm"
@@ -164,12 +164,9 @@ an attribution of copyright/left rights, etc.  the possibilities are endless.
 </if>
 
 </list>
-<!--        <list article.content.to_media_images as media>
-       <fo:external-graphic  src="file:${config["Producer.Image.Path"]}/${media["publish_path"]}"  />
-            ${media["description"]}
-        </list>-->
+
       </fo:block>
-       
+  
 
 
     </fo:flow> <!-- closes the flow element-->