Giter Club home page Giter Club logo

node-wporg's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

node-wporg's Issues

Error: Unknown XML-RPC tag 'P'

Hi,
I'm using node-wporg to post to a local Wordpress 4.2.2 installation. The posts appear on the blog without any issues, but the client.newPost() function ends with an error: [Error: Unknown XML-RPC tag 'P']

I have tried updating the XML-RPC dependency to 1.3.1. The update didn't seem to break node-wporg, but it also didn't fix anything.

Do you have a suggestion on how to debug this issue? My posts seem to be posting fine and I also can't figure out what 'P' can be. I don't post any data with a capital 'P'.

Thanks in advance!

Error when on CloudFlare even though other libraries work

Hi Rami,

I have been using wporg locally in a test environment and it has been working. However, now I've deployed my website with CloudFlare and https it's no longer working. When I bypass CloudFlare, wporg can successfully connect to my WordPress site. But when I enable CloudFlare I get the following error:

[Error: Unexpected end
Line: 0
Column: 0
Char: ]

The strange thing is that when I use the wordpress npm package (https://www.npmjs.com/package/wordpress), I can successfully list all the posts on my website. Also using python-wordpress-xmlrpc I can list my posts when behind CloudFlare.

My conclusion from this is: XML-RPC is working correctly on my website, both with CloudFlare enabled and when disabled. Something in wporg is not working as it should...

I'd really like to continue to use wporg because I think it is the most full-featured WordPress XML-RPC interface for Node.js. And if I switch to a different library I'd need to change my code too. Do you think you could have a look at this issue? I could give you a test account for my site if that helps. Or do you recommend using another library?

Multisite Failure

Hi

I have an app using WPORG, works great, but can't get it to work against a multisite WP instance. I am passing the blog ID to the client and have stepped through to see it appended to the request??

Thx
Myles

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.