tags:

views:

47

answers:

1

Hello everybody,

I hope somebody know the answer of my question.

How do I retrieve posted blog content in wordpress based on id or permalink? I need the API.

Thank you

A: 

Wordpress documentation is your friend: get_post

e.g:

<?php
$my_id = 7;
$post = get_post($my_id); 
$content = $post->post_content;
?> 
RSlaughter
hmm... actually i need to do it in C# (ASP.net) :-(
e.g i have post my blog in wordpress and i want it to be showed in my website. Also i need it programmatically in C#. Any idea such as open-standard API, like RSS or Javascript API?