Forum

Thread tagged as: Suggestions, Api, Add-on-development

Integrating External Content

I'm looking for a best practices recommendation on integrating content pulled in via an api into the Perch CMS. For example, a third party writes articles for a client website, and these are posted to XML. I pull in and parse the XML via an addon app. All good there. Once I have the data, what's the best way to integrate it into Perch? Save it through an existing content type?

Chris Davis

Chris Davis 0 points

  • 7 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Maybe have the app expose some page functions for templating the data.

I've done that as well, which has worked nicely, though I'm curious about being able to edit this content after it comes in. Do you think this would require fully building out the app for CRUD functions, or could it be integrated into an existing content region?

Drew McLellan

Drew McLellan 2638 points
Perch Support

There's no API for importing content into a content region currently. A basic template based edit form should be quick to knock together though.

Makes sense. Just wanted to make sure I wasn't missing pre-existing functionality. Thanks!