mu.nu - Fighting attention deficit disorder wherever it - ooh, shiny!

May 10, 2005

Reformatting Archive Entry Links

So, I'd like to reformat the way my archive entry links display. Specifically, I run weekly archives and use this code to display the links to the archives.

<MTArchiveList archive_type="Weekly">
<a href="<$MTArchiveLink$>"><$MTArchiveTitle$></a><br />
</MTArchiveList>
This ends up looking like this:

October 31, 2004 - November 06, 2004

I'd rather have it look like this:

10/31/2004 - 11/06/2004

I've looked for a way to do this, but couldn't find it. Any suggestions?

Eric

Posted by: EricC at 05:12 AM | Comments (10) | Add Comment | Trackbacks (Suck)

1 Have you tried using the date formatting options? I don't know if they work for the archive titles though. Something like <MTArchiveTitle format="%d/%m/%Y"> might do the trick.

Posted by: Pixy Misa @ at May 10, 2005 06:48 AM

2 I've tried that one and it just leaves me with a big blank spot where the archive links should be. I didn't think it would work since it wasn't mentioned in the manual. I actually did RTFM, amazingly enough.

Posted by: Eric @ at May 10, 2005 10:05 AM

3 Oh well, worth a try.

Posted by: Pixy Misa @ at May 10, 2005 03:29 PM

Hide Comments | Add Comment






Processing 0.01, elapsed 0.0095 seconds.
22 queries taking 0.007 seconds, 25 records returned.
Page size 7 kb.
Powered by Minx 0.8 beta.