Vanity Foul
Dedicated to the wanderings of an egotistical mind.


20030806
Wednesday August 06, 2003

Re: showRecentEntries()

I finally followed up on myself: I used Terminus' showRecentEntries(), but eased the implementation somewhat. I added the following to the top of my _Weblog page:

#macro( showRecentEntries $maxEntries )
  #set( $map = $vHelper.getRecentWeblogEntries( $maxEntries ) )
  #foreach( $day in $map.keySet() )
    #set( $entries = $map.get($day) )
    #foreach ($var in $entries)
    <a href="$baseURL/page/$userName/#formatDate($plainFormat $var.PubTime )#$var.Anchor">
    - $var.title</a><br/>
    #end
  #end
#end

and then in my navbar I added
<p>Recent Entries<br>
#showRecentEntries ( 5 )</p>

If you compare my version to Terminus's, you'll see I've eliminated the need for a separate page (just put the display into the macro). Someday I'll get around to adding this macro to Roller's stock macros.

Aug 11th: The above should work in Roller 0.9.7 (what is currently running on FreeRoller). I've committed a new macro for 0.9.8 into Roller's cvs (it won't work properly on 0.9.7). Werner, thanks for the kick-in-the-pants!
( Aug 06 2003, 11:26:09 AM ) Roller Permalink Comments [2] [Trackback]

For further reading on today's posts:



20030804
Monday August 04, 2003

Oooh, civil disobedience, courtesy of Russell Beattie. Thanks for pointing out this site. ( Aug 04 2003, 08:12:29 PM ) News Permalink [Trackback]

Re: showRecentEntries() macros for Roller

Most excellent, someone has documented how to display a "Recent Entries" list on their Roller blog. I think some improvements could be made to this (besides incorporating it into Roller), but it'll have to wait until I have some freetime. ( Aug 04 2003, 11:04:47 AM ) Roller Permalink Comments [2] [Trackback]



20030726
Saturday July 26, 2003

Help Name My Son

All votes are non-binding, and of course can be vetoed by Jen or myself.
( Jul 26 2003, 05:20:20 PM ) Personal Permalink Comments [1] [Trackback]

For further reading on today's posts:



20030725
Friday July 25, 2003

Re: CVS Hosting

JClark wonders about hosted CVS (ala Sourceforge). In the comments a representative of SourceHosting.Net suggests his service. It does look like a nice solution, but I'm wondering if $75/month is a little steep? I'm sure there are bandwidth issues to consider; anyone have any guesses as to the bandwidth used by your "average" SourceForge project? Not counting the SF.net website, of course.
( Jul 25 2003, 10:21:24 AM ) Technology Permalink Comments [1] [Trackback]



20030723
Wednesday July 23, 2003

Re: The recalcitrant engineer

I just found the recalcitrant engineer in my referer log - thanks for the link; I don't make many blogrolls outside of the Roller crowd. And I love the name and definition, as I hadn't realized I'm a bit recalcitrant myself.
( Jul 23 2003, 08:13:07 AM ) Personal Permalink [Trackback]



20030721
Monday July 21, 2003

Re: OPL

I know what OPML is, but what is OPL? OPM is Other Peoples Money, and OPT is Other Peoples Time. So is OPL Other Peoples Laundry? Would seem to fit with the title OPL Over the Air: airing other people's laundry. No?
( Jul 21 2003, 08:26:24 AM ) Humor? Permalink [Trackback]

OSCache 2.0 (beta 1)

Via David Czarnecki, a new version of OSCache is released. I think the current version of OSCache is responsible for some of the problems on FreeRoller (esp. Rickard's "my page is blank" problem). When I get a chance I'll work on getting OSCache 2 (beta) into Roller (looks like some code changes will be necessary).
( Jul 21 2003, 08:23:15 AM ) Roller Permalink [Trackback]




archives
links