-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Bug #10, new `feed-all.xml` RSS feed/ site-map (limit: 100)
- Loading branch information
Showing
7 changed files
with
44 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,8 @@ _site | |
*BAK* | ||
*copy* | ||
|
||
_out/* | ||
!_out/.htaccess | ||
_out/ | ||
#!_out/.htaccess | ||
|
||
blog.md | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,9 @@ | |
|
||
default: serve | ||
|
||
help: | ||
# Targets: serve draft rewrite count | ||
|
||
serve: | ||
jekyll serve | ||
|
||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
layout: null | ||
permalink: /feed-all.xml | ||
--- | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"> | ||
<channel> | ||
<title>{{ site.title | xml_escape }}</title> | ||
<description>{{ site.description | xml_escape }}</description> | ||
<link>{{ site.url }}{{ site.baseurl }}/</link> | ||
<atom:link href="{{ "/feed-all.xml" | prepend: site.baseurl | prepend: site.url }}" rel="self" type="application/rss+xml"/> | ||
<pubDate>{{ site.time | date_to_rfc822 }}</pubDate> | ||
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate> | ||
<language>en</language> | ||
<sy:updatePeriod>hourly</sy:updatePeriod> | ||
<sy:updateFrequency>2</sy:updateFrequency> | ||
<generator>Jekyll v{{ jekyll.version }}</generator> | ||
{% assign limit = site.ex_feed_limit %}{% unless limit %}{% assign limit = 10 %}{% endunless %} | ||
<!--limit: {{ limit }}; count: {{ site.posts | size }}; sitemap--> | ||
{% for post in site.posts limit: limit %} | ||
<item> | ||
<title>{{ post.title | xml_escape }}</title> | ||
{% comment %}<description>{{ post.content | xml_escape }}</description>{% endcomment %} | ||
<description>{{ post.content | strip_html | truncatewords: 75 | xml_escape }}</description> | ||
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate> | ||
<link>{{ post.url | prepend: site.baseurl | prepend: site.url }}</link> | ||
<guid isPermaLink="true">{{ post.url | prepend: site.baseurl | prepend: site.url }}</guid> | ||
{% for tag in post.tags %} | ||
<category>{{ tag | xml_escape }}</category> | ||
{% endfor %} | ||
{% for cat in post.categories %} | ||
<category>{{ cat | xml_escape }}</category> | ||
{% endfor %} | ||
</item> | ||
{% endfor %} | ||
</channel> | ||
</rss> |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters