views:

17

answers:

1

I have a personal website that I want to see when the last post was made to it. Is there a way to find the last posted date on my blog?

In my application, I have a notification that I want to fire if we've made a 'News' post on our site so that our users are aware of any issues and I figured the best way would be to see when the last post was made.

Anyone have any ideas?

Thanks!

+1  A: 

Since WordPress supports the metaWeblog API, you could use the XML-RPC.NET library to create a client that comminicates with your blog. You would use the metaWeblog.getRecentPosts method to get the most recent posts. You can find an example here.

http://www.pluralsight-training.net/community/blogs/aaron/archive/2008/08/19/programming-the-metaweblog-api-in-net-c.aspx

Garett
Thank you very much!!
ErocM