octopress-feeds 1.2.3 → 1.2.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 60983f3c3127540cf1d3793d155045c3dabde8fe
4
- data.tar.gz: 895719b413c047564f3234273a8346c6b8887335
3
+ metadata.gz: 32fe7ffd3a4d4a8b9e168653192cf322bc366ca5
4
+ data.tar.gz: 79a174f7ee75a3c5c01f162d86baaa95e75a0799
5
5
  SHA512:
6
- metadata.gz: b489b2b14909a1d9731f8a81d0738683820b121879032393034475c4dd02dc2f8840081091b8bfbea860654b05e8f7e7e18ab6f2e8214091eca8767cbf4fda6f
7
- data.tar.gz: fafc9a88c2506b9ad0260e538a41943409d93ab95821c745717e1f976d036b3f2748720f35d2386d1c185bd8bbbf102ede4008b701d991be0654c11e8c06d2ec
6
+ metadata.gz: 3ef7adf155249df5cac2c22b002ee51360066cf544d3391e86459eee3d236cc5e68c2528708cc6726949c20b33478c95a26ffa080cf6bf46cb6505e94095c95c
7
+ data.tar.gz: 7fc999ccdc6124362d2fa58c0897c03d411f523fa4d5a03134474e4bd69dc7ba0a8c34d924a69ca11632deb3f5500370476cd2373bfe31cd9aabea461d57eb65
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ### 1.2.4 (2015-01-26)
4
+
5
+ - Link and Article feeds are automatically added when linkblog plugin is added.
6
+
3
7
  ### 1.2.3 (2015-01-24)
4
8
  - Fix: Posts use canonical URLs in feeds.
5
9
  - Improved `baseurl` support.
data/README.md CHANGED
@@ -94,7 +94,7 @@ title: Deutsch Artikel Feed
94
94
  {% include feeds:article-feed.xml lang='de' %}
95
95
  ```
96
96
 
97
- To add a link posts feed, add a file to `/de/feed/links/index.xml` containing the following:
97
+ To add a link-posts feed, add a file to `/de/feed/links/index.xml` containing the following:
98
98
 
99
99
  ```
100
100
  ---
@@ -106,7 +106,7 @@ title: Deutsch Link Feed
106
106
 
107
107
  That's it. When you generate your site. These feeds should contain only German posts. If you have more than one language, you can just repeat the steps above for each.
108
108
 
109
- ## Customization
109
+ ## Customize feeds
110
110
 
111
111
  To list detailed information about this plugin, run `$ octopress ink list feeds`. This will output something like this:
112
112
 
@@ -167,12 +167,39 @@ This will create a configuration file populated with the defaults for this plugi
167
167
  | `external_linkposts` | Link posts should direct visitors to the linked site. | true |
168
168
  | `articles_feed` | Add an additional articles-only feed. | false |
169
169
  | `linkposts_feed` | Add an additional link-posts-only feed. | false |
170
+ | `permalinks` | Set the permalink for feed pages. | |
170
171
 
171
- Note: Post excerpts are determined by Jekyll's `excerpt_separator` configuration. It defaults to splitting your
172
+
173
+ ### Feed permalinks
174
+
175
+ You can set the URL for the feed pages by configuring the `permalink` setting. Here's an example:
176
+
177
+ ```yaml
178
+ permalinks:
179
+ main-feed: /rss/
180
+ link-feed: /rss/links/
181
+ article-feed: /rss/articles/
182
+ ```
183
+
184
+ Now when you run `$ octopress ink list feeds` the pages section will look like this:
185
+
186
+ ```
187
+ pages: urls:
188
+ - article-feed.xml /rss/articles/index.xml
189
+ - link-feed.xml /rss/links/index.xml
190
+ - main-feed.xml /rss/index.xml
191
+ ```
192
+
193
+ Note: Multilingual feeds will not show up here. This only shows pages that come with this plugin.
194
+
195
+ ### Excerpted feeds
196
+
197
+ Post excerpts are determined by Jekyll's `excerpt_separator` configuration. It defaults to splitting your
172
198
  post at the first double line-break, `\n\n`. If you want more control over where the excerpt happens on your individual
173
199
  posts, You can change that to something like `<!--more-->` and place that comment wherever you like in your post to
174
200
  split the content there.
175
201
 
202
+
176
203
  ## Contributing
177
204
 
178
205
  1. Fork it ( https://github.com/octopress/feeds/fork )
data/assets/config.yml CHANGED
@@ -1,5 +1,3 @@
1
1
  count: 20
2
2
  excerpts: false # Feed excerpts post content
3
3
  external_links: true # Linkposts should direct visitors to the linked site
4
- articles_feed: false # Add a feed with articles only
5
- linkposts_feed: false # Add a feed with linkposts only
@@ -3,4 +3,4 @@ permalink: /feed/articles/
3
3
  title: Articles Feed
4
4
  feed: true
5
5
  ---
6
- {% abort unless site.articles and site.articles.size > 0 and plugins.feeds.articles_feed %}{% include feeds:article-feed.xml %}
6
+ {% abort unless site.articles and site.articles.size > 0 %}{% include feeds:article-feed.xml %}
@@ -3,4 +3,4 @@ permalink: /feed/links/
3
3
  title: Links Feed
4
4
  feed: true
5
5
  ---
6
- {% abort unless site.linkposts and site.linkposts.size > 0 and plugins.feeds.linkposts_feed %}{% include feeds:link-feed.xml %}
6
+ {% abort unless site.linkposts and site.linkposts.size > 0 %}{% include feeds:link-feed.xml %}
@@ -1,5 +1,5 @@
1
1
  module Octopress
2
2
  module Feeds
3
- VERSION = "1.2.3"
3
+ VERSION = "1.2.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: octopress-feeds
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 1.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Mathis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-24 00:00:00.000000000 Z
11
+ date: 2015-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octopress-ink