Skip to content

Display wordpress content in typo3

4. December 2011

A. Via DB

[…] The key to gaining access to the power of WordPress from an outside page lies in the wp-load.php file. This file loads the WordPress application and makes its API, and therefore your content, available for use. Once this file is included in a page on your site, you will be able to use any WordPress function just as if you were working in a WordPress template. […]

<?php
 // Include WordPress
 define('WP_USE_THEMES', false);
 require('./wordpress/wp-load.php');
 query_posts('showposts=1');
?>


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

B. Via RSS Feed

Using “SimplePie” from http://simplepie.org/


http://www.corvidworks.com/articles/easy-feed-reading-with-simplepie

Advertisements
Leave a Comment

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: