1 2 3 4 5 | # the annotated URL http://ionrock.org/about/ # the annotation feed for the above URL http://ionrock.org/comments/feed/about/ |
1 | http://ionrock.org/comments/find_feed/?href=http://xml3k.org/Bright_Content |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | <xsl:template name="get-comment-feed"> <xsl:param name="comment-feed-url" /> <xsl:variable name="atom-feed" select="document($comment-feed-url)" /> <xsl:if test="$atom-feed/a:feed/a:entry"> <xsl:apply-templates match="$atom-feed/a:feed/a:entry" mode="comments" /> </xsl:if> </xsl:template> <xsl:template match="a:entry" mode="comments"> <div class="comment-entry"> <h4><xsl:value-of select="a:title" /></h4> <xsl:copy-of select="a:content/xh:div" /> </div> </xsl:template> |
1 2 | <a id="section-3.4" name="section-3.4"/> <h2>Section 3.4 - Handling Annotations with Atom</h2> |
1 2 | <category scheme="http://ionrock.org/ns/dyntag/anchor/" value="section-3.4" /> |
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |