Skip to content

Instantly share code, notes, and snippets.

@AaronHolbrook
Created February 8, 2017 14:29
Show Gist options
  • Save AaronHolbrook/934b2fd8109e20eaa78fbe5daff130c5 to your computer and use it in GitHub Desktop.
Save AaronHolbrook/934b2fd8109e20eaa78fbe5daff130c5 to your computer and use it in GitHub Desktop.
Apple news issue json_encode
{"version":"1.1","identifier":"post-14","language":"en","title":"Ticket #221, encoding issues in apple news","documentStyle":{"backgroundColor":"#FAFAFA"},"layout":{"columns":7,"width":1024,"margin":100,"gutter":20},"components":[{"role":"header","layout":"headerPhotoLayout","components":[{"role":"photo","layout":"headerPhotoLayout","URL":"bundle:\/\/norman-1.png"}],"behavior":{"type":"parallax","factor":0.8}},{"role":"container","layout":{"columnSpan":7,"columnStart":0,"ignoreDocumentMargin":true},"style":{"backgroundColor":"#FAFAFA"},"components":[{"role":"title","text":"Ticket #221, encoding issues in apple news","textStyle":"default-title","layout":"title-layout"},{"role":"byline","text":"by Dev | Feb 8, 2017 | 1:53 PM","textStyle":"default-byline","layout":"byline-layout"},{"role":"body","text":"Anti-Donald Trump protesters temporarily shut down a highway in New Haven, Conn. on Saturday, forcing ambulance workers who were delayed by the demonstration to perform an emergency medical procedure in the vehicle.","format":"markdown","textStyle":"dropcapBodyStyle","layout":"body-layout"},{"role":"body","text":"Over 100 people protesting President Trump's travel ban blocked Route 34 in New Haven, delaying an ambulance with a critically ill patient from making it to the hospital, the Associated Press [reported](https:\/\/www.bostonglobe.com\/metro\/connecticut\/2017\/02\/04\/anti-trump-protesters-shut-down-connecticut-highway-delay-ambulance\/BzAw5QbbF1qVedvJE17yEO\/story.html) Sunday. Paramedics had to perform a procedure on the patient in the ambulance as a result.","format":"markdown","textStyle":"default-body","layout":"body-layout"},{"role":"body","text":"The demonstrators were protesting Trump's executive order temporarily barring refugees from entering the United States and halting immigration from seven Muslim-majority countries over terrorism concerns.","format":"markdown","textStyle":"default-body","layout":"body-layout"},{"role":"body","text":"The leader of the protest, Norman Clement, 66, was found by state police after running away from the scene. Clement knocked over several of his fellow protesters in an effort to get away before resisting arrest, forcing police to use pepper spray on him. He is facing several charges, including inciting a riot.","format":"markdown","textStyle":"default-body","layout":"body-layout"},{"role":"body","text":"Mugshot of Norman Clement, arrested following a riot in New Haven \/ Connecticut State Police","format":"markdown","textStyle":"default-body","layout":"body-layout-last"}]}],"componentTextStyles":{"dropcapBodyStyle":{"textAlignment":"left","fontName":"AvenirNext-Regular","fontSize":18,"tracking":0,"lineHeight":24,"textColor":"#4f4f4f","linkStyle":{"textColor":"#428BCA"},"paragraphSpacingBefore":18,"paragraphSpacingAfter":18,"dropCapStyle":{"numberOfLines":4,"numberOfCharacters":1,"padding":5,"fontName":"AvenirNext-Bold","textColor":"#4f4f4f"}},"default-body":{"textAlignment":"left","fontName":"AvenirNext-Regular","fontSize":18,"tracking":0,"lineHeight":24,"textColor":"#4f4f4f","linkStyle":{"textColor":"#428BCA"},"paragraphSpacingBefore":18,"paragraphSpacingAfter":18},"default-title":{"fontName":"AvenirNext-Bold","fontSize":48,"lineHeight":52,"tracking":0,"textColor":"#333333","textAlignment":"left"},"default-byline":{"textAlignment":"left","fontName":"AvenirNext-Medium","fontSize":13,"lineHeight":24,"tracking":0,"textColor":"#7c7c7c"}},"componentLayouts":{"body-layout":{"columnStart":0,"columnSpan":6,"margin":{"top":12,"bottom":12}},"body-layout-last":{"columnStart":0,"columnSpan":6,"margin":{"top":12,"bottom":30}},"full-width-image":{"columnStart":2,"columnSpan":3,"margin":{"bottom":25,"top":25}},"headerPhotoLayout":{"columnStart":0,"columnSpan":7,"ignoreDocumentMargin":true},"headerBelowTextPhotoLayout":{"columnStart":0,"columnSpan":7,"ignoreDocumentMargin":true,"margin":{"top":30,"bottom":0}},"title-layout":{"margin":{"top":30,"bottom":0}},"byline-layout":{"columnStart":0,"columnSpan":7,"margin":{"top":10,"bottom":10}}},"metadata":{"excerpt":"Anti-Donald Trump protesters temporarily shut down a highway in New Haven, Conn. on Saturday, forcing ambulance workers who were delayed by the demonstration to perform an emergency medical procedure in the vehicle. Over 100 people protesting President Trump's travel ban blocked Route 34 in New Haven, delaying an ambulance with a critically ill patient from making it to the hospital,...","thumbnailURL":"bundle:\/\/norman-1.png","dateCreated":"2017-02-08T13:53:04+00:00","dateModified":"2017-02-08T13:53:04+00:00","datePublished":"2017-02-08T13:53:04+00:00","canonicalURL":"http:\/\/freebeacon.dev\/ticket-221-encoding-issues-in-apple-news\/","generatorIdentifier":"publish-to-apple-news","generatorName":"Publish to Apple News","generatorVersion":"1.2.2"},"advertisingSettings":{"frequency":1,"layout":{"margin":{"top":15,"bottom":15}}}}
{"version":"1.1","identifier":"post-14","language":"en","title":"Ticket #221, encoding issues in apple news","documentStyle":{"backgroundColor":"#FAFAFA"},"layout":{"columns":7,"width":1024,"margin":100,"gutter":20},"components":[{"role":"header","layout":"headerPhotoLayout","components":[{"role":"photo","layout":"headerPhotoLayout","URL":"bundle:\/\/norman-1.png"}],"behavior":{"type":"parallax","factor":0.8}},{"role":"container","layout":{"columnSpan":7,"columnStart":0,"ignoreDocumentMargin":true},"style":{"backgroundColor":"#FAFAFA"},"components":[{"role":"title","text":"Ticket #221, encoding issues in apple news","textStyle":"default-title","layout":"title-layout"},{"role":"byline","text":"by Dev | Feb 8, 2017 | 1:53 PM","textStyle":"default-byline","layout":"byline-layout"},{"role":"body","text":"Anti-Donald Trump protesters temporarily\u00a0shut down a highway\u00a0in New Haven, Conn. on Saturday, forcing ambulance workers who were delayed by the demonstration to\u00a0perform an emergency medical procedure in the vehicle.","format":"markdown","textStyle":"dropcapBodyStyle","layout":"body-layout"},{"role":"body","text":"Over 100 people protesting President Trump's travel ban\u00a0blocked Route 34 in New Haven, delaying\u00a0an ambulance with a critically ill patient from making it to the hospital, the Associated Press [reported](https:\/\/www.bostonglobe.com\/metro\/connecticut\/2017\/02\/04\/anti-trump-protesters-shut-down-connecticut-highway-delay-ambulance\/BzAw5QbbF1qVedvJE17yEO\/story.html) Sunday. Paramedics had to perform a procedure on the patient in the ambulance as a result.","format":"markdown","textStyle":"default-body","layout":"body-layout"},{"role":"body","text":"The demonstrators were protesting Trump's executive order temporarily barring refugees from entering the United States and halting immigration from seven Muslim-majority countries over terrorism concerns.","format":"markdown","textStyle":"default-body","layout":"body-layout"},{"role":"body","text":"The leader of the protest, Norman Clement, 66, was found by state police after running away from the scene. Clement knocked over several of his fellow protesters in an effort\u00a0to get away before\u00a0resisting arrest, forcing police to use pepper spray on him. He is facing several\u00a0charges, including inciting a riot.","format":"markdown","textStyle":"default-body","layout":"body-layout"},{"role":"body","text":"Mugshot of Norman Clement, arrested following a riot in New Haven \/ Connecticut State Police","format":"markdown","textStyle":"default-body","layout":"body-layout-last"}]}],"componentTextStyles":{"dropcapBodyStyle":{"textAlignment":"left","fontName":"AvenirNext-Regular","fontSize":18,"tracking":0,"lineHeight":24,"textColor":"#4f4f4f","linkStyle":{"textColor":"#428BCA"},"paragraphSpacingBefore":18,"paragraphSpacingAfter":18,"dropCapStyle":{"numberOfLines":4,"numberOfCharacters":1,"padding":5,"fontName":"AvenirNext-Bold","textColor":"#4f4f4f"}},"default-body":{"textAlignment":"left","fontName":"AvenirNext-Regular","fontSize":18,"tracking":0,"lineHeight":24,"textColor":"#4f4f4f","linkStyle":{"textColor":"#428BCA"},"paragraphSpacingBefore":18,"paragraphSpacingAfter":18},"default-title":{"fontName":"AvenirNext-Bold","fontSize":48,"lineHeight":52,"tracking":0,"textColor":"#333333","textAlignment":"left"},"default-byline":{"textAlignment":"left","fontName":"AvenirNext-Medium","fontSize":13,"lineHeight":24,"tracking":0,"textColor":"#7c7c7c"}},"componentLayouts":{"body-layout":{"columnStart":0,"columnSpan":6,"margin":{"top":12,"bottom":12}},"body-layout-last":{"columnStart":0,"columnSpan":6,"margin":{"top":12,"bottom":30}},"full-width-image":{"columnStart":2,"columnSpan":3,"margin":{"bottom":25,"top":25}},"headerPhotoLayout":{"columnStart":0,"columnSpan":7,"ignoreDocumentMargin":true},"headerBelowTextPhotoLayout":{"columnStart":0,"columnSpan":7,"ignoreDocumentMargin":true,"margin":{"top":30,"bottom":0}},"title-layout":{"margin":{"top":30,"bottom":0}},"byline-layout":{"columnStart":0,"columnSpan":7,"margin":{"top":10,"bottom":10}}},"metadata":{"excerpt":"Anti-Donald Trump protesters temporarily\u00a0shut down a highway\u00a0in New Haven, Conn. on Saturday, forcing ambulance workers who were delayed by the demonstration to\u00a0perform an emergency medical procedure in the vehicle. Over 100 people protesting President Trump's travel ban\u00a0blocked Route 34 in New Haven, delaying\u00a0an ambulance with a critically ill patient from making it to the hospital,...","thumbnailURL":"bundle:\/\/norman-1.png","dateCreated":"2017-02-08T13:53:04+00:00","dateModified":"2017-02-08T13:53:04+00:00","datePublished":"2017-02-08T13:53:04+00:00","canonicalURL":"http:\/\/freebeacon.dev\/ticket-221-encoding-issues-in-apple-news\/","generatorIdentifier":"publish-to-apple-news","generatorName":"Publish to Apple News","generatorVersion":"1.2.2"},"advertisingSettings":{"frequency":1,"layout":{"margin":{"top":15,"bottom":15}}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment