Custom JSON for End of Article
-
I’m trying to input some custom JSON for the ‘End of Article’ and I’m finding that I can’t add more than one component. If I try to add an array of them, Apple rejects the article. Am I doing something wrong? Here’s the JSON:
{ "components": [ { "role": "body", "text": "<hr />Subscribe to <a >News Daily</a> and get top news stories from KQED delivered to your inbox every weekday.", "format": "html", "textStyle": { "backgroundColor": "#012842", "textColor": "#D7D7D7", "textAlignment": "center", "fontFamily": "Georgia", "fontSize": 18, "fontWeight": 700, "lineHeight": 26 }, "layout": { "margin": { "top": 10, "bottom": 10 } } }, { "role": "link_button", "URL": "https://www.kqed.org/newsletters/news-daily", "text": "Subscribe", "style": { "backgroundColor": "#DDD", "mask": { "type": "corners", "radius": 25 } }, "layout": { "padding": 10 } } ] }
- The topic ‘Custom JSON for End of Article’ is closed to new replies.