Hey, Stefan from Divhunt here, great video Brendan, thanks for promoting us! :) If someone is interested in learning more about REST API, more speficially WP, we do have an academy on our website with some lessons of Headless WordPress integration with Divhunt. And just to comment on "broken text" you had when calling titles, this is coming from WP, when you load data from WP API, it comes encoded, and on Divhunt side you need to decode it. You are able to create custom function for that as well instead of using "replace". We have that lesson explained in Variables 101 on our Academy (can't link it here for some reason). Other solution is to use data coming from Yoast similarly to what you did for featured image, Yoast is not encoding data. And for description, when WP is returning you HTML instead of just string, you should use "embed" tag and attach that data to embed and it will render properly without you needing to replace it. This should be also done for content on single pages for example.
Stefan, thanks for clarifying. I knew that was 'operator' error and going to assume my viewers get that. Looks like a well thought out tool that balances ease of use and high functionality. The videos are also actually useful, nice work.
Great video, Brendan! Just a quick clarification- is the REST API you connected for rendering the blog posts server-side or client-side only? Not sure, if Divhunt has server-side rendering.
good question because i think they use SPA - I recall reading they have pre-rendering in place specifically for SEO bots so they are delivered the full page with the apis rendered. I have not dug into it more, but if you search their public forums, there is some more info
yeah airtable, notion, sheets, any 3rd party you can basically hook up to the api and fetch data -- all on the free plan, as those don't count against your CMS items, since they dont even live on the website! WPGETAPI has some great stuff going on with rest APIs and I need to check out that more
100% with you. Owning data and having it portable is important. The cool thing here about Divhunt and other SaaS stuff with REST API is you can use WP as the CMS and render elsewhere. Somewhat decoupled/headless. Data still contained and separated. But yes, I don't see myself leaving WP - Lot's to love here
Yes, I already tested it and I’ve stuck with the rest API setup because it has Basic auth but I can’t see those fields in headers. Definitely I’m very impressed with divhunt. 🎉😊
I havent tried anything needing auth yet. I saw there are areas below the GET url for headers. Check out their website, they have vids there that are unlisted on YT too
Hey,
Stefan from Divhunt here, great video Brendan, thanks for promoting us! :)
If someone is interested in learning more about REST API, more speficially WP, we do have an academy on our website with some lessons of Headless WordPress integration with Divhunt.
And just to comment on "broken text" you had when calling titles, this is coming from WP, when you load data from WP API, it comes encoded, and on Divhunt side you need to decode it. You are able to create custom function for that as well instead of using "replace". We have that lesson explained in Variables 101 on our Academy (can't link it here for some reason).
Other solution is to use data coming from Yoast similarly to what you did for featured image, Yoast is not encoding data.
And for description, when WP is returning you HTML instead of just string, you should use "embed" tag and attach that data to embed and it will render properly without you needing to replace it. This should be also done for content on single pages for example.
Stefan, thanks for clarifying. I knew that was 'operator' error and going to assume my viewers get that. Looks like a well thought out tool that balances ease of use and high functionality. The videos are also actually useful, nice work.
Hey Stefan,
Where is the best place to leave suggestions for improvement?
@@nickarceco Hey, our forum is best for such things or discord. I can't leave links here, but you can easily find it on our website.
Amazing video, Brendan! :)
Hey, thanks! Great tool you guys have
Looks slick Brendan, thanks for testing this out
happy to test stuff out!
Great video, Brendan! Just a quick clarification- is the REST API you connected for rendering the blog posts server-side or client-side only? Not sure, if Divhunt has server-side rendering.
good question because i think they use SPA - I recall reading they have pre-rendering in place specifically for SEO bots so they are delivered the full page with the apis rendered. I have not dug into it more, but if you search their public forums, there is some more info
Looks promising. I will buy a single license for testing it. ❤
you can also try the free version (what i did in this video). But I will likely buy 1 too as it look fun to test out
This is really interesting. Using Airtable or an API as the source is incredible. I wish, Bricks supported it.
yeah airtable, notion, sheets, any 3rd party you can basically hook up to the api and fetch data -- all on the free plan, as those don't count against your CMS items, since they dont even live on the website! WPGETAPI has some great stuff going on with rest APIs and I need to check out that more
My only issue with a Wordpress Alternative is not being able to self-host...
100% with you. Owning data and having it portable is important. The cool thing here about Divhunt and other SaaS stuff with REST API is you can use WP as the CMS and render elsewhere. Somewhat decoupled/headless. Data still contained and separated. But yes, I don't see myself leaving WP - Lot's to love here
Yes, I already tested it and I’ve stuck with the rest API setup because it has Basic auth but I can’t see those fields in headers. Definitely I’m very impressed with divhunt. 🎉😊
I havent tried anything needing auth yet. I saw there are areas below the GET url for headers. Check out their website, they have vids there that are unlisted on YT too