Skip to content

Instantly share code, notes, and snippets.

@peyerluk
Last active March 20, 2020 14:11
Show Gist options
  • Save peyerluk/b4763008083ccc8dcebe5f285ccfbf9c to your computer and use it in GitHub Desktop.
Save peyerluk/b4763008083ccc8dcebe5f285ccfbf9c to your computer and use it in GitHub Desktop.
module.exports = {
type: 'labelValuePair',
items: [
'Aktuell',
'Bauen',
'Bildung',
'Gesund',
'Kalender',
'Leben',
'Mobil',
'Pflege',
'Pub_Rel',
'Reise',
'Schluss',
'Serie',
'Sonderthema',
'Steuern',
'Titel',
'VorTitel',
'Weihnachten'
].map(value => ({label: value, value}))
}
module.exports = {
type: 'labelValuePair',
items: [
'Anzeigen',
'Auto',
'Berlin',
'Berlin bewegt sich',
'Bildung',
'Brandenburg',
'Briefe',
'Börse',
'Familie',
'Feuilleton',
'Feuilleton/Medien',
'Gesund',
'Hauptstadt',
'Immo',
'Karriere',
'Kinoprogamm',
'Kulturkalender',
'Lokales',
'Made in Berlin',
'Magazin',
'Medien',
'Meinung',
'Netzwerk',
'Panorama',
'Politik',
'Reise',
'Report',
'Rätsel',
'Schönes Wochenende',
'Seite 3',
'Service',
'Sonderthema',
'SoV',
'Spielplan',
'Sport',
'Spreewald',
'Stadtgeschichte',
'Style',
'Tagestip',
'Thema',
'Titel',
'TV-Programm',
'Wirtschaft',
'Wissenschaft'
].map(value => ({label: value, value}))
}
module.exports = {
type: 'labelValuePair',
items: [
'Aktuell',
'Anzeigen',
'Auto',
'Beilagen',
'Berlin',
'Berlin Doppel',
'Beruf',
'Brandenburg',
'Forum',
'Geld',
'Hinter',
'Immo',
'Journal',
'Kino',
'Kultur',
'Leben',
'Letzte',
'Leute',
'Lifestyle',
'Mail',
'Medizin',
'Meinung',
'Panorama',
'Politik',
'Ratgeber',
'Rätsel',
'Recht',
'Reise',
'Report',
'Serie',
'Sonntagskurier',
'SoV',
'Sport',
'Titel',
'Titel am Sonntag',
'TV',
'Wetter'
].map(value => ({label: value, value}))
}
{
"systemdata": {
"projectId": 16,
"channelId": 16,
"documentId": 44,
"contentType": "print",
"documentType": "article",
"design": {
"name": "berliner-zeitung",
"version": "0.0.100"
}
},
"metadata": {
"title": "Title",
"publications": [{
"name": "Berliner Zeitung",
"value": "Berliner Zeitung",
"category": "Berlin"
}],
"publish-date": "2020-03-17T10:35:00.000Z",
"expire-date": "2020-04-30T09:35:00.000Z"
},
"livingdoc": {
"content": [
{
"id": "doc-1e3k0qt0h0",
"component": "head",
"content": {
"catchline": "Catchline",
"title": "Title",
"lead": "Lead",
"author": "Lukas Peyer"
},
"position": "fixed"
},
{
"id": "doc-1e3k0qt0i0",
"component": "lead-p",
"content": {
"opener": "Lead Paragraph",
"text": "Text"
}
},
{
"id": "doc-1e3k0qt0i1",
"component": "p",
"content": {
"text": "Text"
}
},
{
"id": "doc-1e3k0ts9b0",
"component": "image",
"content": {
"image": {
"originalUrl": "http://livingdocs-images-dev.s3.amazonaws.com/2020/1/28/6c0b3ce3-0289-44da-9610-91f1d9773419.jpeg",
"url": "https://livingdocs-dev.imgix.net/2020/1/28/6c0b3ce3-0289-44da-9610-91f1d9773419.jpeg?rect=0%2C20%2C1200%2C675&auto=format",
"width": 1200,
"height": 714,
"mimeType": "image/jpeg",
"imageService": "imgix",
"crop": {
"x": 0,
"y": 20,
"width": 1200,
"height": 675,
"name": "16:9"
}
},
"caption": "Image Caption",
"labelSource": "Source",
"source": "Agency"
}
},
{
"id": "doc-1e3k0sng70",
"component": "quote",
"content": {
"text": "Quote",
"source": "Quote Author"
}
},
{
"id": "doc-1e3k0sveu0",
"component": "subtitle",
"content": {
"title": "Subtitle"
}
},
{
"id": "doc-1e3k0s91s0",
"component": "list",
"content": {
"title": "List Title"
},
"containers": {
"list": [
{
"id": "doc-1e3k0sacb0",
"component": "list-item",
"content": {
"text": "Item 1"
}
},
{
"id": "doc-1e3k0sgrn0",
"component": "list-item",
"content": {
"text": "Item 2"
}
}
]
}
}
],
"design": {
"name": "berliner-zeitung",
"version": "0.0.100"
},
"layout": "print"
}
}
// Kurier
// 'Berliner Kurier'
module.exports = {
type: 'labelValuePair',
items: [
'Berliner Zeitung',
'Berliner Abendblatt'
].map(value => ({label: value, value}))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment