I managed to embed it somewhat into one of my web site, see the result here :
http://www.hoe.nicewebs.com/site/?page=nouvelles
However, when you click on "continuer" (which leads to the extended view), you get a fully blank page, which is not good. I have to mention that the web site does not use .css, and I suspect this is the root of the problem. However, can you please direct me in the right direction to have the extended text also in my web design (the web site was not design by myself initially)
The main index page of the web site includes a require like this
Code: Select all
<?php include('include_centre.php'); ?>
Code: Select all
if($page != "") {
include('pages/'.$page.'.php');
} else {
include('pages/accueil.php');
}
Code: Select all
$_REQUEST['page'] = 'nouvelles';
// Recupération des données du blog en buffer
ob_start();
require 'http://www.hoe.nicewebs.com/news/index.php'; //addrese du blog
$blog_data = ob_get_contents();
ob_end_clean();
//Impression des données du blog
if ($_REQUEST['page'] = 'nouvelles') {
echo $blog_data;
}
Thanks for your help