From cb0b2d229855d80f041b0c44984418ae3097b5b4 Mon Sep 17 00:00:00 2001 From: “Ryder <“r@okfoc.us”> Date: Mon, 28 Mar 2016 13:20:28 -0400 Subject: adding iframe and video --- db.json | 15 +++++++++++++++ index.js | 2 ++ 2 files changed, 17 insertions(+) diff --git a/db.json b/db.json index b23375b..c615f2c 100644 --- a/db.json +++ b/db.json @@ -17,6 +17,21 @@ "__index": "0", "dateCreated": "Sat, 26 Mar 2016 20:34:21 GMT", "client": "Annapurna Pictures" + }, + { + "id": "test-2", + "year": 2016, + "title": "Test 2", + "client": "Moopy", + "link": "http://moonpies.org", + "NatureOfWork": "poo, surf, eat popcorn", + "brief": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Sed posuere consectetur est at lobortis. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.", + "image": { + "uri": "https://ltho.s3.amazonaws.com/e12aee73-07a1-41f4-a54f-8b8c09f167f9.png", + "caption": "" + }, + "__index": 1, + "dateCreated": "Mon, 28 Mar 2016 17:19:36 GMT" } ] } \ No newline at end of file diff --git a/index.js b/index.js index 28b70b8..eb51e75 100644 --- a/index.js +++ b/index.js @@ -26,6 +26,8 @@ var app = okcms.createApp({ NatureOfWork: {type: 'tag-list'}, brief: {type: 'text'}, image: {type: 'image'}, + iframe: {type: 'string'}, + video: {type: 'string'}, press: {type: 'link-list'}, }, }, -- cgit v1.2.3-70-g09d2