2026 - 2025 - 2024 - 2023 - 2022 - 2021 - 2020 - 2019 - 2018 - 2017 - 2016 - 2015 - 2014 - 2013 - 2012 - 2011 - 2010 - 2009 - 2008 - 2006

Sunday 03 August 2008

iPhone first post

This is the first post from my iPhone using the iphone app - but then edited on my desktop - I am not that fast at typing on an iPhone yet!

I found that the problem I was having with connecting the iPhone was not with the iPhone Wordpress app (v1.0) but with my WordPress (v2.6) install. The call to the xmlrpc rsd function was timing out. It was taking > 1 minute and so the iPhone would just die waiting. When I called it from a regular browser it would eventually load and display the list of APIs supported by the WordPress XMLRPC client.

I am not paid to do this kind of thing and just wanted it working so I was not about to launch into learning about the whole WP blog software and WP iPhone app. I had already spent an hour with the iPhone app in the XCode debugger to get this far. I simply commented out all the APIs that I wasn't interested in getting to function and hey presto it works. I also created an uploads folder with the correct permissions so I can send photos.

Here is a step by step of what I did:

While you are looking at the files in the WP install you could create an 'uploads' directory in your wp-content directory and set the permissions so the webserver can write to it. This will allow you to upload photos as well.

Obviously if you use any of those XML-RPC APIs to update your blog it will break those APIs. It shouldn't break the data feeds of those name though. See my atom feed still works:

http://www.hyam.net/blog/wp-atom.php

Warning: this is just friendly chat. I take no responsibility for any actions you take. Your blogs are in your hands.

photo

Drop me an email with your thoughts. (I may include them here.)
<- iZendo - a virtual meditation group? Thank you ->