El cambio lo hice porque necesitamos tener un campo en el rss que nos de la id del artículo, estube buscando información y encontré esta página donde viene un ejemplo de como utilizar los campos <guid> y <link>:
¿Que te parece? ¿Se te ocurre alguna forma mejor de hacerlo?
PD: La id del articluo en el rss la necesitamos porque, ahora puedes poner una lista de artículos que aparecen en el mapa, y poniendo lo siguiente en el esqueleto:
el artículo aparece automáticamente desplegado en el mapa. Puedes ver un ejemplo aquí: http://www.spip.escoitar.org/?var_mode=recalcul
haciendo clic en la lista de artículos que aparece a la derecha.
Saludos!
berio
|
Fil escribió:
Hola Berio
me parece que "<guid permaLink="true">" significa que el guid debe ser
el URL del articulo... asi que parece mejor como era antes
gis: cambios no rss, creado un novo campo <link> para deixar libre o campo <guid> donde agora metemos a id do artigo.
quizás debería quitarle isPermaLink="true" a la etiqueta <guid>, y
ponerlo solo así:
[<guid>(#ID_ARTICLE)</guid>]
Eso si seria mas valido (creo).
PD: La id del articluo en el rss la necesitamos porque, ahora puedes
poner una lista de artículos que aparecen en el mapa, y poniendo lo
siguiente en el esqueleto:
No lo sé. Se lo voy a preguntar a Horacio, que fue quien hizo la función.
Mañana por la tarde nos vamos a ver para spipear, y ya lo hablamos.
berio
Fil escribió:
quizás debería quitarle isPermaLink="true" a la etiqueta <guid>, y
ponerlo solo así:
[<guid>(#ID_ARTICLE)</guid>]
Eso si seria mas valido (creo).
PD: La id del articluo en el rss la necesitamos porque, ahora puedes
poner una lista de artículos que aparecen en el mapa, y poniendo lo
siguiente en el esqueleto:
If the guid element has an attribute named "isPermaLink" with a value
of true, the reader may assume that it is a permalink to the item,
that is, a url that can be opened in a Web browser, that points to the
full item described by the <item> element. An example:
isPermaLink is optional, its default value is true. If its value is
false, the guid may not be assumed to be a url, or a url to anything
in particular.
*Note:* Aggregators must view the guid as a string. There are no rules for the syntax. It's up to the creator of the RSS document, to establish the uniqueness of the string.
*Tip:* GUID = Globally Unique Identifier.
Y no se si se refiere a un identificador único para los canales rss de mi página web, o un identificador diferente al del resto del mundo, si fuera así, no llegaría con poner la ID del artículo. ¿Que crees?
If the guid element has an attribute named "isPermaLink" with a value
of true, the reader may assume that it is a permalink to the item,
that is, a url that can be opened in a Web browser, that points to the
full item described by the <item> element. An example:
isPermaLink is optional, its default value is true. If its value is
false, the guid may not be assumed to be a url, or a url to anything
in particular.
*Note:* Aggregators must view the guid as a string. There are no rules for the syntax. It's up to the creator of the RSS document, to establish the uniqueness of the string.
*Tip:* GUID = Globally Unique Identifier.
Y no se si se refiere a un identificador único para los canales rss de mi página web, o un identificador diferente al del resto del mundo, si fuera así, no llegaría con poner la ID del artículo. ¿Que crees?