Skip to content

Commit

Permalink
Add sample to README
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed May 22, 2017
1 parent 953e196 commit cc16f08
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions v7/jsonfeed/README.md
Expand Up @@ -12,3 +12,40 @@ Supported:
Unsupported:

* galleries (requires some changes to Nikola core)

Sample output
-------------

```json
{
"version": "https://jsonfeed.org/version/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.",
"author": {
"name": "Your Name"
},
"items": [
{
"id": "https://example.com/posts/welcome-to-nikola.html",
"url": "/posts/welcome-to-nikola.html",
"title": "Welcome to Nikola",
"date_published": "2012-03-30T23:00:00-03:00",
"author": {
"name": "Roberto Alsina",
"url": "/authors/roberto-alsina.html"
},
"tags": [
"blog",
"demo",
"nikola",
"python"
],
"external_url": "https://getnikola.com/",
"content_html": "…omitted for brevity…"
}
]
}
```

0 comments on commit cc16f08

Please sign in to comment.