2 ms·
I've been wanting to migrate my (self-hosted) WordPress sites to something that generates static pages (based off of my own templates). I likely won't ever do i
by jlgaddis 11y ago
I've been wanting to migrate my (self-hosted) WordPress sites to something that generates static pages (based off of my own templates). I likely won't ever do it, though, simply due to the time required to convert the hundreds of posts/articles I've previously written.
IIRC, Medium has an API which should make moving to a different platform easier, should one choose to do that in the future. One would certainly feel less "locked in" and be more willing to try such a platform if the cost of moving was so low.
- fowkswe 11y agoI've made some Rails ActiveRecord models that to talk to the Wordpress database. Using them and the page caching gem / feature, you can get the static page effect you are looking for. Additionally, you can have all the Rails goodies (Haml, Sass, Coffeescript, layouts/partials, etc) for use in your Wordpress development needs along with the Wordpress authoring tools. I have it working in my project, and took a half assed attempt to turn it into a gem. This is waaay premature, and missing lots of the stuff I have flushed out in my project (post_content formatting, short code completion, categories, tags, etc): https://github.com/fowkswe/pressar https://github.com/fowkswe/pressar If anyone is interested, I'd be willing to fold the other functionality in and get the 'gem install' working.