Encoding flux rss quel norme?
6 messages
• Page 1 sur 1
Consultez la formation au REFERENCEMENT naturel Google de WebRankInfo / Ranking Metrics
- passion
- WRInaute accro

- Messages: 3107
- Inscription: 6 Jan 2006
Encoding flux rss quel norme?
Bonsoir,
Je suis entrain de réaliser un flux rss mais lorsque je viens de le valider sur -http://validator.w3.org il me dit ceci:
You can also try changing your character encoding to a more liberal encoding. For example, if you have this at the top of your feed:
<?xml version="1.0" encoding="utf-8"?>
Try changing it to this:
<?xml version="1.0" encoding="iso-8859-1"?>
mon flux est : -http://www.voyance-isabel.com/flux_rss/site-de-voyance.xml
En faite, j'avais un problème de "é" et "à" qui me marque "?"
Pourriez-vous m'aider?
Lequel dois-je choisir comme encoding?
Je suis entrain de réaliser un flux rss mais lorsque je viens de le valider sur -http://validator.w3.org il me dit ceci:
You can also try changing your character encoding to a more liberal encoding. For example, if you have this at the top of your feed:
<?xml version="1.0" encoding="utf-8"?>
Try changing it to this:
<?xml version="1.0" encoding="iso-8859-1"?>
mon flux est : -http://www.voyance-isabel.com/flux_rss/site-de-voyance.xml
En faite, j'avais un problème de "é" et "à" qui me marque "?"
Pourriez-vous m'aider?
Lequel dois-je choisir comme encoding?
- passion
- WRInaute accro

- Messages: 3107
- Inscription: 6 Jan 2006
Aparavant j'étais en Utf et j'ai suivi tes conseils en Iso, aprés testé par "validator", voilà ce qu'il me dit:
Your feed appears to be encoded as “foo”, but your server is reporting “bar”
Explanation
The XML appears to be using one encoding, but the HTTP headers from the web server indicate a different charset. Internet standards require that the web server's version takes preference, but many aggregators ignore this. Note that, if you are serving content as 'text/*', then the default charset is US-ASCII, which is probably not what you want. (See RFC 3023 for technical details.)
RSS feeds should be served as application/rss+xml (RSS 1.0 is an RDF format, so it may be served as application/rdf+xml instead). Atom feeds should use application/atom+xml. Alternatively, for compatibility with widely-deployed web browsers, any of these feeds can use one of the more general XML types - preferably application/xml.
Another possible cause is the use of single quotes to delimit the charset parameter in the http header, whereas the http definition of Basic Rules only permits the use of double quotes. The result is somewhat confusing messages such as:
Your feed appears to be encoded as “utf-8”, but your server is reporting “'utf-8'”
Solution
Either ensure that the charset parameter of the HTTP Content-Type header matches the encoding declaration, or ensure that the server makes no claims about the encoding. Serving the feed as application/xml means that the encoding will be taken from the file's declaration.
The W3C has published information on how to set the HTTP charset parameter with various popular web servers.
If you are unable to control your server's charset declaration, Character and Entity References may be used to specify the full range of Unicode characters in an feed served as US-ASCII.
Que dois-je faire?...je comprends l'anglais mais il me parle de truc US-ASCII...comprends pas!!!!
Voici, ma nouvelle ligne de script:
<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
<channel>
<title>etc......</title>
etc..................
Your feed appears to be encoded as “foo”, but your server is reporting “bar”
Explanation
The XML appears to be using one encoding, but the HTTP headers from the web server indicate a different charset. Internet standards require that the web server's version takes preference, but many aggregators ignore this. Note that, if you are serving content as 'text/*', then the default charset is US-ASCII, which is probably not what you want. (See RFC 3023 for technical details.)
RSS feeds should be served as application/rss+xml (RSS 1.0 is an RDF format, so it may be served as application/rdf+xml instead). Atom feeds should use application/atom+xml. Alternatively, for compatibility with widely-deployed web browsers, any of these feeds can use one of the more general XML types - preferably application/xml.
Another possible cause is the use of single quotes to delimit the charset parameter in the http header, whereas the http definition of Basic Rules only permits the use of double quotes. The result is somewhat confusing messages such as:
Your feed appears to be encoded as “utf-8”, but your server is reporting “'utf-8'”
Solution
Either ensure that the charset parameter of the HTTP Content-Type header matches the encoding declaration, or ensure that the server makes no claims about the encoding. Serving the feed as application/xml means that the encoding will be taken from the file's declaration.
The W3C has published information on how to set the HTTP charset parameter with various popular web servers.
If you are unable to control your server's charset declaration, Character and Entity References may be used to specify the full range of Unicode characters in an feed served as US-ASCII.
Que dois-je faire?...je comprends l'anglais mais il me parle de truc US-ASCII...comprends pas!!!!
Voici, ma nouvelle ligne de script:
<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
<channel>
<title>etc......</title>
etc..................
- passion
- WRInaute accro

- Messages: 3107
- Inscription: 6 Jan 2006
Merci serious
J'ai essayé mais marche pas alors je suis revenu en .xml
Mon application est de la sorte:
<a type="application/rss+xml" href="feed.rss">http://www.voyance-isabel.com/flux_rss/site-de-voyance.xml</a>
Vous pouvez me dire si pouvez lire mon flux?????
Merci
-http://www.voyance-isabel.com/flux_rss/site-de-voyance.xml
J'ai essayé mais marche pas alors je suis revenu en .xml
Mon application est de la sorte:
<a type="application/rss+xml" href="feed.rss">http://www.voyance-isabel.com/flux_rss/site-de-voyance.xml</a>
Vous pouvez me dire si pouvez lire mon flux?????
Merci
-http://www.voyance-isabel.com/flux_rss/site-de-voyance.xml
6 messages
• Page 1 sur 1
Formation recommandée sur ce thème :
Formation REFERENCEMENT naturel Google : apprenez une méthode efficace pour optimiser à fond le référencement naturel dans Google de façon durable... Formation animée par Olivier Duffez et Fabien Facériès, experts en référencement naturel.
Tous les détails sur le site Ranking Metrics : programme, prix, dates et lieux, inscription en ligne.
Lectures recommandées sur ce thème :
- intégrations adsenses flux rss et variable dans url flux rss ???
- Reconnaitre la norme d'un flux ?
- Flux-rss.org, annuaire de flux RSS
- Votre avis sur le site Atypic-flux (Magazine en Flux RSS)
- [Flux RSS] Impact d'un flux pour le positionnement ?
- [Résolu] Implémenter un Flux RSS avec RSS Graffiti
- RSS-Image.com - Générateur d'image en direct pour vos flux RSS !
- Comment désindexer un flux rss (le flux xml) ?
- Référencement de vos Flux RSS avec Ref RSS !
- Référencement de flux rss (liste dannuaire rss)
- Comment obtenir le flux RSS d'un compte Twitter
- Comment suivre un contact Google+ par flux RSS
- Utiliser Actifpub pour l'intégration d'un flux RSS externe sur son site
- Intégrer facilement un flux RSS externe
- Un (RSS) pour tous (les blogs officiels de Google)
- Référencement vidéo sur Exalead
- Intégrer un flux RSS sur son site
- Des RSS rémunérés ça existe !
Consultez la description détaillée des produits ou services de Google suivants : Google Feed Fetcher, FeedBurner, Google Reader, Google ReadAir
Qui est en ligne
Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 0 invités


