Content syndication is the process of pushing content (blog post, article, video, image or any other piece of web-based content) from one system to another. At Digital First Media, we use WordPress as an entry point for content that gets published across multiple websites (some WordPress, some not), and also content that gets sent to print systems as well as other systems such as ElasticSearch. Passing data from one system to another is a challenging problem. We’ve used the WP REST API to move millions of articles, images and other data across various systems and while using the WP REST API so heavily we’ve learned a lot about what works well and what challenges there are with using REST.
This will be a technical workshop where we will look at examples of how the WP REST API has been used to syndicate content and discuss what has worked well and what has been difficult. Then we will discuss WPGraphQL – what it is and what problems it helps solve with syndicating content.
We’ll get hands on exploring:
- Tools for working with GraphQL
- Extending the WPGraphQL Schema to support custom data
- Writing GraphQL Queries and Mutations
Pre-requisites for the hands-on portion of the Workshop are:
- A local WordPress install with the latest WPGraphQL plugin installed and activated (https://github.com/wp-graphql/wp-graphql)
- GraphiQL IDE (any of the below options should be fine)
- Mac Desktop App: https://github.com/skevy/graphiql-app
- Chrome Browser Extension: https://goo.gl/H31wMO
- WP-GraphiQL WordPress Plugin: https://github.com/wp-graphql/wp-graphiql
- Code Editor (Examples will be in Atom and/or PHPStorm)