Added priority mechanism.
[utils] / crawler / kiss / conf / kiss / reportToText.xsl
index bb5fba223aa1c68005136e20188c184dfe9a64a5..9d85cfaa57342269eba2366432dce46f2179caf7 100644 (file)
         <xsl:value-of select="$newline"/>
         <xsl:value-of select="$newline"/>
       </xsl:when>
+      <xsl:when test="@result = 'CONFLICT'">
+        <xsl:text>Conflicts with other recorded program</xsl:text>
+        <xsl:value-of select="$newline"/>
+        <xsl:value-of select="$newline"/>
+      </xsl:when>
       <xsl:when test="@result='ERROR'">
         <xsl:text>Programs that could not be recorded for technical reasons.</xsl:text>
         <xsl:value-of select="$newline"/>
   <xsl:template match="program">
     <xsl:call-template name="addProgramInfo"/>
   </xsl:template>
+  
   <xsl:template match="interesting">
     <xsl:call-template name="programTable"/>
     <xsl:apply-templates select="category"/>
   </xsl:template>
+  
   <xsl:template match="category">
     <xsl:text>Category: </xsl:text><xsl:value-of select="@name"/>
+    <xsl:value-of select="$newline"/>
+    <xsl:value-of select="$newline"/>
     <xsl:call-template name="programTable"/>
   </xsl:template>
+  
 </xsl:stylesheet>