Destinations
TypePad, Website August 7th, 2003 |Not much in the way of posting tonight. Instead, I concentrated on converting the ‘Destinations’ section of my sidebar so that all items now have comment and TrackBack ability, and there are archives for items that have scrolled off the page.
Doing this was fairly easy, if a little time consuming. All I had to do was create a new weblog to hold all the links, instead of using a TypeList (since TypeLists don’t support archives, comments, or TrackBack). For the weblog itself, I just copied all my templates from Eclecticism so that the visual design matches this one, and then tweaked them a bit so that they linked directly back to Eclecticism’s main page rather than the new blog’s main page, as it’s intended to be a subset of this blog.
I then added a new Index Template that mimics the output of the TypeList. Since TypeLists are simply unordered lists, this was fairly easy to do — here’s my ‘destinations.inc’ template (extra linebreaks added for readability):
<h2>Destinations</h2>
<ul>
<MTEntries lastn="10">
<li><a href="<$MTEntryBody$>" title="<$MTEntryTitle$>"><$MTEntryTitle$></a>
<MTEntryIfExtended>
<br /><$MTEntryMore$>
</MTEntryIfExtended>
<MTEntryIfAllowComments> | <a href="<$MTEntryPermalink$>#comments" title="Read comments for '<$MTEntryTitle$>'">c:<$MTEntryCommentCount$></a></MTEntryIfAllowComments>
<MTEntryIfAllowPings> | <a href="<$MTEntryPermalink$>#trackback" title="See TrackBack pings for '<$MTEntryTitle$>'">tb:<$MTEntryTrackbackCount$></a></MTEntryIfAllowPings>
</li>
</MTEntries>
<li><a href="http://djwudi.typepad.com/destinations/archives.html" title="Destinations archives">Archives…</a> | <a href="http://djwudi.typepad.com/destinations/index.rdf" title="Subscribe to Destinations">RSS Feed</a></li>
</ul>
Then I altered the code in the ‘sidebar1.inc’ template for Eclecticism so that rather than inserting the Destinations TypeList, it inserted the ‘destinations.inc’ file I had just created.
After that, it was just a matter of copying all the old TypeList entries into posts in the new Destinations weblog. Each post gets a normal title, the URL of the link goes in the main post body, and any descriptive text goes in the extended entry — very similar to the TypeList method of entry, just in a standard post form.
End result, the same basic functionality of the TypeList I was using before, only now with comments, TrackBack, and archives. Not bad for an evening’s work.
[See also: Atom feed now available | RSS Templates for TypePad Pro/MovableType | Importing MT archives: month by month | Speeding things up | More TrackBack mumbo-jumbo ]






August 7th, 2003 at 4:39 am
very cool. i was wishing i had comments in my sideblog much like kottke does and you’ve gone ahead and done it.
a tip of the hat to you.
August 7th, 2003 at 8:59 am
Using MT Tags in TypePad
I have never used Moveable Type, but i like the fact that TypePad can harness the power and flexibilty of MT. Authentic Geek explains how.
Between this and Michael’s expla…
August 7th, 2003 at 9:28 am
You’re a Smartie!
The only problem I see now is that in the full entry page (with comment addition) your right sidebar is flowing underneath the live comment preview. As usual I’m on IE 6 on PC (joy.)
August 7th, 2003 at 9:34 am
next challenge - getting the comments from your destinations list to pop up in your recent comments.
August 7th, 2003 at 10:22 am
(Tips his hat back) Thank ye, kindly, sir!
Grrr. IE needs to die a quick and painful death. Things look fine here on Safari.
The comments would be a challenge, because they’re on seperate blogs. The closest idea I can come up with would be creating an index template for Destinations that just lists the last n comments, then including it in one of the sidebars on Eclecticism. That, however, would increase the length of the sidebars even more, and it’d be two seperate lists, instead of one integrated list.
I probably could create a similar ‘sideblog’ effect by using one ‘Destinations’ category and <MTEntries category=”destinations”> tags, like you’ve done on geek*muffin, but I like having seperate archives for the Destinations, and being able to categorize them.
I think for now, this is the best things will be able to get. Any of the Destinations individual pages will have a list of the last 10 comments for Destinations on their pages, so there’s at least something.
August 23rd, 2003 at 9:04 pm
Friday Feast #56: CSS, MT, Style Guides, TopStyle
I’ve had an interesting and challenging 7 days dealing with Movable Type and server upgrade issues, unusual thunder storms, and daily life. In the meantime, the world marches on, and there are plenty of great links to share for today’s feast — CSS lay…
September 10th, 2003 at 3:56 am
somewhere’lse
Added a side column called somewhere’lse which are links of sites or pages which I read about from other blogs or sites. Got the ideas from eclecticism post on how he created his Destinations page. Each post gets a normal…
October 22nd, 2003 at 10:32 am
The GlobalListings plugin ( http://mt-plugins.org/archives/entry/globallistings.php ) does let you fetch comments from other blogs on the same server.