CaseBlog/Templates
< CaseBlog
This page contains custom templates that can be used on your Blog@Case blog. For more information on templates, see the official documentation for Movable Type.
Contents |
[edit] Syndicated feed related templates
[edit] RSS feeds for every category
- Create a new Archive-Related Template by copying code from the existing RSS 2.0 template and saving.
- Go to WEBLOG CONFIG/Archive Files and create a new template/archive. Choose "Category Archive" for the archive type and your new Category RSS for the template. Select ADD.
- For the new template you've just added, set up an Archive File Template with this code and save changes.
<MTArchiveCategory dirify="1">.xml
- In your existing Category Index, add this code after the category names and entry counts:
<a href="<MTBlogArchiveURL>/<MTCategoryLabel dirify="1">.xml">
<IMG src="http://blog.case.edu/XXX/YYY/xml.gif" border=0></a>
where XXX is your blog directory and YYY is your image directory. Make sure to add the necessary image to your image directory. - If you want each feed to be titled differently, make sure to change the title in your new RSS Category Template so it reads similar to this:
<title><$MTBlogName remove_html="1" encode_xml="1"$>
- <$MTArchiveCategory encode_xml="1"$></title>
or every category feed will have the name of your blog only.
[edit] ATOM 1.0 Feeds
[edit] Index template
The following template can be used to generate an ATOM 1.0 feed for your blog.
<?xml version="1.0" encoding="<$MTPublishCharset$>"?> <feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-us"> <title type="text"><$MTBlogName remove_html="1" encode_xml="1"$></title> <id><$MTBlogURL$></id> <link rel="alternate" type="application/xhtml+xml" href="<$MTBlogURL$>" /> <link rel="self" type="application/atom+xml" href="<$MTBlogURL$>feed.atom"/> <author> <MTEntries lastn="1"> <name><$MTEntryAuthor encode_xml="1"$></name> <MTIfNonEmpty tag="MTEntryAuthorURL"><uri><$MTEntryAuthorURL encode_xml="1"$></uri></MTIfNonEmpty> <email><MTIfNonEmpty tag="MTEntryAuthorEmail"><$MTEntryAuthorEmail encode_xml="1"$></email></MTIfNonEmpty></MTEntries> </author> <generator uri="http://www.sixapart.com/movabletype/" version="<$MTVersion$>">Movable Type</generator> <updated><MTEntries lastn="1"><$MTEntryModifiedDate utc="1" format="%Y-%m-%dT%H:%M:%SZ"$></MTEntries></updated> <MTEntries lastn="15"> <entry> <title type="html"><$MTEntryTitle encode_xml="1"$></title> <summary type="text" xml:lang="en"><$MTEntryExcerpt encode_xml="1"$></summary> <content type="html"><$MTEntryBody encode_xml="1"$><$MTEntryMore encode_xml="1"$></content> <MTEntryCategories> <category term="/<MTCategoryLabel dirify="1" encode_xml="1">" label="<$MTEntryCategory encode_xml="1"$>" /> </MTEntryCategories> <id><$MTEntryPermalink$></id> <link rel="alternate" href="<$MTEntryPermalink encode_xml="1"$>" type="application/xhtml+xml" hreflang="en" /> <published><$MTEntryDate utc="1" format="%Y-%m-%dT%H:%M:%SZ"$></published> <updated><$MTEntryModifiedDate utc="1" format="%Y-%m-%dT%H:%M:%SZ"$></updated> </entry> </MTEntries> </feed>
Case Referrers
Blog Entries
- e3 Information Overload, E-Resources for Engineering Education: RSS Feeds for Each Category (6 referral)
- e3 Information Overload, E-Resources for Engineering Education: General Announcements Archive (7 referral)
- e3 Information Overload, E-Resources for Engineering Education: Blogging Archive (1 referral)
- e3 Information Overload, E-Resources for Engineering Education (2 referral)
- e3 Information Overload, E-Resources for Engineering Education: RSS/Blogging/Webfeeds Archive (2 referral)
- e3 Information Overload, E-Resources for Engineering Education: Archive for December 12, 2005 (1 referral)
- e3 Information Overload, E-Resources for Engineering Education: Blog Updated (1 referral)
Other Sites
- Planet Case (1 referral)
