Jump to content

Processwire and MDX export/import


Recommended Posts

Hey
I've been building a few React based apps for the first time and one of them required a blog.
I started to explore MDX files with YAML for a fast blog launch. I found it refreshingly simple and I loved the databaseless setup, the flat file system, the versioning etc.

As my requirements and content grew, I kept finding myself trying to do things which Processwire already does and does beautifully.
Things like..

  • treeview and nice UI
  • keeping track of changing redirects
  • providing a front end UI for posts

and a 1000 other things we all know and live PW for.

My question is, is there a way to combine the two?

Challenge 1
I'm wondering if I could have a local install of PW acting as the blogging engine and the front-end UI

I could then export a page as an MDX file to my React Apps /blog/posts/ folder and my React App can pickup

Challenge 2

Another element why I love the flat file MDX approach is I am bulk generating a lot of content and I can use AI to quickly create new documentation and blog pages.

If I had 10-100 MDX files, I would like Processwire to be able to import /scan these pages and auto update the tree and auto import various chunks of content into fields.

I *dont think* I can use AI to quickly generate multiple pages of content in PW at scale but I have never really explored the UI.

 

So as you guessed, I am not 100% sure of my requirements but keen to hear how others handled similar integrations.
Thanks
P



 


 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...