Blog archives" and "Browse by tag" services


Blog archives" and "Browse by tag" services

The XSL renderings of these services have been slightly modified. If your graphic charter overloads these XSL or defines a new view, it is necessary to adapt them.

The changes concern XPath requests. You will find below the modifications for each XSL rendering impacted.

services/archives/tree_1.0.xsl

 // Ligne 89 (dans le template "page-count") 
<xsl:value-of- select="count(descendant::page[not(page)])"/> 
// Est devenu 
<xsl:value-of- select="sum(descendant-or-self::page[@type- =- 'month']/@entries)"/> 

services/tags/list_1.0.xsl

 // Ligne 62 (dans le template "common-service-body-nonempty-content-content") 
<xsl:apply-templates- select=".//page[page/@type- =- 'post']"> 
// Est devenu 
<xsl:apply-templates- select=".//page[@type- =- 'tag']"> 
  
// Ligne 79 (dans le template "page") 
<xsl:apply-templates- select="page[@type- !=- 'post']"> 
// Est devenu 
<xsl:apply-templates- select="page[@type- =- 'tag']"> 
  
// Ligne 92 (dans le template "page-count") 
<xsl:value-of- select="count(descendant::page[not(page)])"/> 
// Est devenu 
<xsl:value-of- select="sum(descendant-or-self::page[@type- =- 'tag']/@entries)"/> 

services/tags/tree_1.0.xsl

 // Ligne 62 (dans le template "common-service-body-nonempty-content-content") 
<xsl:apply-templates- select="page[@type- !=- 'post']"> 
// Est devenu 
<xsl:apply-templates- select="page[@type- =- 'tag']"> 
  
// Ligne 79 (dans le template "page") 
<xsl:apply-templates- select="page[@type- !=- 'post']"> 
// Est devenu 
<xsl:apply-templates- select="page[@type- =- 'tag']"> 
  
// Ligne 92 (dans le template "page-count") 
<xsl:value-of- select="count(descendant::page[not(page)])"/> 
// Est devenu 
<xsl:value-of- select="sum(descendant-or-self::page[@type- =- 'tag']/@entries)"/> 
Back to top

Blog