content
1 row where category = "technology" and "published_date" is on date 2021-07-02
This data as json, CSV (advanced)
Suggested facets: published_date (date)
slug ▼ | author | category | content | published_date | summary | title | url |
---|---|---|---|---|---|---|---|
migrating-to-pelican-from-wordpress | ryan | technology | ## A little back story In October of 2017 I [wrote about how I migrated from SquareSpace to Wordpress](https://www.ryancheley.com/2017/10/01/migrating-from-square-space- to-word-press/). After almost 4 years I’ve decided to migrate again, this time to [Pelican](https://blog.getpelican.com). I did a bit of work with Pelican during my [100 Days of Web Code](https://www.ryancheley.com/2019/08/31/my- first-project-after-completing-the-100-days-of-web-in-python/) back in 2019. A good question to ask is, “why migrate to a new platform” The answer, is that while writing my post [Debugging Setting up a Django Project](https://www.ryancheley.com/2021/06/13/debugging-setting-up-a-django- project/) I had to go back and make a change. It was the first time I’d ever had to use the WordPress Admin to write anything ... and it was awful. My writing and posting workflow involves [Ulysses](https://ulysses.app) where I write everything in MarkDown. Having to use the WYSIWIG interface and the ‘blocks’ in WordPress just broke my brain. That meant what should have been a slight tweak ended up taking me like 45 minutes. I decided to give Pelican a shot in a local environment to see how it worked. And it turned out to work very well for my brain and my writing style. ## Setting it up I set up a local instance of Pelican using the [Quick Start](https://docs.getpelican.com/en/latest/quickstart.html "Quick Start") guide in the docs. Pelican has a CLI utility that converts the xml into Markdown files. This allowed me to export my Wordpress blog content to it’s XML output and save it in the Pelican directory I created. I then ran the command: pelican-import --wp-attach -o ./content ./wordpress.xml This created about 140 .md files Next, I ran a few `Pelican` commands to generate the output: pelican content and then the local web server: pelican --listen I reviewed the page and realized there was a bit of clean up that needed to be done. I had categories of Blog posts tha… | 2021-07-02 | ## A little back story In October of 2017 I [wrote about how I migrated from SquareSpace to Wordpress](https://www.ryancheley.com/2017/10/01/migrating-from-square-space- to-word-press/). After almost 4 years I’ve decided to migrate again, this time to [Pelican](https://blog.getpelican.com). I did a bit of work with Pelican during my [100 Days of Web Code](https://www.ryancheley.com/2019/08/31/my- first-project-after-completing-the-100-days-of-web-in-python/) back in 2019 … | Migrating to Pelican from Wordpress | https://www.ryancheley.com/2021/07/02/migrating-to-pelican-from-wordpress/ |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE [content] ( [author] TEXT, [category] TEXT, [content] TEXT, [published_date] TEXT, [slug] TEXT PRIMARY KEY, [summary] TEXT, [title] TEXT, [url] TEXT );