We've built an e-commerce website with Zend Framework (with Postgresql), and the client has a separate /blog/ directory holding WordPress (and a separate Mysql database). The client now wants us to load some of the WP feeds into the main website, for example the top 3 feeds under their "Latest news" page on the main ZF site.
1) This is quite easy with WordPress, following the below article.
it seems like the best (or only) to include the core WP file (wp-blog-header.php) is by including it in bootstrap.php or index.php (i.e. before the ZF application runs).
It seems unnecessary as I only need to include the wp-blog-header.php file on certain pages, so this could slow our site down unnecessarily when not needed.
I have a special WordPress model mapper to fetch the data using WP functions, but I can't actually include the header file in the model because it is within a function (errors are thrown if I do this).
2) Even if the above is the only solution, has anyone done this for "Multisites" ? Our site has several languages and we need WordPress to also be available in those languages, so the best solution seems like to use http://codex.wordpress.org/Create_A_Network - a Network of sites such as ourdomain.com/blog/ - for the UK version - and ourdomain.com/blog/de/ - for the German version, etc.
However, the above WordPress link (http://codex.wordpress.org/Integrating_Wordpress_with_Your_Website)
says "These directions will not work on a MultiSite Network.", but offers no solution to actually make it work. So it looks like I'm stuck. I've can see that people have been asking about this online but I'm just wondering if anyone here has done this, specifically to get the English WordPress posts for the English main ZF site, and the German WP posts for the German ZF site, etc. Any help would be appreciated.
[mod: moved to wp-advanced]