alexjamesbrown / JoeBlogs

Wordpress / Metaweblog API Wrapper
53 stars 40 forks source link

Publish and Schedule Not working #36

Open King12345 opened 10 years ago

King12345 commented 10 years ago

Hi,

I am using wordpress version 3.5.1. My all the posts are going into scheduled mode. The strange thing is this, i tried to publish them from dashboard, they are still not publish. They all are still showing scheduled. I tried to change the schedule, but still not able to publish them.

Can anyone provide me some solution over this, what is wrong here?

alexjamesbrown commented 10 years ago

I'm not sure I understand, are you using the JoeBlogs wrapper?

King12345 commented 10 years ago

Hi Alex,

Yes, I m using JoeBlogs Wrapper. I saw the example given by you.

//create a new post var post = new Post();

//since this is a struct, we can't have a constructor that does this! post.DateCreated=DateTime.Now; post.Title="This is a title"; post.Body="this is the body of the post. it could be html.";

//create the post! wp.NewPost(post,true);

I tried with both the boolean values true and false but everytime, it is going into scheduled mode. How to publish them immediately?

Neocron commented 10 years ago

Hello, Im having the same problem !