scripting / Scripting-News

I'm starting to use GitHub for work on my blog. Why not? It's got good communication and collaboration tools. Why not hook it up to a blog?
117 stars 10 forks source link

Is there a way to post to WordPress from an external app? #206

Open scripting opened 3 years ago

scripting commented 3 years ago

Background

In June 2020 I did a refresh of Radio3, my linkblogging tool, which I use for the linkblog on Scripting News and in the nightly email.

In 2014 when I first wrote Radio3, it had a feature that mirrored posts to WordPress, using their support for the MetaWeblog API. At some point they apparently stopped supporting this interface, so I removed the connection from Radio3.

API to post to WordPress blog in 2021?

So here's the question: is there now a way to post to a WordPress blog from an external app? If it has an API, I'd like to get support in the first release of Drummer. It's an important connection.

scripting commented 3 years ago

Update: This looks promising. ;-)

amonks commented 3 years ago

wordpress still has an xml-rpc API :)

source: https://github.com/WordPress/WordPress/blob/master/xmlrpc.php documentation: https://codex.wordpress.org/XML-RPC_Support

doug-foster commented 3 years ago

Check out https://developer.wordpress.org/rest-api/

yaeloss commented 3 years ago

MarsEdit allows this – I don't use it as actively anymore, but it worked with Micro.blog as well.

Only issue is that I don't believe it's open source.

https://redsweater.com/marsedit/

scripting commented 3 years ago

I just wrote a follow-up post.

http://scripting.com/2021/04/14.html#a141108