Skip to content

Commit

Permalink
jsonfeed: support for v1.1 of the standard (fix #400)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kwpolska committed Oct 24, 2021
1 parent afafcec commit c930557
Show file tree
Hide file tree
Showing 3 changed files with 165 additions and 116 deletions.
11 changes: 9 additions & 2 deletions v8/jsonfeed/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
An implementation of the [JSON Feed](https://jsonfeed.org/) specification (version 1).
An implementation of the [JSON Feed](https://jsonfeed.org/) specification (version 1.1).

Supported:

Expand All @@ -17,12 +17,15 @@ Sample output

```json
{
"version": "https://jsonfeed.org/version/1",
"version": "https://jsonfeed.org/version/1.1",
"user_comment": "This feed allows you to read the posts from this site in any feed reader that supports the JSON Feed format. To add this feed to your reader, copy the following URL — https://example.com/feed.json — and add it your reader.",
"title": "Demo Site",
"home_page_url": "https://example.com/",
"feed_url": "https://example.com/feed.json",
"description": "This is a demo site for Nikola.",
"authors": [{
"name": "Your Name"
}],
"author": {
"name": "Your Name"
},
Expand All @@ -32,6 +35,10 @@ Sample output
"url": "/posts/welcome-to-nikola.html",
"title": "Welcome to Nikola",
"date_published": "2012-03-30T23:00:00-03:00",
"authors": [{
"name": "Roberto Alsina",
"url": "/authors/roberto-alsina.html"
}],
"author": {
"name": "Roberto Alsina",
"url": "/authors/roberto-alsina.html"
Expand Down
2 changes: 1 addition & 1 deletion v8/jsonfeed/jsonfeed.plugin
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ PluginCategory = Task

[Documentation]
Author = Chris Warrick
Version = 0.1.1
Version = 0.1.2
Website = https://jsonfeed.org/
Description = Generate JSON Feeds for a Nikola blog.
Loading

0 comments on commit c930557

Please sign in to comment.