• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 253
  • Last Modified:

Get a list of recent wordpress posts in an external ASP website

Hi,

Just looking for a snippet of code please to get a list of the top x recent posts from a Wordpress website into an unrelated website using classis ASP.

I fully control both websites but they are hosted at two different addresses.

I do have access to the Wordpress underlying MySQL database so can get in that way please, rather than trying to disect the RSS feed or something.

Would love some help to get the posts onto my ASP website.

0
Sean Clarke
Asked:
Sean Clarke
2 Solutions
 
Aaron TomoskyTechnology ConsultantCommented:
Rss feed really is the right way to do it IMO. Lots of free asp rss readers and the feed is already built into wordpress.
0
 
Jason C. LevineNo oneCommented:
Agree with Aaron (so no points for me, please).

WordPress is already creating an RSS feed for your posts, so rather than do something complicated like query the WordPress database from your ASP site, just use a script to parse the RSS and display:

http://www.sorenwinslow.com/RSSAspCode.asp
0
 
Sean ClarkeAuthor Commented:
Thanks guys
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now