R2D2 on God, 42, the Universe and everything else
  
  

android

android related topics, games, innovation, hardware, etc

1 2 3 8

WordPress XML RPC API seems out of date

 

I was trying to work out the call format for posting to WordPress 4.x using the built-in XML API (from an Android app I’m working on ) and kept getting constantly an error. Yes, compiling, running and posting from the Android open source WordPress app was working just fine.

So me being the engineer I am I’ve fired up Wireshark on my server and captured both requests… turns out that the calls made by the native app are using a slighlty DIFFERENT API… go figure. Yet, not quite so obvious when you search for it…

FAILING CALL

<?xml version=”1.0″ encoding=”iso-8859-1″?>
<methodCall>
<methodName>wp.newPost</methodName>
<params>
<param><value>1</value></param>
<param><value>user</value></param>
<param><value>password</value></param>
<param><value></value></param>
<param><value>post</value></param>
<param><value>draft</value></param>
<param><value>Test Post RPC title</value></param>
<param><value></value></param>
<param><value>Test RPC post Excerpt</value></param>
<param><value>This is a test post via XMLRPC SOAP</value></param>
</params>
</methodCall>

WORKING CALL
<?xml version=’1.0′ ?>
<methodCall>
<methodName>metaWeblog.newPost</methodName><params>
<param><value><i4>1</i4></value></param>
<param><value><string>user</string></value></param>
<param><value><string>password</string></value></param>
<param><value><struct><member><name>title</name><value><string>Test POST1 via RPC-XML interface client </string></value></member>
<member><name>wp_password</name><value><string></string></value></member>
<member><name>post_status</name><value><string>draft</string></value></member>
<member><name>description</name><value><string>Test POST1 content via RPC-XML interface client</string></value></member>
<member><name>mt_excerpt</name><value><string>Excerpt Test POST1 via RPC-XML interface client</string></value></member>
<member><name>mt_keywords</name><value><string></string></value></member>
<member><name>post_type</name><value><string>post</string></value></member>
<member><name>wp_post_format</name><value><string>standard</string></value></member>
</struct></value></param>
<param><value><boolean>0</boolean></value></param></params>
</methodCall>

(via Slashdot)

chicksdaddy writes with news of a Proof-of-Concept exploit for the recent Android APK signature vulnerability. From the article: “Pau Oliva Fora, a security researcher for the firm Via Forensics, published a small, proof of concept module on GitHub that exploits the flaw in the way Android verifies the authenticity of signed mobile applications. The flaw was first disclosed last week by Jeff Forristal, the Chief Technology Officer at Bluebox Security, ahead of a presentation at the Black Hat Briefings in August. … The simple program leverages APKTool, an open source tool for reverse engineering Android applications — decompiling… Continue reading

(curated by R2D from Business Insider)

samsung galaxy s 4 with iphone 5

While many have framed the redesign to Apple’s new operating system for iPhones and iPads, iOS 7, as a response to rhetoric that Apple’s software has begun to look “stale,” “boring,” and “outdated,” Instapaper founder and early Tumblr employee Marco Arment thinks that Apple had a different strategy in mind.

Rather than simply reinvigorating consumer excitement by giving them something new to look at, Arment thinks that Apple’s big changes are meant to force developers to focus on the iOS platform for the next few months.

He compares it to the release of the… Continue reading

(curated by R2D from Lifehacker)

The Best New Features Feedly Has Added for Google Reader Switchers

In the last few months, Feedly has been working tirelessly to please the Google Reader crowd. If you haven’t looked at Feedly in a while, there are some changes you might have missed.

To be clear, Feedly probably won’t entirely replace Google Reader for everyone. In fact, nothing will. Google Reader was a special app and it occupied a unique place for each person. However, the internet has exploded recently with attempts to fill the RSS void. We’ve already covered the best alternatives, but as Feedly starts to occupy the center of the playing… Continue reading

1 2 3 8