- Cool, I wanna get my hands on a @NinjaBlocks and start playing with it. But I want a flow sensor so I can make a kegbot. 12:37:04, 2012-03-19
- Every time I look at my new iPad & go back to my laptop, I think to myself, "I want a retina display on my laptop." #fb #in 15:01:00, 2012-03-22
- Favorite command line use of the day:
$ git add –interactive 16:39:36, 2012-03-22 - Look at this massive paper waste from @RestoHardware. 5 lbs of waste that I never asked for. #notgreen #fb http://t.co/QsFmjR39 17:45:36, 2012-03-22
- Awesome – They’re Putting Baldurs Gate "Enhanced" on the iPad this summer. http://t.co/kMzhtg8r #fb 10:37:41, 2012-03-23
- This is actually a really good read – Five Leadership Lessons From James T. Kirk – Forbes http://t.co/7ECCkZqE #fb #in 16:17:05, 2012-03-23
- Wow, @Spokeo is shady. They re-add your info, then don't allow you to use your email address again to delete, to "prevent abuse." 21:30:06, 2012-03-12
- By the way, @Spokeo IS NOT @SpokeSoftware. 21:32:00, 2012-03-12
- A quick blog post about nginx Rewrite rule for AtomPub on WordPress with Clean URLs http://t.co/CjfYnP3X 20:06:04, 2012-03-13
- The refs really screwed over Asheville in that game. #fb 13:48:49, 2012-03-15
- Why is it, despite the expense, that I never have buyers remorse after purchasing an Apple product? #fb #in 19:31:29, 2012-03-16
- If you haven't tried @GetMingly for contact management, you should. It's really good but now I want an iPhone/iPad app. #fb #in 18:19:13, 2012-03-18
For my other blogs, Axis & Allies.org and Beer 47, I’ve shortened my workflow by pushing the photos directly from Adobe Lightroom to WordPress using the plugin LR/Blog. However, since I’m using nginx as my webserver, the AtomPub url was not working out of the box but I figured it out and I have the solution in this post.
For it’s WordPress integration, LR/Blog can use either XML-RPC or AtomPub to publish photos. Each have their benefits and drawbacks: XML-RPC doesn’t transfer the metadata for the photo, such as the title and caption, and AtomPub does not allow the photos to be updated. Since I only publish my photos one, I would much rather use AtomPub to include the titles and captions.
The default URL for the WordPress AtomPub integration is /wp-app.php/service but since I did not have a rewrite rule in nginx, I simply received a 404 error, file not found. After some experimentation I added this rewrite rule.
if ($request_uri ~* "^/wp-app.php.*$" ) {
rewrite ^/wp-app.php/(.+)$ /wp-app.php?q=$1 last;
break;
}
If you are using clean urls, you will likely have a rewrite block something like this:
if (!-e $request_filename) {
rewrite ^(.+)$ /index.php?q=$1 last;
break;
}
Be sure to put your new rewrite rule before your clean url rewrite rule.
- Check out my new Geeklist name! http://t.co/UrBRa42Q. You should get yours here: http://t.co/mppebibY #gklstbeta 10:38:57, 2012-03-06
- I think I might replace my Sprint mobile broadband card with an iPad3, especially since it supports LTE. #in #fb 14:16:08, 2012-03-07
- Why did @UnitedAirlines switch from a pretty good user experience on their website to an inferior one? #fail #failagain #fb 09:52:26, 2012-03-08
- I will have to admit the new @UnitedAirlines website is faster that it used to be. 14:04:02, 2012-03-09
- Messing around with Cloud Foundry and Node.js. #tech #fb #in 14:21:08, 2012-03-03