I've created a cakephp component called 'Wordpress' in order to pull the top X posts from my wordpress install on the same domain.
Which model should I use for something like this? I don't actually have a WordPress model, as obviously its a different database schema.
Whats the best way to do something like this?
EDIT: I found this: http://www.kyletyoung.com/code/cakephp_wordpress_component
However, I'd still be interested to know about this situation, where you connect to a non-cake DB.