Skip to content

Instantly share code, notes, and snippets.

@punamdahiya
Created February 14, 2019 06:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save punamdahiya/44f78e2f338cbf95f5c28d31faed4639 to your computer and use it in GitHub Desktop.
Save punamdahiya/44f78e2f338cbf95f5c28d31faed4639 to your computer and use it in GitHub Desktop.
{
"spocs": {
"url": "https://gist.githubusercontent.com/punamdahiya/82869c8196cdd62c8b47e44b16c9b903/raw/8760995d19ced7bdcdff24e9eb9bfad1dd0cc663/test-recs.json"
},
"layout": [
{
"width": 12,
"components": [
{
"type": "TopSites",
"header": {
"title": "Top Sites"
},
"properties": {}
},
{
"type": "List",
"properties": {
"items": 3
},
"header": {
"title": "Recommended by Pocket"
},
"feed": {
"embed_reference": null,
"url": "https://gist.githubusercontent.com/punamdahiya/82869c8196cdd62c8b47e44b16c9b903/raw/8760995d19ced7bdcdff24e9eb9bfad1dd0cc663/test-recs.json"
},
"spocs": {
"probability": 1,
"positions": [
{
"index": 2
}
]
}
},
{
"type": "Message",
"header": {
"title": "Recommended by Pocket",
"subtitle": "Pocket is a Firefox partner",
"link_text": "Learn more.",
"link_url": "javascript://getpocket.com/firefox/new_tab_learn_more",
"icon": "https://img-getpocket.cdn.mozilla.net/direct?url=https%3A%2F%2Fs3.amazonaws.com%2Fpocket-general-images%2Frecs%2Fpocket-2x.png"
},
"properties": {}
},
{
"type": "Navigation",
"properties": {
"alignment": "left-align",
"links": [
{
"name": "Must Reads",
"url": "javascript://getpocket.com/explore/must-reads?src=fx_new_tab"
},
{
"name": "Productivity",
"url": "https://getpocket.com/explore/productivity?src=fx_new_tab"
},
{
"name": "Health",
"url": "ftp://getpocket.com/explore/health?src=fx_new_tab"
},
{
"name": "Finance",
"url": "https://getpocket.com/explore/finance?src=fx_new_tab"
},
{
"name": "Technology",
"url": "https://getpocket.com/explore/technology?src=fx_new_tab"
},
{
"name": "More Recommendations ›",
"url": "https://getpocket.com/explore/trending?src=fx_new_tab"
}
]
}
}
]
},
{
"width": 8,
"components": [
{
"type": "CardGrid",
"properties": {
"items": 4
},
"header": {
"title": "Recommended by Pocket"
},
"feed": {
"embed_reference": null,
"url": "https://gist.githubusercontent.com/punamdahiya/82869c8196cdd62c8b47e44b16c9b903/raw/8760995d19ced7bdcdff24e9eb9bfad1dd0cc663/test-recs.json"
},
"spocs": {
"probability": 1,
"positions": [
{
"index": 2
}
]
}
}
]
},
{
"width": 4,
"components": [
{
"type": "CardGrid",
"properties": {
"items": 4
},
"header": {
"title": "Recommended by Pocket"
},
"feed": {
"embed_reference": null,
"url": "https://gist.githubusercontent.com/punamdahiya/82869c8196cdd62c8b47e44b16c9b903/raw/8760995d19ced7bdcdff24e9eb9bfad1dd0cc663/test-recs.json"
},
"spocs": {
"probability": 1,
"positions": [
{
"index": 2
}
]
}
}
]
}
],
"feeds": {},
"error": 0,
"status": 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment