jf2-examples

A bunch of example JF2 format posts. Very useful for testing

View the Project on GitHub

JF2 Examples

This is a work in progress collection of JF2 format posts.

To add an example simply add a new json file to the /_data/jf2 folder with a descriptive name and the JF2 json as the content

Example Posts

  1. basic-checkin

    {"type":"entry","name":"Checked in to Venue Name","checkin":{"type":"card","name":"Venue Name","url":"http://example.com/venue"}}
  2. html-content

    {"type":"entry","content":{"html":"<p>Hello World</p>","text":"Hello World"}}
  3. quotation

    {"type":"entry","location":{"type":"card","name":"Portland, Oregon, USA","latitude":"45.51125","longitude":"-122.653804"},"name":"\"Because I've already got webmentions on my site, Brid.gy worked straight out of the gate--a lovely demonstration of some small pieces, loosely joined.\" - @adactio on posting notes from his own website: http://adactio.com/journal/6826/","category":["indieweb","webmention","bridgy","twitter"],"url":"https://aaronparecki.com/2014/06/01/9/indieweb","author":"https://aaronparecki.com/","published":"2014-06-01T12:35:41-07:00","content":{"html":"\"Because I've already got webmentions on my site, Brid.gy worked straight out of the gate--a lovely demonstration of some small pieces, loosely joined.\" - <a href=\"https://twitter.com/adactio\">@adactio</a> on posting notes from his own website: <a href=\"http://adactio.com/journal/6826/\"><span class=\"protocol\">http://</span>adactio.com/journal/6826/</a>","text":"\"Because I've already got webmentions on my site, Brid.gy worked straight out of the gate--a lovely demonstration of some small pieces, loosely joined.\" - @adactio on posting notes from his own website: http://adactio.com/journal/6826/"}}
  4. basic-reference

    {"type":"entry","published":"2015-10-20T15:49:00-0700","url":"http://example.com/post/fsjeuu8372","author":"http://alice.example.com","name":"Hello World","content":"This is a blog post","category":"Posts","references":{"http://alice.example.com":{"type":"card","name":"Alice","url":"http://alice.example.com","photo":"http://alice.example.com/photo.jpg"}}}
  5. like

    {"type":"entry","like-of":"https://example.com"}
  6. review

    {"type":"review","item":{"type":"card","name":"Ruth Ozeki","author":"A Tale for the Time Being","photo":"https://d.gr-assets.com/books/1451442345l/15811545.jpg"},"rating":"5","category":["books","read","5stars"],"url":["https://kylewm.com/2015/08/read-ruth-ozeki-a-tale-for-the-time-being-i-loved","https://kylewm.com/n/4cn2"],"published":"2015-08-20T09:37:05-07:00","description":{"html":" <p>I loved this book even before it got into the connection between Buddhism (illusion of duality) and quantum physics (many worlds, illusion of wave function collapse). Also, really digging these books that sprinkle in metafictional elements without being meta-for-meta’s sake. I mean, I’m glad <em>if on a winter’s night a traveler</em> exists but it’s kind of like a 7 minute guitar solo.</p> ","text":"I loved this book even before it got into the connection between Buddhism (illusion of duality) and quantum physics (many worlds, illusion of wave function collapse). Also, really digging these books that sprinkle in metafictional elements without being meta-for-meta’s sake. I mean, I’m glad if on a winter’s night a traveler exists but it’s kind of like a 7 minute guitar solo."},"name":"← home Review: Ruth Ozeki by A Tale for the Time Being I loved this book even before it got into the connection between Buddhism (illusion of duality) and quantum physics (many worlds, illusion of wave function collapse). Also, really digging these books that sprinkle in metafictional elements without being meta-for-meta’s sake. I mean, I’m glad if on a winter’s night a traveler exists but it’s kind of like a 7 minute guitar solo. # books read 5stars August 20, 2015 9:37am PDT Kyle Mahan Translation of this review: I think I’m smart and I want you to think I’m smart too. on kylewm.com also on twitter.com adriennefriend @kylewmahan it's a really lovely book on twitter.com also on twitter.com"}
  7. recipe

    {"type":"recipe","author":{"type":"card","name":"gRegor Morrill","url":"https://gregorlove.com/","photo":"https://gregorlove.com/site/assets/files/3473/profile-2016-med.jpg"},"comment":{"type":"cite","author":{"type":"card","photo":"https://gregorlove.com/site/assets/files/3540/1dfe16005864a9fc9564a3884378cdc89abd66b173ed10bce2ac60ed782dab01.jpg","name":"gRegor Morrill","url":"https://gregorlove.com/"},"content":"The original recipe says to cook 8 to 10 hours, but I've always found it ready earlier, so I listed a shorter cooking time. I will often drain the hominy, too, so it’s less soupy. Sometimes I will serve it over rice.","url":"https://gregorlove.com/2017/04/the-original-recipe-says-to/","published":"2017-04-14T09:51:00-07:00"},"name":"Crock Pot White Chicken Chili","ingredient":["1.25 pounds boneless skinless chicken","2 × 15 oz cans great northern beans (or navy beans)","15 oz can of hominy (or white corn)","1.25 oz envelope of taco seasoning","4.5 oz can of chopped green chilies","10.75 oz can of condensed cream of chicken soup","14 oz can of chicken broth","0.5 cup of sour cream","chopped green onion (optional)","monterey jack cheese (optional)"],"instructions":"Place chicken in a 4 quart slow cooker. Top with beans and corn. In a medium bowl, combine taco seasoning, chilies, condensed soup, and chicken broth. Pour over top of ingredients in the crock pot. Cover and cook on low for 6 to 8 hours. Before serving, stir gently to break up chicken, then stir in the sour cream. Serve topped with green onions and jack cheese, if desired.","url":["http://www.food.com/recipe/crock-pot-white-chicken-chili-114789","https://gregorlove.com/2017/04/crock-pot-white-chicken-chili/"],"published":"2017-04-14 09:47-0700","content":{"html":" <p><strong>Ingredients</strong></p> <ul><li class=\"p-ingredient\">1.25 pounds boneless skinless chicken</li> <li class=\"p-ingredient\">2 × 15 oz cans great northern beans (or navy beans)</li> <li class=\"p-ingredient\">15 oz can of hominy (or white corn)</li> <li class=\"p-ingredient\">1.25 oz envelope of taco seasoning</li> <li class=\"p-ingredient\">4.5 oz can of chopped green chilies</li> <li class=\"p-ingredient\">10.75 oz can of condensed cream of chicken soup</li> <li class=\"p-ingredient\">14 oz can of chicken broth</li> <li class=\"p-ingredient\">0.5 cup of sour cream</li> <li class=\"p-ingredient\">chopped green onion (optional)</li> <li class=\"p-ingredient\">monterey jack cheese (optional)</li> </ul><p><strong>Instructions</strong></p> <p class=\"p-instructions\">Place chicken in a 4 quart slow cooker. Top with beans and corn. In a medium bowl, combine taco seasoning, chilies, condensed soup, and chicken broth. Pour over top of ingredients in the crock pot. Cover and cook on low for 6 to 8 hours. Before serving, stir gently to break up chicken, then stir in the sour cream. Serve topped with green onions and jack cheese, if desired.</p> <p>via <a class=\"u-url u-uid\" href=\"http://www.food.com/recipe/crock-pot-white-chicken-chili-114789\">food.com</a></p> ","text":"Ingredients 1.25 pounds boneless skinless chicken 2 × 15 oz cans great northern beans (or navy beans) 15 oz can of hominy (or white corn) 1.25 oz envelope of taco seasoning 4.5 oz can of chopped green chilies 10.75 oz can of condensed cream of chicken soup 14 oz can of chicken broth 0.5 cup of sour cream chopped green onion (optional) monterey jack cheese (optional) Instructions Place chicken in a 4 quart slow cooker. Top with beans and corn. In a medium bowl, combine taco seasoning, chilies, condensed soup, and chicken broth. Pour over top of ingredients in the crock pot. Cover and cook on low for 6 to 8 hours. Before serving, stir gently to break up chicken, then stir in the sour cream. Serve topped with green onions and jack cheese, if desired. via food.com"}}
  8. rsvp

    {"type":"entry","rsvp":"yes","in-reply-to":"https://event.example.com","content":"I'm going to an event"}
  9. reactj

    {"type":"entry","published":"2018-03-29T20:22:38.722Z","content":"👍","in-reply-to":"https://example.com"}
  10. multiple-url-video

    {"type":"entry","video":[{"content-type":"video/mp4","url":"sample_h264.mov"},{"content-type":"video/ogg","url":"sample_ogg.ogg"},{"content-type":"video/webm","url":"sample_webm.webm"}]}
  11. audio

    {"type":"entry","author":{"type":"card","photo":"https://martymcgui.re/images/logo.jpg","name":"Marty McGuire","url":"https://martymcgui.re/"},"name":"This Week in the IndieWeb February 10 - 17, 2017","category":["podcast","IndieWeb","this-week-indieweb-podcast"],"url":"https://martymcgui.re/2017/02/18/151503/","audio":"https://media.martymcgui.re/f6/9b/41/5b/1492d181b1d631e56f5f1ced270cac7dfec973a7c90ad47c6a8ddbf3.mp3","published":"2017-02-18T15:15:03-05:00","content":{"html":" <div class=\"audios\"> <audio controls=\"\" style=\"width: 100%\"><source class=\"u-audio\" src=\"https://media.martymcgui.re/f6/9b/41/5b/1492d181b1d631e56f5f1ced270cac7dfec973a7c90ad47c6a8ddbf3.mp3\" type=\"audio/mpeg\"></source></audio><script src=\"https://martymcgui.re/js/media_fragment.js\"></script></div> <p>Audio edition for <a href=\"https://indieweb.org/this-week/2017-02-17.html\">This Week in the IndieWeb for February 10th - 17th, 2017</a></p> <p>Thinking about doing this as a regular thing, if I can get the production time down. Feedback welcome!</p> <p>Music from <a href=\"https://aaronparecki.com/\">Aaron Parecki</a>’s <a href=\"https://aaronparecki.com/tag/100daysofmusic\">100DaysOfMusic project</a>:</p> <ul><li><a href=\"https://aaronparecki.com/2017/02/06/7/day48\">Day 48 - Glitch</a></li> <li><a href=\"https://aaronparecki.com/2017/02/07/4/day49\">Day 49 - Floating</a></li> <li><a href=\"https://aaronparecki.com/2016/12/29/21/day-9\">Day 9</a></li> <li><a href=\"https://aaronparecki.com/2016/12/31/15/\">Day 11</a></li> </ul>","text":"Audio edition for This Week in the IndieWeb for February 10th - 17th, 2017 Thinking about doing this as a regular thing, if I can get the production time down. Feedback welcome! Music from Aaron Parecki’s 100DaysOfMusic project: Day 48 - Glitch Day 49 - Floating Day 9 Day 11"}}
  12. bookmark

    {"type":"entry","bookmark-of":"https://www.digitalocean.com/community/tutorials/how-to-upgrade-ubuntu-12-04-lts-to-ubuntu-14-04-lts"}
  13. basic-reply

    {"type":"entry","in-reply-to":"https://example.com","content":"This is the reply content"}
  14. repost

    {"type":"entry","repost-of":"https://example.com/repost"}
  15. plain-text

    {"type":"entry","content":"This is just some simple text"}
  16. video

    {"type":"entry","name":"...and down! #pdx #travel","category":["pdx","travel","travel","pdx"],"video":"https://aaronparecki.com/2015/07/21/16/video.mp4","photo":"https://aaronparecki.com/2015/07/21/16/photo.jpeg","poster":"https://aaronparecki.com/2015/07/21/16/photo.jpeg","url":"https://aaronparecki.com/2015/07/21/16/travel-pdx","author":"https://aaronparecki.com/","published":"2015-07-21T20:45:59-07:00","content":{"html":"...and down! <a href=\"https://aaronparecki.com/tag/pdx\">#<span class=\"p-category\">pdx</span></a> <a href=\"https://aaronparecki.com/tag/travel\">#<span class=\"p-category\">travel</span></a>","text":"...and down! #pdx #travel"}}
  17. bookmark-cite

    {"type":"entry","bookmark-of":{"type":"cite","name":"How to Upgrade Ubuntu 12.04 LTS to Ubuntu 14.04 LTS","url":"https://www.digitalocean.com/community/tutorials/how-to-upgrade-ubuntu-12-04-lts-to-ubuntu-14-04-lts"}}
  18. basic-photo

    {"type":"entry","photo":"https://grant.codes/media/2018/03/22/8nrok.jpg","content":{"text":"First night in the bayous of Louisiana is pretty special","html":"<p>First night in the bayous of Louisiana is pretty special</p>"}}
  19. event

    {"type":"event","name":"IndieWeb Summit","url":"https://indieweb.org/2017","start":"2017-06-24 09:30","end":"2017-06-25 18:00","location":{"type":"h-card","name":"Mozilla","org":"Mozilla","street-address":"1120 NW Couch St #320","locality":"Portland","region":"Oregon","postal-code":"97209","country-name":"United States","url":"https://wiki.mozilla.org/MozPDX"}}