Skip to content

Commit cc16f08

Browse files
committedMay 22, 2017
Add sample to README
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
1 parent 953e196 commit cc16f08

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed
 

‎v7/jsonfeed/README.md

+37
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,40 @@ Supported:
1212
Unsupported:
1313

1414
* galleries (requires some changes to Nikola core)
15+
16+
Sample output
17+
-------------
18+
19+
```json
20+
{
21+
"version": "https://jsonfeed.org/version/1",
22+
"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.",
23+
"title": "Demo Site",
24+
"home_page_url": "https://example.com/",
25+
"feed_url": "https://example.com/feed.json",
26+
"description": "This is a demo site for Nikola.",
27+
"author": {
28+
"name": "Your Name"
29+
},
30+
"items": [
31+
{
32+
"id": "https://example.com/posts/welcome-to-nikola.html",
33+
"url": "/posts/welcome-to-nikola.html",
34+
"title": "Welcome to Nikola",
35+
"date_published": "2012-03-30T23:00:00-03:00",
36+
"author": {
37+
"name": "Roberto Alsina",
38+
"url": "/authors/roberto-alsina.html"
39+
},
40+
"tags": [
41+
"blog",
42+
"demo",
43+
"nikola",
44+
"python"
45+
],
46+
"external_url": "https://getnikola.com/",
47+
"content_html": "…omitted for brevity…"
48+
}
49+
]
50+
}
51+
```

0 commit comments

Comments
 (0)
Please sign in to comment.