¿Cómo puedo hacer elementos de orientación y necesita ayuda con rel = "auto"

  • cerio
  • Proficient
  • Proficient
  • Avatar de Usuario
  • Registrado: Feb 07, 2004
  • Mensajes: 263
  • Loc: UK
  • Status: Offline

Nota Abril 23rd, 2011, 3:57 pm

Hola.
He creado un canal RSS para mi sitio web, pero, a pesar de que valida, hay dos cosas que plantea que no saben cómo tratar. Uno de ellos es orientación elementos y la otra es rel = "auto"...véase el informe de validación y el feed RSS. xml a continuación (He quitado algunos de los elementos, sólo para hacerla más corta de aquí).

Estoy buscando instrucciones paso a paso de cómo hacer los elementos de orientación y la forma de ordenar el atributo rel = "auto" cosa.

Validación de los informes
Código: [ 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
  1. This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following recommendations.
  2.   # line 6, column 86: "self" link references a non-Atom representation: application/rss.xml [help]
  3.   ... rel="self" type="application/rss.xml" />
  4.                          ^
  5. # line 6, column 86: Self reference doesn't match document location [help]
  6.   ... rel="self" type="application/rss.xml" />
  7.                          ^
  8. # line 37, column 1: item should contain a guid element (27 occurrences) [help]
  9.       </item>
  10. Source: http://www.wafuku.co.uk/rss.xml


A continuación se muestra el código rss.xml

Código: [ 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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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 &amp; Shorts Set cx11</title>
132. 
133. <link>http://wafuku.co.uk/index.php?c=2082&amp;p=102594</link>
134. 
135. <description>Bugs Galore Jinbei &amp; Shorts Set </description>
136. </item>

272. 
273. </channel>
274. 
275. </rss>
  1.   1. <?xml version="1.0" encoding="ISO-8859-1" ?>
  2.   2. 
  3.   3. <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  4.   4. 
  5.   5. <channel>
  6.   6. <atom:link href="rss.xml" rel="self" type="application/rss+xml" />
  7.   7. 
  8.   8. <title>Wafuku Kimonos New Items</title>
  9.   9. 
  10.  10. <link>http://www.wafuku.co.uk</link>
  11.  11. 
  12.  12. <description>New items on wafuku.co.uk</description>
  13.  13. 
  14.  14. <language>en</language>
  15.  15. 
  16.  16. <generator>http://www.wafuku.co.uk</generator>
  17.  17. 
  18.  18. <image>
  19.  19. 
  20.  20. <url>http://www.wafuku.co.uk/images/wafrss.png</url>
  21.  21. 
  22.  22. <title>Wafuku Kimonos New Items</title>
  23.  23. 
  24.  24. <link>http://www.wafuku.co.uk</link>
  25.  25. 
  26.  26. </image>
  27.  27. 
  28.  28. <pubDate>Sat, 23 Apr 2011 01:00:00 +0100</pubDate>
  29.  29. 
  30.  30. <item>
  31.  31. <category>Misc Items</category>
  32.  32. <title>2 Japanese Itomaki xi212</title>
  33.  33. 
  34.  34. <link>http://wafuku.co.uk/index.php?c=888&amp;p=102606</link>
  35.  35. 
  36.  36. <description>2 Japanese Itomaki - thread spool</description>
  37.  37. </item>
  38.  38.
  39.  39. <item>
  40.  40. <category>Samurai Items</category>
  41.  41. <title>Tsuba Sword Guard sx8</title>
  42.  42. 
  43.  43. <link>http://wafuku.co.uk/index.php?c=30&amp;p=102605</link>
  44.  44. 
  45.  45. <description>Tsuba Sword Guard</description>
  46.  46. </item>
  47.  47.
  48.  48. <item>
  49.  49. <category>Footwear Boots</category>
  50.  50. <title>Jika Tabi 24cm fb3</title>
  51.  51. 
  52.  52. <link>http://wafuku.co.uk/index.php?c=45&amp;p=102604</link>
  53.  53. 
  54.  54. <description>Jika Tabi 24cm</description>
  55.  55. </item>
  56.  56.
  57.  57. <item>
  58.  58. <category>Footwear Boots</category>
  59.  59. <title>Jika Tabi 26cm fb2</title>
  60.  60. 
  61.  61. <link>http://wafuku.co.uk/index.php?c=45&amp;p=102603</link>
  62.  62. 
  63.  63. <description>Jika Tabi 26cm</description>
  64.  64. </item>
  65.  65.
  66.  66. <item>
  67.  67. <category>Women's Clothes Haori</category>
  68.  68. <title>Leaf Squares Haori wh586</title>
  69.  69. 
  70.  70. <link>http://wafuku.co.uk/index.php?c=38&amp;p=102599</link>
  71.  71. 
  72.  72. <description>Leaf Squares Haori</description>
  73.  73. </item>
  74.  74.
  75.  75. <item>
  76.  76. <category>Obi Hanhaba</category>
  77.  77. <title>Noh Characters Hanhaba Obi oh52</title>
  78.  78. 
  79.  79. <link>http://wafuku.co.uk/index.php?c=62&amp;p=102600</link>
  80.  80. 
  81.  81. <description>Noh Characters Hanhaba Obi</description>
  82.  82. </item>
  83.  83.
  84.  84. <item>
  85.  85. <category>Obi Hanhaba</category>
  86.  86. <title>Glinting Loopy Waves Hanhaba Obi oh53</title>
  87.  87. 
  88.  88. <link>http://wafuku.co.uk/index.php?c=62&amp;p=102601</link>
  89.  89. 
  90.  90. <description>Glinting Loopy Waves Hanhaba Obi</description>
  91.  91. </item>
  92.  92.
  93.  93. <item>
  94.  94. <category>Unisex - Jinbei</category>
  95.  95. <title>Ukiyoe Jinbei Jacket uhj3</title>
  96.  96. 
  97.  97. <link>http://wafuku.co.uk/index.php?c=2100&amp;p=102596</link>
  98.  98. 
  99.  99. <description>Ukiyoe Jinbei Jacket</description>
  100. 100. </item>
  101. 101.
  102. 102. <item>
  103. 103. <category>Unisex - Hanten</category>
  104. 104. <title>Brick Wall Hanten uha3</title>
  105. 105. 
  106. 106. <link>http://wafuku.co.uk/index.php?c=2098&amp;p=102598</link>
  107. 107. 
  108. 108. <description>Ukiyoe Jinbei Jacket</description>
  109. 109. </item>
  110. 110.
  111. 111. <item>
  112. 112. <category>Unisex - Hanten</category>
  113. 113. <title>Lined Hanten uha2</title>
  114. 114. 
  115. 115. <link>http://wafuku.co.uk/index.php?c=2098&amp;p=102597</link>
  116. 116. 
  117. 117. <description>Lined Hanten Jacket</description>
  118. 118. </item>
  119. 119.
  120. 120. <item>
  121. 121. <category>Buddhist Clothing</category>
  122. 122. <title> Buddhist Priest's Wa Kesa bc17</title>
  123. 123. 
  124. 124. <link>http://wafuku.co.uk/index.php?c=80&amp;p=102602</link>
  125. 125. 
  126. 126. <description>Buddhist Priest's Wa Kesa</description>
  127. 127. </item>
  128. 128.
  129. 129. <item>
  130. 130. <category>Children's Japanese Clothes</category>
  131. 131. <title>Bugs Galore Jinbei &amp; Shorts Set cx11</title>
  132. 132. 
  133. 133. <link>http://wafuku.co.uk/index.php?c=2082&amp;p=102594</link>
  134. 134. 
  135. 135. <description>Bugs Galore Jinbei &amp; Shorts Set </description>
  136. 136. </item>
  137. 272. 
  138. 273. </channel>
  139. 274. 
  140. 275. </rss>


Gracias por mirar si por mí.

Un cordial saludo,
Cerio
  • Anonymous
  • Bot
  • No Avatar
  • Registrado: 25 Feb 2008
  • Mensajes: ?
  • Loc: Ozzuland
  • Status: Online

Nota Abril 23rd, 2011, 3:57 pm

  • cerio
  • Proficient
  • Proficient
  • Avatar de Usuario
  • Registrado: Feb 07, 2004
  • Mensajes: 263
  • Loc: UK
  • Status: Offline

Nota Abril 23rd, 2011, 5:37 pm

Ok. Hice algunas búsquedas y encontrar algo de información acerca de GUID.
Ahora he añadido una línea GUID para cada código de artículo...
Código: [ Select ]
<item>
<category>Misc Items</category>
        <title>2 Japanese Itomaki xi212</title>

        <link>http://wafuku.co.uk/index.php?c=888&amp;p=102606</link>

        <description>2 Japanese Itomaki - thread spool</description>
        <guid isPermaLink="true">http://wafuku.co.uk/index.php?c=888&amp;p=102606</guid>
    </item>
    
    <item>
<category>Samurai Items</category>
        <title>Tsuba Sword Guard sx8</title>

        <link>http://wafuku.co.uk/index.php?c=30&amp;p=102605</link>

        <description>Tsuba Sword Guard</description>
        <guid isPermaLink="true">http://wafuku.co.uk/index.php?c=30&amp;p=102605</guid>
    </item>
  1. <item>
  2. <category>Misc Items</category>
  3.         <title>2 Japanese Itomaki xi212</title>
  4.         <link>http://wafuku.co.uk/index.php?c=888&amp;p=102606</link>
  5.         <description>2 Japanese Itomaki - thread spool</description>
  6.         <guid isPermaLink="true">http://wafuku.co.uk/index.php?c=888&amp;p=102606</guid>
  7.     </item>
  8.     
  9.     <item>
  10. <category>Samurai Items</category>
  11.         <title>Tsuba Sword Guard sx8</title>
  12.         <link>http://wafuku.co.uk/index.php?c=30&amp;p=102605</link>
  13.         <description>Tsuba Sword Guard</description>
  14.         <guid isPermaLink="true">http://wafuku.co.uk/index.php?c=30&amp;p=102605</guid>
  15.     </item>


No estoy seguro de que es correcta. Se valida bien, pero me queda el enlace correcto en la orientación? Puse en el mismo como el enlace al artículo.

Para ser honesto, no estoy realmente seguro de lo que la línea de orientación es, sólo que el validador informó que estaba allí, así que una explicación de que sería de gran ayuda. Creo que se detenga la fuente RSS cosas lista más de una vez cuando se lee el archivo actualizado rss de nuevo, pero no estoy seguro de ello.

Identificación gustaría saber si la forma en que lo han hecho es correcto y todavía necesita ayuda con el atributo rel = "auto" bits, lo que no he encontrado la solución para.

Cuando se trata de el atributo rel = "auto" poco, he hecho exactamente lo que el w3. org página dice que hacer en http://feed2.w3.org/docs/warning/MissingAtomSelfLink.html sin embargo, su validación, dice que es un error...
Código: [ 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" />
  1. # This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following recommendations.
  2. #
  3. #  # line 6, column 86: "self" link references a non-Atom representation: application/rss.xml [help]
  4. #
  5. #  ... rel="self" type="application/rss.xml" />
  6. #             ^
  7. #
  8. # # line 6, column 86: Self reference doesn't match document location [help]
  9. #
  10. #  ... rel="self" type="application/rss.xml" />


así que estoy en una pérdida para saber qué hacer ahora.

Cerio

Publicar Información

  • Total de mensajes en este tema: 2 mensajes
  • Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 71 invitados
  • No puede abrir nuevos temas en este Foro
  • No puede responder a temas en este Foro
  • No puede editar sus mensajes en este Foro
  • No puede borrar sus mensajes en este Foro
  • No puede enviar adjuntos en este Foro
 
 

© 2011 Unmelted, LLC. Ozzu® es una marca registrada de Unmelted, LLC