Plantilla de atom.xml

Esta es la plantilla que utilizo actualmente para la generación de la fuente de noticias. La pongo aqui para que no se me olvide.

Es que estoy haciendo unos cambios en el blog y si no funcionan quiero regresar a ellos. Además aqui está publicada la solución al problema de los enlaces, ya corregida. Simplemente es agregar un filtro textile_2 a la formación del cuerpo de la noticia.

<$MTHTTPContentType type="application/atom+xml"$><?xml version="1.0" encoding="<$MTPublishCharset$>"?>
<feed xmlns="http://www.w3.org/2005/Atom">
   <title><$MTBlogName remove_html="1" encode_xml="1"$></title>
   <link rel="alternate" type="text/html" href="<$MTBlogURL encode_xml="1"$>" />
   <link rel="self" type="application/atom+xml" href="<$MTBlogURL$>atom.xml" />
   <id>tag:<$MTBlogHost exclude_port="1" encode_xml="1"$>,<$MTDate format="%Y"$>:<$MTBlogRelativeURL encode_xml="1"$>/<$MTBlogID$></id>
   <updated><MTEntries lastn="1"><$MTEntryModifiedDate utc="1" format="%Y-%m-%dT%H:%M:%SZ"$></MTEntries></updated>
   <MTIfNonEmpty tag="MTBlogDescription"><subtitle><$MTBlogDescription remove_html="1" encode_xml="1"$></subtitle></MTIfNonEmpty>
   <generator uri="http://www.sixapart.com/movabletype/"><$MTProductName version="1"$></generator>

<MTEntries lastn="15">
<entry>
   <title><$MTEntryTitle remove_html="1" encode_xml="1"$></title>
   <link rel="alternate" type="text/html" href="<$MTEntryPermalink encode_xml="1"$>" />
   <id><$MTEntryAtomID$></id>
   
   <published><$MTEntryDate utc="1" format="%Y-%m-%dT%H:%M:%SZ"$></published>
   <updated><$MTEntryModifiedDate utc="1" format="%Y-%m-%dT%H:%M:%SZ"$></updated>
   
   <summary><$MTEntryExcerpt filters="textile_2" remove_html="1"   encode_xml="1"$></summary>
   <author>
      <name><$MTEntryAuthorDisplayName encode_xml="1"$></name>
      <MTIfNonEmpty tag="MTEntryAuthorURL"><uri><$MTEntryAuthorURL encode_xml="1"$></uri></MTIfNonEmpty>
   </author>
   <MTEntryCategories>
      <category term="<$MTCategoryLabel encode_xml="1"$>" scheme="http://www.sixapart.com/ns/types#category" />
   </MTEntryCategories>
   <MTEntryIfTagged><MTEntryTags><category term="<$MTTagName encode_xml="1"$>" scheme="http://www.sixapart.com/ns/types#tag" />
   </MTEntryTags></MTEntryIfTagged>
   <content type="html" xml:lang="<$MTBlogLanguage ietf="1"$>" xml:base="<$MTBlogURL encode_xml="1"$>">
      <$MTEntryBody  filters="textile_2" encode_xml="1" convert_breaks="0"$>
      <$MTEntryMore  filters="textile_2" encode_xml="1" convert_breaks="0"$>
   </content>
</entry>
</MTEntries>
</feed>
Entradas Relacionadas