You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I create it in Publish mode, will it return the post name format?
Also, before I publish a post, can you tell me how to check to see if it already exists already? I don't want to post duplicate content. Can you show me a code snippet I would use to check for an existing post?
I need it to return the Post Name permalink format not the Plain format. How can I convert this to the Post name format ?
I checked the blog I created a post on and the Pernalink settings are set to "Post Name".
string postID = client.NewPost(post);
Post thepost = client.GetPost(Convert.ToInt32(postID)); // returns "http://mysite.com/?p=6175"
The text was updated successfully, but these errors were encountered: