Integrations
WordPress Integration
WordPress Integration
Sync Logic
How we parse WordPress HTML into Basalt Blocks:
GET /wp-json/wp/v2/posts/[id].cheerio or jsdom to traverse the content.<p> tags -> Rich Text Block.<img> tags -> Media Block.<blockquote> -> Testimonial Block.API Endpoints Consumed
GET /wp-json/wp/v2/postsGET /wp-json/wp/v2/mediaPOST /wp-json/wp/v2/posts (For creating content from CMS -> WP).
