Closed Callileah closed 1 year ago
Hi, I have tested the plugin with wordpress.com and find it works with wordpress.com using XML-RPC. You could open obsidian console by pressing CTRL+SHIFT+I (Windows), open console tab to find out if there is anything wrong. The endpoint should be https://(me).wordpress.com/xmlrpc.php . The following XML code should contain your user name and password as following,
<?xml version="1.0"?>
<methodCall>
<methodName>wp.newPost</methodName>
<params>
<param>
<value>
<array>
<data>
<value>
<i4>0</i4>
</value>
<value>
<string>***YOUR WP USER NAME***</string>
</value>
<value>
<string>***YOUR XML-ENCODED WP PW***</string>
</value>
<value>
<struct>
<member>
<name>post_type</name>
<value>
<string>post</string>
</value>
</member>
...
Is there anything incorrect? Is there any special characters in your password? And remember check wordpress.com users menu to ensure your user name is correct.
Ok...just trying your instructions now. been working on other stuff for last few days. Sorry for not getting back to you sooner. Just checked everything you suggested and it looks correct. There's no special chars in my PW. I've tried putting the Code in here but it doesn't display at all properly...
So, no, it's just not working at all and generating an Error 403 : Incorrect Username or Password. even though both are correct. I'm mystified. Does this code work with all Themes? Does that matter, what Theme is being used?
Also, this appears before the section you reference:
VM149:21298 Object DevTools failed to load source map: Could not parse content for app://obsidian.md/obsidian.css.map: Unexpected end of JSON input VM149:21301 Endpoint: https://callileah.wordpress.com/xmlrpc.php VM149:21303 <?xml version="1.0"?>
Hi.. I have contacted WP and they have checked that XML-RPC is ON and seems to be working. So, I'm flummoxed. Any suggestions?
XML-RPC should wok with all themes so that's not the problem. DevTools failed to load source map
is OK for .map
files are used for debugging. Endpoint seems OK, too. I'm not sure what problem is. I released a new version of the plugin adding more console logs so could you please update the plugin to see if there is any useful logs at this version?
I seem to also have this issue. I don't see any issues. Checking console, /var/log, wordpress plugin logs, etc. it looks like it's just not working.
Update: for some reason the password wasn't set correctly It was an issue on my end.
So is this solved?
I recently installed the plugin. When testing the Publish function to my WP site, which is hosted on wordpress.com i.e. https://(me).wordpress.com, it gives error msg "Post Publish Failed. 403 : Username or Password incorrect". I've checked, they are in fact correct. So I'm wondering if the real issue is how my WP site is hosted.... It's a a sub-domain on wordpress.com. Could this be the problem?
Thanks in advance for help with this.