Cleanup statuses feed
This commit is contained in:
@@ -47,17 +47,15 @@
|
|||||||
<h2>Recent Items</h2>
|
<h2>Recent Items</h2>
|
||||||
<xsl:for-each select="/channel/item">
|
<xsl:for-each select="/channel/item">
|
||||||
<div class="pb-5">
|
<div class="pb-5">
|
||||||
<h3 class="mb-0">
|
<xsl:value-of select="title" disable-output-escaping="yes"/>
|
||||||
|
|
||||||
|
<small class="text-gray">
|
||||||
<a target="_blank">
|
<a target="_blank">
|
||||||
<xsl:attribute name="href">
|
<xsl:attribute name="href">
|
||||||
<xsl:value-of select="link"/>
|
<xsl:value-of select="link"/>
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<xsl:value-of select="title"/>
|
Published: <xsl:value-of select="pubDate" />
|
||||||
</a>
|
</a>
|
||||||
</h3>
|
|
||||||
<xsl:value-of select="description" disable-output-escaping="yes"/>
|
|
||||||
<small class="text-gray">
|
|
||||||
Published: <xsl:value-of select="pubDate" />
|
|
||||||
</small>
|
</small>
|
||||||
</div>
|
</div>
|
||||||
</xsl:for-each>
|
</xsl:for-each>
|
||||||
|
@@ -23,9 +23,9 @@ xml.channel do |channel|
|
|||||||
|
|
||||||
posts.each do |post|
|
posts.each do |post|
|
||||||
channel.item do |item|
|
channel.item do |item|
|
||||||
item.title post.display_title
|
item.title post.feed_content
|
||||||
item.description do |desc|
|
item.description do |desc|
|
||||||
desc.cdata! post.feed_content
|
desc.cdata! post.raw_content
|
||||||
end
|
end
|
||||||
item.link(post.permalink)
|
item.link(post.permalink)
|
||||||
item.guid(post.slug, isPermaLink: true)
|
item.guid(post.slug, isPermaLink: true)
|
||||||
|
Reference in New Issue
Block a user