mirror of
https://github.com/Mabbs/mabbs.github.io
synced 2025-07-21 01:22:03 +00:00
Update 2 files
- /feed.xslt.xml - /rss.xml
This commit is contained in:
parent
29c6d57faa
commit
a5ace5b449
@ -58,7 +58,7 @@ https://nicolas-hoizey.com/feeds/all.xml
|
|||||||
Web Feed Preview
|
Web Feed Preview
|
||||||
</h1>
|
</h1>
|
||||||
<h2><xsl:value-of select="atom:feed/atom:title"/><xsl:value-of select="/rss/channel/title"/></h2>
|
<h2><xsl:value-of select="atom:feed/atom:title"/><xsl:value-of select="/rss/channel/title"/></h2>
|
||||||
<p><xsl:value-of select="atom:feed/atom:description"/><xsl:value-of select="/rss/channel/description"/></p>
|
<p><xsl:value-of select="atom:feed/atom:subtitle"/><xsl:value-of select="/rss/channel/description"/></p>
|
||||||
<p>This preview only shows titles and summaries, but the actual feed(Atom) contains the full content.</p>
|
<p>This preview only shows titles and summaries, but the actual feed(Atom) contains the full content.</p>
|
||||||
<a href="/">
|
<a href="/">
|
||||||
Visit Website →
|
Visit Website →
|
||||||
@ -101,7 +101,7 @@ https://nicolas-hoizey.com/feeds/all.xml
|
|||||||
</a>
|
</a>
|
||||||
</h3>
|
</h3>
|
||||||
<small class="gray">
|
<small class="gray">
|
||||||
Published at <xsl:value-of select="pubDate" />
|
Published: <xsl:value-of select="pubDate" />
|
||||||
</small>
|
</small>
|
||||||
<p><xsl:value-of select="description"/></p>
|
<p><xsl:value-of select="description"/></p>
|
||||||
</div>
|
</div>
|
||||||
|
6
rss.xml
6
rss.xml
@ -2,13 +2,15 @@
|
|||||||
---
|
---
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<?xml-stylesheet type="text/xml" href="/feed.xslt.xml"?>
|
<?xml-stylesheet type="text/xml" href="/feed.xslt.xml"?>
|
||||||
<rss version="2.0">
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||||
<channel>
|
<channel>
|
||||||
<title>{{ site.title | xml_escape }}</title>
|
<title>{{ site.title | xml_escape }}</title>
|
||||||
<description>{% if site.description %}{{ site.description | xml_escape }}{% endif %}</description>
|
<description>{% if site.description %}{{ site.description | xml_escape }}{% endif %}</description>
|
||||||
<link>"{{ "/" | absolute_url }}"</link>
|
<link>{{ "/" | absolute_url }}</link>
|
||||||
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
|
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
|
||||||
<language>{{ site.lang | default: "zh-CN" }}</language>
|
<language>{{ site.lang | default: "zh-CN" }}</language>
|
||||||
|
<atom:link href="{{ "/rss.xml" | absolute_url }}" rel="self" type="application/rss+xml" />
|
||||||
|
<atom:link href="{{ site.feed.path | absolute_url }}" rel="alternate" type="application/atom+xml" />
|
||||||
{% for post in site.posts limit:10 %}
|
{% for post in site.posts limit:10 %}
|
||||||
<item>
|
<item>
|
||||||
<title>{{ post.title | xml_escape }}</title>
|
<title>{{ post.title | xml_escape }}</title>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user