Commit 15f0ebcd authored by Aurel's avatar Aurel

retrieve published date from atom feed in the XSLT

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32315 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e24c1cd3
......@@ -76,7 +76,7 @@ xmlns:dc="http://purl.org/dc/elements/1.1/">\n
<xsl:otherwise>None</xsl:otherwise>\n
</xsl:choose>\n
</url_text>\n
<pub_date><xsl:value-of select="pubDate|dc:date"/></pub_date>\n
<pub_date><xsl:value-of select="pubDate|dc:date|*[local-name() = \'published\']"/></pub_date>\n
<workflow_action id="edit_workflow">\n
<action type="string">edit</action>\n
<actor type="string"><xsl:value-of select=\'$actor\'/></actor>\n
......@@ -84,7 +84,7 @@ xmlns:dc="http://purl.org/dc/elements/1.1/">\n
<error_message type="string"></error_message>\n
<serial type="string">0.0.0.0</serial>\n
<state type="string">current</state>\n
<time type="date"><xsl:value-of select="pubDate|dc:date"/></time>\n
<time type="date"><xsl:value-of select="pubDate|dc:date|*[local-name() = \'published\']"/></time>\n
</workflow_action>\n
<xsl:apply-templates select=".//geo:lat"/>\n
<xsl:apply-templates select=".//geo:long"/>\n
......
213
\ No newline at end of file
218
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment