Skip to content

Instantly share code, notes, and snippets.

@whyisjake
Created December 29, 2015 23:06
Show Gist options
  • Save whyisjake/0c61347421aad9385950 to your computer and use it in GitHub Desktop.
Save whyisjake/0c61347421aad9385950 to your computer and use it in GitHub Desktop.
Add Transportation to Apple News

Adding Transpotation Vertical to Apple News

To add the new Transporation vertical to Apple News, follow the steps here:

  1. Go the iCloud admin area here
  2. Click on Sections
  3. Add a new Section
  4. Name is Transportation
  5. RSS feed is http://www.wired.com/category/transportation/feed

Once the category has been added, on dev, you should be able to hit the following endpoint to see if the category has been added. http://wired.local/wp-json/apple-news/v2/channel/sections

There are currently 7 sections, so there will be eight after the change. Once you see the eighth section, SSH into stag, and then prod and run the following WP-CLI command.

wp wired update-apple-news-sections

There should be a list output of the sections, including the new Transporation section.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment