Skip to content

Instantly share code, notes, and snippets.

@johnferrie
Last active May 1, 2017 15:10
Show Gist options
  • Save johnferrie/5a45cfb54eae4f2b4c12f55f90292605 to your computer and use it in GitHub Desktop.
Save johnferrie/5a45cfb54eae4f2b4c12f55f90292605 to your computer and use it in GitHub Desktop.
{
id: Number,
date: String, // TODO: Format date.
link: String, // TODO: Transform to correct url.
slug: String,
excerpt: String, // TODO: Change to deck? Strip wrapping p tag?
title: String,
content: Array, //Array is needed for injecting ads on mobile. | TODO: Change to story?
author: String,
featured_image: String,
header_slideshow: [
{
image: String,
caption: String // TODO: Strip wrapping p tag?
},
...
],
header_video: {
feedId: Number,
ads: {
zone: String,
tags: Array
}
},
inline_slideshows: [
{
image: String,
caption: String // TODO: Strip wrapping p tag?
},
...
],
category: {
id: Number, // TODO: is this needed?
name: String,
slug: String
},
tags: [
{
id: Number, // TODO: is this needed?
name: String,
slug: String
}
...
],
read_time: String
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment