-
Notifications
You must be signed in to change notification settings - Fork 4
Putting a Spectate project on Arc
A Spectate project is a folder of files that contain code. A graphics reporter or newsroom developer will run a command that consolidates all those files into just one location, a file called index.html. The contents of that file need to be copy-pasted into an HTML block in the Content tab of the Arc article.
To find this file, ask the graphics reporter/newsroom developer what the slug of the Spectate project you're working with is. Suppose the slug is SLUG. Then you need to go to the link https://github.com/graphicsdesk/SLUG/blob/gh-pages/index.html. (If this link does not exist, send the reporter here.) Copy all the contents of this file (triple click the text, then Cmd+C).
To add an HTML block, click the plus button:
Drag in an HTML block. Click "edit". Remove all the existing text. Paste the contents of index.html into that block. Click "Update" at the bottom of the HTML block.
Make sure no other text in the story is in Arc. The story should only be HTML.
The story is ready to be published!
If you update the story copy, tell the reporter/developer to re-download the Doc (spectate download) and re-push the build (spectate gh-publish).
Typically, it's News/Eye/A&E/Sports' responsibility to create the article on Arc (headline, bylines, etc.) and Graphics/News Dev's responsibility to paste in the Spectate code.
