1

I have started a very simple wordpress blog for a hockey pool I run. The site is located at: http://thekeeperpool.wordpress.com/

I manage the actual stats counting and player movement using a local application I made in c#. I have written some logic to output the HTML needed for the body of each persons team page. (e.g. http://thekeeperpool.wordpress.com/andrews-team/) Right now, I need to open up each of the 6 team pages, press the edit button to bring up the page's html, and then paste then new version of the body HTML in. I am looking for a way to automate this.

I have looked at the wordpress REST API, and it seems like it has the features I would need (http://developer.wordpress.com/docs/api/1/post/sites/%24site/posts/%24post_ID/) but I have no idea how to use this API. Am I headed in the right direction? How do I use this API in a script running on my local machine to access my blog, hosted by wordpress?

2
  • 1
    I'm afraid your question is off-topic, according to the FAQ. This site is for the self-hosted version of WordPress, not WordPress.com.
    – vancoder
    Commented Apr 17, 2013 at 16:43
  • 2
    WordPress.com offers the same XML-RPC API like regular WordPress installations.
    – fuxia
    Commented Apr 17, 2013 at 16:45

1 Answer 1

1

Use the XML-RPC API to post to your blog. Windows Live Writer and other apps are using that too. I am not very familiar with that API, so I have no good examples. But you should find enough with the keyword. There are also many plugins with sample code.

1
  • This is the solution for me. Still looking in to it but there seems to be enough material out there.
    – Ben313
    Commented Apr 17, 2013 at 17:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.