Mobile WordPress Blogging

Today Shawn Blanc [posted an article](http://shawnblanc.net/2011/05/a-ode-to-software/) that dives into the software he uses on a day to day basis, near the end he laments: >I find a lot of link-worthy content away from my laptop. Either when I’m reading on my iPad or surfing the Web on my iPhone. What I need is an app…

Today Shawn Blanc [posted an article](http://shawnblanc.net/2011/05/a-ode-to-software/) that dives into the software he uses on a day to day basis, near the end he laments:

>I find a lot of link-worthy content away from my laptop. Either when I’m reading on my iPad or surfing the Web on my iPhone. What I need is an app that takes the current Mobile Safari URL, title, and any highlighted text and then populates a post editing window with those items. From there, if I could adjust the title and the slug and hit publish, I’d be happy.

Amen to that, it has long been my biggest frustration. Shawn also talks about hacks to the Press This bookmarklet to get that to work and that was also the same solution that I came up with. I mixed in [CF Setter](http://hypertext.net/projects/cfsetter) and [Slugger+](http://hypertext.net/projects/sluggerplus) plugins from Justin Blanton to create a Press This that generates this:

Safari on Mac:

[](https://f3a98a5aca88d28ed629-2f664c0697d743fb9a738111ab4002bd.ssl.cf1.rackcdn.com/ss-mac-press-this.jpg)

Mobile Safari:

[](https://f3a98a5aca88d28ed629-2f664c0697d743fb9a738111ab4002bd.ssl.cf1.rackcdn.com/ss-ipad-press-this.jpg)

As you can see I am pre-populating the linked-to field, the Title and the blockquote text. I am also adding in the slug fields so that I can fill that in. Now in Safari on the Mac this plugin works really well, on mobile Safari I am not quite there. For whatever reason, mobile Safari is still adding the paragraph tags to the blockquote, so those need to be deleted. ((Please contact me if you know how to do this.))

This though is far, far better than any other solution out there that I have found.

#### Installation ####

All you need to do is grab the code from GitHub and replace the file in your WP-Admin folder: the `press-this.php` file (make sure the rename the original so that you have a backup).

That’s it.

[Check it out on GitHub.](https://github.com/benbrooks/PressThisMobile)

Note: This site makes use of affiliate links where and when possible. These links may earn this site money when utilized. 

BECOME A MEMBER

Join Today, for Exclusive Access.


Posted

in

by