A voir également:
- Simpleplie - Je deviens fou!
- Clavier fou ✓ - Forum Clavier
- Site de fou ✓ - Forum Internet / Réseaux sociaux
- Deviens un hacker pro en 1 seconde jeux ✓ - Forum Jeux vidéo
- Mon iphone devient fou ✓ - Forum iPhone
- Fou de concours - Forum Internet / Réseaux sociaux
2 réponses
Merci mon pere mais meme avec ca, j'ai toujours une erreur.
Voila le code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Feed</title>
</head>
<?php
// This shows where simple pie is located simplepie.inc.
require_once('php/simplepie.inc');
// Your Feed Address
$feed = new SimplePie('http://www.martinique.franceantilles.fr/rss/lea_Une.xml');
$feed->handle_content_type();
?>
<?php foreach ($feed->get_items() as $item): ?>
<h2>
<a href="<?php echo $item->get_permalink(); ?>">
<?php echo $item->get_title(); ?></a>
</h2>
<p><?php echo $item->get_description(); ?></p>
<p><small>Posted on <?php echo $item->get_date('j F Y | g:i a'); ?>
</small></p>
<?php endforeach; ?>
Merci mon pere
Voila le code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Feed</title>
</head>
<?php
// This shows where simple pie is located simplepie.inc.
require_once('php/simplepie.inc');
// Your Feed Address
$feed = new SimplePie('http://www.martinique.franceantilles.fr/rss/lea_Une.xml');
$feed->handle_content_type();
?>
<?php foreach ($feed->get_items() as $item): ?>
<h2>
<a href="<?php echo $item->get_permalink(); ?>">
<?php echo $item->get_title(); ?></a>
</h2>
<p><?php echo $item->get_description(); ?></p>
<p><small>Posted on <?php echo $item->get_date('j F Y | g:i a'); ?>
</small></p>
<?php endforeach; ?>
Merci mon pere