Comment dois-je faire éléments guid et besoin d'aide avec rel = "auto"
- cerio
- Proficient


- Inscription: Fév 07, 2004
- Messages: 263
- Loc: UK
- Status: Offline
Salut.
J'ai créé un flux RSS pour mon site, mais, même si elle valide, il ya deux choses que je projetés ne sais pas comment faire face. On est guid éléments et l'autre est rel = "auto"...voir le rapport de validation et le flux rss. xml ci-dessous (j'ai enlevé quelques-uns des articles, juste pour faire plus court pour ici).
Je suis à la recherche d'instructions étape par étape la façon de faire les éléments guid et la façon de trier l'attribut rel = "auto" chose.
Rapport de validation
Ci-dessous le code rss.xml
Merci de regarder si pour moi.
Cordialement,
Cerio
J'ai créé un flux RSS pour mon site, mais, même si elle valide, il ya deux choses que je projetés ne sais pas comment faire face. On est guid éléments et l'autre est rel = "auto"...voir le rapport de validation et le flux rss. xml ci-dessous (j'ai enlevé quelques-uns des articles, juste pour faire plus court pour ici).
Je suis à la recherche d'instructions étape par étape la façon de faire les éléments guid et la façon de trier l'attribut rel = "auto" chose.
Rapport de validation
Code: [ Select ]
This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following recommendations.
# line 6, column 86: "self" link references a non-Atom representation: application/rss.xml [help]
... rel="self" type="application/rss.xml" />
^
# line 6, column 86: Self reference doesn't match document location [help]
... rel="self" type="application/rss.xml" />
^
# line 37, column 1: item should contain a guid element (27 occurrences) [help]
</item>
Source: http://www.wafuku.co.uk/rss.xml
# line 6, column 86: "self" link references a non-Atom representation: application/rss.xml [help]
... rel="self" type="application/rss.xml" />
^
# line 6, column 86: Self reference doesn't match document location [help]
... rel="self" type="application/rss.xml" />
^
# line 37, column 1: item should contain a guid element (27 occurrences) [help]
</item>
Source: http://www.wafuku.co.uk/rss.xml
- This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following recommendations.
- # line 6, column 86: "self" link references a non-Atom representation: application/rss.xml [help]
- ... rel="self" type="application/rss.xml" />
- ^
- # line 6, column 86: Self reference doesn't match document location [help]
- ... rel="self" type="application/rss.xml" />
- ^
- # line 37, column 1: item should contain a guid element (27 occurrences) [help]
- </item>
- Source: http://www.wafuku.co.uk/rss.xml
Ci-dessous le code rss.xml
Code: [ Select ]
1. <?xml version="1.0" encoding="ISO-8859-1" ?>
2.
3. <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
4.
5. <channel>
6. <atom:link href="rss.xml" rel="self" type="application/rss+xml" />
7.
8. <title>Wafuku Kimonos New Items</title>
9.
10. <link>http://www.wafuku.co.uk</link>
11.
12. <description>New items on wafuku.co.uk</description>
13.
14. <language>en</language>
15.
16. <generator>http://www.wafuku.co.uk</generator>
17.
18. <image>
19.
20. <url>http://www.wafuku.co.uk/images/wafrss.png</url>
21.
22. <title>Wafuku Kimonos New Items</title>
23.
24. <link>http://www.wafuku.co.uk</link>
25.
26. </image>
27.
28. <pubDate>Sat, 23 Apr 2011 01:00:00 +0100</pubDate>
29.
30. <item>
31. <category>Misc Items</category>
32. <title>2 Japanese Itomaki xi212</title>
33.
34. <link>http://wafuku.co.uk/index.php?c=888&p=102606</link>
35.
36. <description>2 Japanese Itomaki - thread spool</description>
37. </item>
38.
39. <item>
40. <category>Samurai Items</category>
41. <title>Tsuba Sword Guard sx8</title>
42.
43. <link>http://wafuku.co.uk/index.php?c=30&p=102605</link>
44.
45. <description>Tsuba Sword Guard</description>
46. </item>
47.
48. <item>
49. <category>Footwear Boots</category>
50. <title>Jika Tabi 24cm fb3</title>
51.
52. <link>http://wafuku.co.uk/index.php?c=45&p=102604</link>
53.
54. <description>Jika Tabi 24cm</description>
55. </item>
56.
57. <item>
58. <category>Footwear Boots</category>
59. <title>Jika Tabi 26cm fb2</title>
60.
61. <link>http://wafuku.co.uk/index.php?c=45&p=102603</link>
62.
63. <description>Jika Tabi 26cm</description>
64. </item>
65.
66. <item>
67. <category>Women's Clothes Haori</category>
68. <title>Leaf Squares Haori wh586</title>
69.
70. <link>http://wafuku.co.uk/index.php?c=38&p=102599</link>
71.
72. <description>Leaf Squares Haori</description>
73. </item>
74.
75. <item>
76. <category>Obi Hanhaba</category>
77. <title>Noh Characters Hanhaba Obi oh52</title>
78.
79. <link>http://wafuku.co.uk/index.php?c=62&p=102600</link>
80.
81. <description>Noh Characters Hanhaba Obi</description>
82. </item>
83.
84. <item>
85. <category>Obi Hanhaba</category>
86. <title>Glinting Loopy Waves Hanhaba Obi oh53</title>
87.
88. <link>http://wafuku.co.uk/index.php?c=62&p=102601</link>
89.
90. <description>Glinting Loopy Waves Hanhaba Obi</description>
91. </item>
92.
93. <item>
94. <category>Unisex - Jinbei</category>
95. <title>Ukiyoe Jinbei Jacket uhj3</title>
96.
97. <link>http://wafuku.co.uk/index.php?c=2100&p=102596</link>
98.
99. <description>Ukiyoe Jinbei Jacket</description>
100. </item>
101.
102. <item>
103. <category>Unisex - Hanten</category>
104. <title>Brick Wall Hanten uha3</title>
105.
106. <link>http://wafuku.co.uk/index.php?c=2098&p=102598</link>
107.
108. <description>Ukiyoe Jinbei Jacket</description>
109. </item>
110.
111. <item>
112. <category>Unisex - Hanten</category>
113. <title>Lined Hanten uha2</title>
114.
115. <link>http://wafuku.co.uk/index.php?c=2098&p=102597</link>
116.
117. <description>Lined Hanten Jacket</description>
118. </item>
119.
120. <item>
121. <category>Buddhist Clothing</category>
122. <title> Buddhist Priest's Wa Kesa bc17</title>
123.
124. <link>http://wafuku.co.uk/index.php?c=80&p=102602</link>
125.
126. <description>Buddhist Priest's Wa Kesa</description>
127. </item>
128.
129. <item>
130. <category>Children's Japanese Clothes</category>
131. <title>Bugs Galore Jinbei & Shorts Set cx11</title>
132.
133. <link>http://wafuku.co.uk/index.php?c=2082&p=102594</link>
134.
135. <description>Bugs Galore Jinbei & Shorts Set </description>
136. </item>
272.
273. </channel>
274.
275. </rss>
2.
3. <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
4.
5. <channel>
6. <atom:link href="rss.xml" rel="self" type="application/rss+xml" />
7.
8. <title>Wafuku Kimonos New Items</title>
9.
10. <link>http://www.wafuku.co.uk</link>
11.
12. <description>New items on wafuku.co.uk</description>
13.
14. <language>en</language>
15.
16. <generator>http://www.wafuku.co.uk</generator>
17.
18. <image>
19.
20. <url>http://www.wafuku.co.uk/images/wafrss.png</url>
21.
22. <title>Wafuku Kimonos New Items</title>
23.
24. <link>http://www.wafuku.co.uk</link>
25.
26. </image>
27.
28. <pubDate>Sat, 23 Apr 2011 01:00:00 +0100</pubDate>
29.
30. <item>
31. <category>Misc Items</category>
32. <title>2 Japanese Itomaki xi212</title>
33.
34. <link>http://wafuku.co.uk/index.php?c=888&p=102606</link>
35.
36. <description>2 Japanese Itomaki - thread spool</description>
37. </item>
38.
39. <item>
40. <category>Samurai Items</category>
41. <title>Tsuba Sword Guard sx8</title>
42.
43. <link>http://wafuku.co.uk/index.php?c=30&p=102605</link>
44.
45. <description>Tsuba Sword Guard</description>
46. </item>
47.
48. <item>
49. <category>Footwear Boots</category>
50. <title>Jika Tabi 24cm fb3</title>
51.
52. <link>http://wafuku.co.uk/index.php?c=45&p=102604</link>
53.
54. <description>Jika Tabi 24cm</description>
55. </item>
56.
57. <item>
58. <category>Footwear Boots</category>
59. <title>Jika Tabi 26cm fb2</title>
60.
61. <link>http://wafuku.co.uk/index.php?c=45&p=102603</link>
62.
63. <description>Jika Tabi 26cm</description>
64. </item>
65.
66. <item>
67. <category>Women's Clothes Haori</category>
68. <title>Leaf Squares Haori wh586</title>
69.
70. <link>http://wafuku.co.uk/index.php?c=38&p=102599</link>
71.
72. <description>Leaf Squares Haori</description>
73. </item>
74.
75. <item>
76. <category>Obi Hanhaba</category>
77. <title>Noh Characters Hanhaba Obi oh52</title>
78.
79. <link>http://wafuku.co.uk/index.php?c=62&p=102600</link>
80.
81. <description>Noh Characters Hanhaba Obi</description>
82. </item>
83.
84. <item>
85. <category>Obi Hanhaba</category>
86. <title>Glinting Loopy Waves Hanhaba Obi oh53</title>
87.
88. <link>http://wafuku.co.uk/index.php?c=62&p=102601</link>
89.
90. <description>Glinting Loopy Waves Hanhaba Obi</description>
91. </item>
92.
93. <item>
94. <category>Unisex - Jinbei</category>
95. <title>Ukiyoe Jinbei Jacket uhj3</title>
96.
97. <link>http://wafuku.co.uk/index.php?c=2100&p=102596</link>
98.
99. <description>Ukiyoe Jinbei Jacket</description>
100. </item>
101.
102. <item>
103. <category>Unisex - Hanten</category>
104. <title>Brick Wall Hanten uha3</title>
105.
106. <link>http://wafuku.co.uk/index.php?c=2098&p=102598</link>
107.
108. <description>Ukiyoe Jinbei Jacket</description>
109. </item>
110.
111. <item>
112. <category>Unisex - Hanten</category>
113. <title>Lined Hanten uha2</title>
114.
115. <link>http://wafuku.co.uk/index.php?c=2098&p=102597</link>
116.
117. <description>Lined Hanten Jacket</description>
118. </item>
119.
120. <item>
121. <category>Buddhist Clothing</category>
122. <title> Buddhist Priest's Wa Kesa bc17</title>
123.
124. <link>http://wafuku.co.uk/index.php?c=80&p=102602</link>
125.
126. <description>Buddhist Priest's Wa Kesa</description>
127. </item>
128.
129. <item>
130. <category>Children's Japanese Clothes</category>
131. <title>Bugs Galore Jinbei & Shorts Set cx11</title>
132.
133. <link>http://wafuku.co.uk/index.php?c=2082&p=102594</link>
134.
135. <description>Bugs Galore Jinbei & Shorts Set </description>
136. </item>
272.
273. </channel>
274.
275. </rss>
- 1. <?xml version="1.0" encoding="ISO-8859-1" ?>
- 2.
- 3. <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
- 4.
- 5. <channel>
- 6. <atom:link href="rss.xml" rel="self" type="application/rss+xml" />
- 7.
- 8. <title>Wafuku Kimonos New Items</title>
- 9.
- 10. <link>http://www.wafuku.co.uk</link>
- 11.
- 12. <description>New items on wafuku.co.uk</description>
- 13.
- 14. <language>en</language>
- 15.
- 16. <generator>http://www.wafuku.co.uk</generator>
- 17.
- 18. <image>
- 19.
- 20. <url>http://www.wafuku.co.uk/images/wafrss.png</url>
- 21.
- 22. <title>Wafuku Kimonos New Items</title>
- 23.
- 24. <link>http://www.wafuku.co.uk</link>
- 25.
- 26. </image>
- 27.
- 28. <pubDate>Sat, 23 Apr 2011 01:00:00 +0100</pubDate>
- 29.
- 30. <item>
- 31. <category>Misc Items</category>
- 32. <title>2 Japanese Itomaki xi212</title>
- 33.
- 34. <link>http://wafuku.co.uk/index.php?c=888&p=102606</link>
- 35.
- 36. <description>2 Japanese Itomaki - thread spool</description>
- 37. </item>
- 38.
- 39. <item>
- 40. <category>Samurai Items</category>
- 41. <title>Tsuba Sword Guard sx8</title>
- 42.
- 43. <link>http://wafuku.co.uk/index.php?c=30&p=102605</link>
- 44.
- 45. <description>Tsuba Sword Guard</description>
- 46. </item>
- 47.
- 48. <item>
- 49. <category>Footwear Boots</category>
- 50. <title>Jika Tabi 24cm fb3</title>
- 51.
- 52. <link>http://wafuku.co.uk/index.php?c=45&p=102604</link>
- 53.
- 54. <description>Jika Tabi 24cm</description>
- 55. </item>
- 56.
- 57. <item>
- 58. <category>Footwear Boots</category>
- 59. <title>Jika Tabi 26cm fb2</title>
- 60.
- 61. <link>http://wafuku.co.uk/index.php?c=45&p=102603</link>
- 62.
- 63. <description>Jika Tabi 26cm</description>
- 64. </item>
- 65.
- 66. <item>
- 67. <category>Women's Clothes Haori</category>
- 68. <title>Leaf Squares Haori wh586</title>
- 69.
- 70. <link>http://wafuku.co.uk/index.php?c=38&p=102599</link>
- 71.
- 72. <description>Leaf Squares Haori</description>
- 73. </item>
- 74.
- 75. <item>
- 76. <category>Obi Hanhaba</category>
- 77. <title>Noh Characters Hanhaba Obi oh52</title>
- 78.
- 79. <link>http://wafuku.co.uk/index.php?c=62&p=102600</link>
- 80.
- 81. <description>Noh Characters Hanhaba Obi</description>
- 82. </item>
- 83.
- 84. <item>
- 85. <category>Obi Hanhaba</category>
- 86. <title>Glinting Loopy Waves Hanhaba Obi oh53</title>
- 87.
- 88. <link>http://wafuku.co.uk/index.php?c=62&p=102601</link>
- 89.
- 90. <description>Glinting Loopy Waves Hanhaba Obi</description>
- 91. </item>
- 92.
- 93. <item>
- 94. <category>Unisex - Jinbei</category>
- 95. <title>Ukiyoe Jinbei Jacket uhj3</title>
- 96.
- 97. <link>http://wafuku.co.uk/index.php?c=2100&p=102596</link>
- 98.
- 99. <description>Ukiyoe Jinbei Jacket</description>
- 100. </item>
- 101.
- 102. <item>
- 103. <category>Unisex - Hanten</category>
- 104. <title>Brick Wall Hanten uha3</title>
- 105.
- 106. <link>http://wafuku.co.uk/index.php?c=2098&p=102598</link>
- 107.
- 108. <description>Ukiyoe Jinbei Jacket</description>
- 109. </item>
- 110.
- 111. <item>
- 112. <category>Unisex - Hanten</category>
- 113. <title>Lined Hanten uha2</title>
- 114.
- 115. <link>http://wafuku.co.uk/index.php?c=2098&p=102597</link>
- 116.
- 117. <description>Lined Hanten Jacket</description>
- 118. </item>
- 119.
- 120. <item>
- 121. <category>Buddhist Clothing</category>
- 122. <title> Buddhist Priest's Wa Kesa bc17</title>
- 123.
- 124. <link>http://wafuku.co.uk/index.php?c=80&p=102602</link>
- 125.
- 126. <description>Buddhist Priest's Wa Kesa</description>
- 127. </item>
- 128.
- 129. <item>
- 130. <category>Children's Japanese Clothes</category>
- 131. <title>Bugs Galore Jinbei & Shorts Set cx11</title>
- 132.
- 133. <link>http://wafuku.co.uk/index.php?c=2082&p=102594</link>
- 134.
- 135. <description>Bugs Galore Jinbei & Shorts Set </description>
- 136. </item>
- 272.
- 273. </channel>
- 274.
- 275. </rss>
Merci de regarder si pour moi.
Cordialement,
Cerio
- Anonymous
- Bot


- Inscription: 25 Feb 2008
- Messages: ?
- Loc: Ozzuland
- Status: Online
Avril 23rd, 2011, 3:57 pm
- cerio
- Proficient


- Inscription: Fév 07, 2004
- Messages: 263
- Loc: UK
- Status: Offline
Ok. J'ai fait quelques recherches et j'ai trouvé quelques infos sur GUID.
J'ai maintenant ajouté une ligne à chaque GUID code article...
Je ne suis pas sûr qu'il est correct. Il valide ok, mais je n'ai eu le bon lien dans le GUID? J'ai mis dans le même que le lien vers l'article.
Pour être honnête, Je ne suis pas vraiment sûr de ce que la ligne ne guid, seulement que le validateur a fait savoir qu'il était là , alors une explication de ce serait utile. Je crois qu'il arrête le stuff RSS annonce nourrir plus d'une fois quand il lit le fichier de mise à jour rss à nouveau, mais Je ne suis pas certain.
Id voudrais savoir si la façon dont je l'ai fait est correct et j'ai encore besoin d'aide avec l'attribut rel = "auto" peu, que je n'ai pas trouvé la solution pour.
Quand il s'agit de l'attribut rel = "auto" peu, j'ai fait exactement ce que le w3. page org a dit de faire à http://feed2.w3.org/docs/warning/MissingAtomSelfLink.html mais leur validateur dit qu'il est faux...
alors Im à une perte de savoir quoi faire maintenant.
Cerio
J'ai maintenant ajouté une ligne à chaque GUID code article...
Code: [ Select ]
<item>
<category>Misc Items</category>
<title>2 Japanese Itomaki xi212</title>
<link>http://wafuku.co.uk/index.php?c=888&p=102606</link>
<description>2 Japanese Itomaki - thread spool</description>
<guid isPermaLink="true">http://wafuku.co.uk/index.php?c=888&p=102606</guid>
</item>
<item>
<category>Samurai Items</category>
<title>Tsuba Sword Guard sx8</title>
<link>http://wafuku.co.uk/index.php?c=30&p=102605</link>
<description>Tsuba Sword Guard</description>
<guid isPermaLink="true">http://wafuku.co.uk/index.php?c=30&p=102605</guid>
</item>
<category>Misc Items</category>
<title>2 Japanese Itomaki xi212</title>
<link>http://wafuku.co.uk/index.php?c=888&p=102606</link>
<description>2 Japanese Itomaki - thread spool</description>
<guid isPermaLink="true">http://wafuku.co.uk/index.php?c=888&p=102606</guid>
</item>
<item>
<category>Samurai Items</category>
<title>Tsuba Sword Guard sx8</title>
<link>http://wafuku.co.uk/index.php?c=30&p=102605</link>
<description>Tsuba Sword Guard</description>
<guid isPermaLink="true">http://wafuku.co.uk/index.php?c=30&p=102605</guid>
</item>
- <item>
- <category>Misc Items</category>
- <title>2 Japanese Itomaki xi212</title>
- <link>http://wafuku.co.uk/index.php?c=888&p=102606</link>
- <description>2 Japanese Itomaki - thread spool</description>
- <guid isPermaLink="true">http://wafuku.co.uk/index.php?c=888&p=102606</guid>
- </item>
- <item>
- <category>Samurai Items</category>
- <title>Tsuba Sword Guard sx8</title>
- <link>http://wafuku.co.uk/index.php?c=30&p=102605</link>
- <description>Tsuba Sword Guard</description>
- <guid isPermaLink="true">http://wafuku.co.uk/index.php?c=30&p=102605</guid>
- </item>
Je ne suis pas sûr qu'il est correct. Il valide ok, mais je n'ai eu le bon lien dans le GUID? J'ai mis dans le même que le lien vers l'article.
Pour être honnête, Je ne suis pas vraiment sûr de ce que la ligne ne guid, seulement que le validateur a fait savoir qu'il était là , alors une explication de ce serait utile. Je crois qu'il arrête le stuff RSS annonce nourrir plus d'une fois quand il lit le fichier de mise à jour rss à nouveau, mais Je ne suis pas certain.
Id voudrais savoir si la façon dont je l'ai fait est correct et j'ai encore besoin d'aide avec l'attribut rel = "auto" peu, que je n'ai pas trouvé la solution pour.
Quand il s'agit de l'attribut rel = "auto" peu, j'ai fait exactement ce que le w3. page org a dit de faire à http://feed2.w3.org/docs/warning/MissingAtomSelfLink.html mais leur validateur dit qu'il est faux...
Code: [ Select ]
# This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following recommendations.
#
# # line 6, column 86: "self" link references a non-Atom representation: application/rss.xml [help]
#
# ... rel="self" type="application/rss.xml" />
# ^
#
# # line 6, column 86: Self reference doesn't match document location [help]
#
# ... rel="self" type="application/rss.xml" />
#
# # line 6, column 86: "self" link references a non-Atom representation: application/rss.xml [help]
#
# ... rel="self" type="application/rss.xml" />
# ^
#
# # line 6, column 86: Self reference doesn't match document location [help]
#
# ... rel="self" type="application/rss.xml" />
- # This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following recommendations.
- #
- # # line 6, column 86: "self" link references a non-Atom representation: application/rss.xml [help]
- #
- # ... rel="self" type="application/rss.xml" />
- # ^
- #
- # # line 6, column 86: Self reference doesn't match document location [help]
- #
- # ... rel="self" type="application/rss.xml" />
alors Im à une perte de savoir quoi faire maintenant.
Cerio
Page 1 sur 1
Pour répondre à ce sujet, vous devez vous connecter ou vous enregistrer. Il est gratuit.
Afficher de l'information
- Total des messages de ce sujet: 2 messages
- Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 115 invités
- Vous ne pouvez pas poster de nouveaux sujets
- Vous ne pouvez pas répondre aux sujets
- Vous ne pouvez pas éditer vos messages
- Vous ne pouvez pas supprimer vos messages
- Vous ne pouvez pas joindre des fichiers
