1. About WP OTIS - thinkshout/wp-otis GitHub Wiki
WP-OTIS is an open-source plugin developed by ThinkShout that provides a simple way to integrate a WordPress site with The Oregon Tourism Information System (OTIS), Travel Oregon’s Tourism Asset Database. The plugin takes care of the API integration, downloads an initial dataset from OTIS, and from there will ping OTIS once every hour to re-import any relevant updates. Data is saved as a custom post type "POI", and WordPress taxonomies are created based on various OTIS fields.
Features
Easy, persistent API connection
Enter your credentials once, and WP-OTIS will handle the rest.
Content updated by OTIS in real-time
WP-OTIS treats OTIS as the source of truth, downloading any updates made in OTIS on an hourly basis. All data is made available in Wordpress including images, geolocation info, taxonomies and attributes.
CLI commands
Run tailored imports, tests, or adjust OTIS functionality using WP-CLI.
Import logs
The past 30 days of imports are logged, including data on added/removed POIs, expired events, deleted content, errors and attribute changes.
Bulk imports
Imports of over 250 POIs are broken into chunks of 50 and imported sequentially (in alphabetical order). This prevents PHP timeout errors due to server memory limits during large imports.
Origins and Aims
WP-OTIS was built to support the content strategy and hierarchy needs of TravelOregon.com, and this primary use case informs many of its design and configuration decisions. This documentation aims to get new sites started using the plugin and offer some detail and explanation of how its origins affect its functionality. If you are working for a DMO implementing this plugin and discover a bug or a new feature that would help your integration, you can file an issue here or reach out to your Travel Oregon contact to discuss it.