Bonjour,
J'ai créé mon premier flux RSS. Pour cela j'ai suivi ce tuto:
http://sebsauvage.net/comprendre/rss/creer.html
Cependant j'ai un petit probleme au niveau du fichier XML.
Voici ce dernier:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<atom:link href="http://www.aggrissive.com/rss/praemium.xml" rel="self" type="application/rss+xml" />
<title>Praemium</title>
<link>http://www.praemium.ch</link>
<description>Les news de Praemium</description>
<item>
<title>Locaux commerciaux</title>
<link>http://courtage.praemium.ch/fr/objects/index?category=4&deal=RENT</link>
<guid isPermaLink="true">http://courtage.praemium.ch/fr/objects/index?category=4&deal=RENT</guid>
<description>Les locaux commerciaux disponibles chez Courtage Praemium.</description>
<pubDate>Wed, 25 Mar 2009 19:30:00 GMT</pubDate>
</item>
</channel>
</rss> |
Dans l'exemple ci dessus, mon link contient deux variable
http://courtage.praemium.ch/fr/objects/index?category=4&deal=RENT
Si je passe mon fichier xml dans site pour le valider, par exemple:
http://feedvalidator.org
Il me retourne ce message d'erreur:
XML parsing error: <unknown>:24:78: not well-formed (invalid token)
Si je modifie mon lien de la manière suivante:
http://courtage.praemium.ch/fr/objects/index?category=4
Le site de validation ne me retourne aucun message d'erreur.
Comment puis-je faire pour avoir deux variable dans mon URL?
Merci
Partager