Seitenanfang

RSS-Feed für MovableType

Felix (der Blogger ohne Blog, deswegen auch ohne Link) fragte gerade im Blog-Tags Chat nach einem RSS-Template für MovableType. Natürlich habe ich eines, schließlich gibt es auch einen RSS-Feed zu meinem Blog. Natürlich gebe ich das auch gerne weiter.

1399323790_rss_left.pngVorweg: Eine Anteilung für Blogspot-User habe ich früher schon geschrieben. Dort ist auch erklärt, was ein RSS-Feed überhaupt ist und warum er auf einem Blog nicht fehlen darf.

Hier jetzt mein RSS-Template:

<$mt:HTTPContentType type="application/rss+xml"$><?xml version="1.0" encoding="<$mt:PublishCharset$>"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<atom:link href="<mt:Link template="Feed-RSS2">" rel="self" type="application/rss+xml" />
<title><$mt:BlogName remove_html="1" encode_xml="1"$></title>
<link><$mt:BlogURL$>?utm_source=pal-blog&amp;utm_medium=RSS&amp;utm_campaign=RSS</link>
<description><$mt:BlogDescription remove_html="1" encode_xml="1"$></description>
<language><$mt:BlogLanguage ietf="1"$></language>
<copyright>Copyright <$mt:Date format="%Y"$></copyright>
<lastBuildDate><mt:Entries lastn="1"><$mt:EntryDate format_name="rfc822"$></mt:Entries></lastBuildDate>
<generator>http://www.sixapart.com/movabletype/</generator>
<docs>http://www.rssboard.org/rss-specification</docs>
<mt:Entries lastn="25">
<item>
<title><$mt:EntryTitle remove_html="1" encode_xml="1"$></title>
<description><$mt:EntryBody encode_xml="1"$></description>
<link><$mt:EntryPermalink encode_xml="1"$>?utm_source=pal-blog&amp;utm_medium=RSS&amp;utm_campaign=RSS</link>
<guid><$mt:EntryPermalink encode_xml="1"$></guid>
<mt:EntryCategories>
<category domain="http://www.sixapart.com/ns/types#category"><$mt:CategoryLabel remove_html="1" encode_xml="1"$></category>
</mt:EntryCategories>
<mt:EntryTags>
<category domain="http://www.sixapart.com/ns/types#tag"><$mt:TagName remove_html="1" encode_xml="1"$></category>
</mt:EntryTags>
<pubDate><$mt:EntryDate format_name="rfc822"$></pubDate>
</item>
</mt:Entries>
</channel>
</rss>

Wie immer gilt: Nachdenken, bevor man copy&paste nutzt.

Felix und alle anderen: Viel Spaß mit MovableType.

 

1 Kommentar. Schreib was dazu

  1. Felix

    Vielen Dank für die nette Vorstellung ;)
    Blog ist grad im Aufbau deswegen meine Nachfrage :))

    Danke dir!
    Felix,
    der Blogger mit dem baldigen Blog

Schreib was dazu

Die folgenden HTML-Tags sind erlaubt:<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>