New ChiliProject plugin I created to require setting the Issue on Time Entries
Should start blogging to theadmin.org soon
I just finished up importing everything from theAdmin.org into WordPress and threw the DNS switch. I’m hopeful I’ll be able to start blogging again, have a lot of things I want to write about.
Why I’m dumping jekyll and moving to WordPress for theadmin.org
List of HTML pages in a Jekyll site
I’m porting a few sites from Jekyll over to WordPress and needed to get a list of the urls in order to add redirects (HTTP 301s). Using a bit of UNIX-fu made this simple
Find all html pages
find _site/ -iname "*html" > url-list.txt
Edit the _site part to be the domain to the new WordPress site, like: http://example.com/
emacs url-list.txt
Pipe each url into curl so the WordPress blog is hit with each url. This will cause the Redirections plugin to log the request so I can go through each one. (-I
tells curl to show the HTTP headers only).
cat url-list.txt |xargs curl -I
Finally when I’m done I can rerun the last command and check that all the urls are redirecting correctly:
HTTP/1.1 301 Moved Permanently Date: Fri, 15 Apr 2011 23:24:33 GMT Server: Apache/2.2.14 (Ubuntu) X-Powered-By: PHP/5.3.2-1ubuntu4.7 Location: /category/blog/page/2/ Vary: Accept-Encoding Connection: close Content-Type: text/html
Tea for April
- 100g of gunpowder green
- 200g of silver needle white
- 200g of sandman
Starting UBC this Monday
Upgraded to WordPress 3.1
Just finished upgrading to WordPress 3.1. Process was pretty easy since I’m using my familiar Ruby tools.
- Rake – used to download the latest wordpress
- rsync – used to sync the latest files. Good because it will do a “copy over”
- cap and moonshine – once everything is working locally I can do a `cap deploy` and moonshine makes sure everything is configured on the server
A bit overkill for personal blogs but it makes it easy to stay up-to-date with security releases.
iPhone test post
Trying out the WordPress iPhone app.
Express App by WooThemes
Was thinking about using the Express App by WooThemes on this blog but it’s a paid app only.