I'm looking to build a mobile version of a WordPress site and have most of it built in static files, but am trying to get access to the WordPress content from inside an external PHP file that the mobile site will run from. How can I get access to the loop or database without manually writing SQL queries?
Edit: Just to clarify, I'm using jqTouch for the Mobile version.
jqTouch uses a single php file to display several "pages" of content, which are then navigated via the Javascript hiding/showing the content.
What it really boils down to is: how do I get a WordPress page/post into an external PHP file?
Full site: http://capitalchurch.com/beta/ Mobile: http://capitalchurch.com/mobile/