I have a client that has a legacy asp site and a wordpress site. His legacy site has a custom built CMS in addition to e-commerce features. He wants to be able to display some of the wordpress blogs inside his legacy site. Essentially it would be the stuff that fits in his leftcontent div, and he wants to have the capability to do the comment sections in between posts seamlessly. I assume there are 4 ways to do this and wanted advice.
#1. Pull the rss feed for that blog, parse it, and display inline.
#2. Pull the html content for that blog, parse out everything between the leftcontent div and display inline.
#3. Pull the html content for that blog, parse out everything between the leftcontent div, add supporting html/body/etc around the div and display in an iframe or frame (blechh).
#4. Set up a web service to access the WordPress database and pull the associated information and display inline after formatting.
The only one I can think of that would actually have a chance of success with comments is #3 and it is my least favorite. I know the client wouldn’t want the users to get escaped out of the legacy site and sent to the WordPress site if they clicked the comment link.
The client uses Intense Debate on the legacy site and the built in comments on the WordPress site.
- The topic ‘RSS Feed or IFrame or HTML Parsing’ is closed to new replies.