Salut, petit soucis j'ai un renvois d'erreur dans la balise link de mon feed forum-serveur sous Wordpress .
le lien pour voir la machine h-ttp://001.biz.st/wp-content/plugins/forum-server/feed.php?topic=2
l'erreure :
Voici la boucle complete,
Une idée ou ça va pas ?
le lien pour voir la machine h-ttp://001.biz.st/wp-content/plugins/forum-server/feed.php?topic=2
l'erreure :
Le symbole point-virgule était attendu.
Ligne : 30 Caractère : 62
<link>http://001.biz.st/forums/?vasthtmlaction=viewtopic&t=2.0</link>
Voici la boucle complete,
Code:
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title><?php echo $title;?> </title>
<description><?php bloginfo('name'); echo " $description";?></description>
<link><?php echo $link;?></link>
<language><?php bloginfo('language');?></language>
<?php
foreach($posts as $post){
$link = $vasthtml->get_threadlink($post->parent_id);
$user = get_userdata($post->author_id);
$title = __("Topic:", "vasthtml")." ".$vasthtml->get_subject($post->parent_id);
$title = $post->subject;
echo "<item>\n
<title>" . htmlspecialchars($title) . "</title>\n
<description>".htmlspecialchars($vasthtml->output_filter($post->text,ENT_NOQUOTES))."</description>\n
<link>".htmlspecialchars_decode($link)."</link>\n
<guid>".htmlspecialchars_decode($link."&guid=$post->id")."</guid>\n
</item>\n\n";
}
?>
</channel>
</rss>
Une idée ou ça va pas ?