tags:

views:

149

answers:

2

hi friends,

I set up a wordpress, everything is fine. it is under a sub-directory of main website. and it use same database with the custom developed website. path is like below;

http://www.blabla.com/blog/blabla-category-name/bla-post-title/

i need to list the latest 3 posts at main website (out of wordpress). I looked wordpress db, but couldnot see any cat name at table :/ so how can I generate such link to post from out of wordpress?

appreciate helps!!


just found this article online. working great!!

http://www.corvidworks.com/articles/wordpress-content-on-other-pages

+1  A: 

You could parse the RSS feed that Wordpress generates using something like MagicParser. This would allow you to display the most recent posts on your homepage with relative ease.

The preferred method would be to use one of the methods as described by Dav, though.

Joe Sergeant