How to create a javascript widget to load recent posts from my wordpress site and display in other sites?
<p>I have a WordPress site. I want to allow others to place a web widget in their website which grabs recent posts from my site and display title with a link to its page for each of my recent posts. I know that this is possible through using iframe. But this has no positive effect on my website SEO. I found a solution <a href="http://alexmarandon.com/articles/web_widget_jquery/#putting-things-together" rel="nofollow">here</a> to use JavaScript for similar purpose. But it used Python and JSON to load HTML from the original site in the main() function. I am not familiar with JSON and Python. Is there any solution that I can return my recent posts using PHP and put it in the main function?</p>