views:

17

answers:

1

Is there a way to get recent articles using JavaScript from Wordpress blog? I need to show some content from the blog easy way on a static page so I think JavaScript would be fine for this.

A: 

If you are in different domain, you cannot do this with pure javascript. You will need to use serverside proxy (for example, PHP proxy - a file which will take URL, do request and return data). After you got data, just use jQuery ability to parse XML files and write your HTML.

http://stackoverflow.com/questions/226663/parse-rss-with-jquery

Māris Kiseļovs