Resources

My Agape try

Your Agape try


Support Forum

Current User: Guest Login Register
Please consider registering

Search 
Search Forums:


 




RS is incompatible with the WordPress iPhone App

UserPost

1:24 pm
October 30, 2009


dobbsster

Member

posts 5

1

Hi - Thanks for the great plugin - it's provides exactly the functionality I need to keep my site locked down. However, it appears that it is producing some malformed xml that doesn't play nice with the iphone.wordpress.org app.  I'm really looking forward to being able to use the iPhone app. Any chance you could take a look at what's going on?  Thanks again for your great work!


2:03 pm
October 30, 2009


Kevin

Admin

posts 1385

2

You're the second user to report this, but since I don't have an iPhone, troubleshooting has not been very productive. I understand the need to output valid XML, but am having no trouble with other xmlrpc apps (ScribeFire and Windows Live Writer) which I do have testing access to.

Any additional details you can provide might be helpful to me. It may be that the IPhone app is using different xmlrpc methods (i.e. different function calls to xmlrpc.php). If you or someone else wants to expedite this for me, you could dig into the Iphone app code and let me know what those methods are.

4:26 pm
October 30, 2009


dobbsster

Member

posts 5

3

Thanks for the speedy reply! I poked around at the source for a little while, but I'm afraid it's mostly greek to me… They've got a nice trac install for the Wordpress for iPhone app located at http://iphone.trac.wordpress.org/browser though. Maybe that helps?  Additionally, the developers of the app seem to be fairly involved on their forum at http://iphone.forums.wordpress.org/forum/how-to-and-troubleshooting — maybe there's some helpful info there too? I'll keep digging and see if I can figure out what you're looking for in the mean time.  Thanks again.


2:06 pm
October 31, 2009


dobbsster

Member

posts 5

4

I still don't have any further information about the xmlrpc calls, but I wanted to let you know that it appears I am able to create new posts with the WordPress for iPhone app… I just can't edit existing posts.  I have some output from the syslog on my iphone, maybe it will help:

Oct 30 20:43:28 MyiPhoneGS WordPress[118]: theDict: {\n    "blog_host_name" = "admin_mywebsite.com";\n    blogid = 1;\n    categories =     (\n        Uncategorized\n    );\n    "custom_fields" =     (\n    );\n    dateCreated = 2009-10-26 23:54:28 -0700;\n    "date_created_gmt" = 2009-10-26 23:54:28 -0700;\n    description = "ESCAPED HTML CONTENT REMOVED";\n    hasChanges = 1;\n    link = "http://mywebsite.com/2009/10/the-slug/";\n    "mt_allow_comments" = 1;\n    "mt_allow_pings" = 1;\n    "mt_keywords" = "";\n    permaLink = "http://mywebsite.com/2009/10/the-slug/";\n    "post_status" = publish;\n    postid = 296;\n    title = "The Title";\n    userid = 1;\n    "wp_author_display_name" = Admin;\n    "wp_author_id" = 1;\n    "wp_password" = "";\n    "wp_slug" = "the-slug";\n}

6:07 pm
November 6, 2009


dobbsster

Member

posts 5

5

Here's the source code of the app with the xmlrpc calls in it.

http://iphone.trac.wordpress.org/browser/trunk/Classes/BlogDataManager.m

6:58 pm
November 6, 2009


Kevin

Admin

posts 1385

6

dobbsster said:

Here's the source code of the app with the xmlrpc calls in it.

http://iphone.trac.wordpress.org/browser/trunk/Classes/BlogDataManager.m


I actually just downloaded all the source from svn myself today. My theory is that RS will play along fine if you just remove this from role-scoper_init.php:

elseif ( defined('XMLRPC_REQUEST') )
  require_once('xmlrpc_rs.php');

Can you confirm?

7:35 pm
November 6, 2009


dobbsster

Member

posts 5

7

Kevin said:

Can you confirm?


Confirmed! That seems to have fixed it!  Thanks a lot.



Reply to Topic: RS is incompatible with the WordPress iPhone App

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 6 + 1        (Required)

Topic Reply:


 

About the Agapetry forum

Currently Online:

7 Guests

Maximum Online: 88

Forums:

Groups: 2

Forums: 7

Topics: 703

Posts: 3189

Members:

There are 640 members

There are 1 guests


Kevin has made 1385 posts

Top Posters:

metal450 - 98

YikYak - 58

Ragnar - 36

Daisy - 35

victar - 33

Administrator: Kevin | Moderators: Kevin