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.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.
Parse RSS with jQuery