2025-06-25 05:43:23 +00:00
|
|
|
|
---
|
|
|
|
|
layout: xslt
|
|
|
|
|
title: 订阅预览
|
|
|
|
|
---
|
|
|
|
|
|
2025-06-25 06:13:37 +00:00
|
|
|
|
<h1>订阅预览</h1>
|
2025-06-25 11:29:21 +00:00
|
|
|
|
<p>这是一个订阅源(Feed)。 复制当前URL到任何支持 Atom/RSS 的阅读器,即可订阅本博客的最新文章。
|
2025-06-25 06:13:37 +00:00
|
|
|
|
<br />
|
2025-06-29 08:31:33 +00:00
|
|
|
|
以下展示了此订阅源包含的最新文章:</p>
|
2025-06-26 03:21:48 +00:00
|
|
|
|
<hr />
|
2025-06-29 08:31:33 +00:00
|
|
|
|
<xsl:for-each select="atom:feed/atom:entry">
|
|
|
|
|
<div class="item">
|
|
|
|
|
<h2>
|
|
|
|
|
<a>
|
|
|
|
|
<xsl:attribute name="href">
|
|
|
|
|
<xsl:value-of select="atom:link/@href"/>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
<xsl:value-of select="atom:title"/>
|
|
|
|
|
</a>
|
|
|
|
|
</h2>
|
|
|
|
|
<small>
|
|
|
|
|
Published at <xsl:value-of select="substring(atom:published, 0, 11)" />
|
|
|
|
|
</small>
|
|
|
|
|
<p><xsl:value-of select="atom:summary"/></p>
|
|
|
|
|
<hr />
|
|
|
|
|
</div>
|
|
|
|
|
</xsl:for-each>
|
|
|
|
|
<xsl:for-each select="/rss/channel/item">
|
|
|
|
|
<div class="item">
|
|
|
|
|
<h2>
|
|
|
|
|
<a>
|
|
|
|
|
<xsl:attribute name="href">
|
|
|
|
|
<xsl:value-of select="link"/>
|
|
|
|
|
</xsl:attribute>
|
|
|
|
|
<xsl:value-of select="title"/>
|
|
|
|
|
</a>
|
|
|
|
|
</h2>
|
|
|
|
|
<small>
|
|
|
|
|
Published at <xsl:value-of select="substring(pubDate, 0, 17)" />
|
|
|
|
|
</small>
|
|
|
|
|
<p><xsl:value-of select="description"/></p>
|
|
|
|
|
<hr />
|
|
|
|
|
</div>
|
|
|
|
|
</xsl:for-each>
|