Vanity Foul
Dedicated to the wanderings of an egotistical mind.


20040719
Monday July 19, 2004

Here we go again.
( Jul 19 2004, 12:46:47 PM ) News Permalink Comments [1]
Trackback: http://www.brainopolis.com/roller/trackback/lance/Weblog/here_we_go

ACLU Pizza Scary. Via Ben Hyde.
( Jul 19 2004, 11:19:50 AM ) News Permalink
Trackback: http://www.brainopolis.com/roller/trackback/lance/Weblog/aclu_pizza

Template Decorators in Roller

Last week on the Roller-Dev mailing list I promised to post an example of the "decorator" support I'd built into Roller. This functionality was inspired by Matt's post about supporting SiteMesh decoration in Roller. While I don't know if this could truly be called a Decorator, it does at least approximate what SiteMesh does (for Velocity).

To demonstrate I put together a page to display the most recent comments for Vanity Foul. Besides implementing a Latest Comments page I also created a Decorator page (_mydecorator) to wrap the page in a familiar look. By specifying #set( $decorator = "_mydecorator" ) in my Latest Comments page I inform Roller of which Decorator to use (currently it defaults to a "no-op decorator").

Wanna see how I wrote that View Source Page?
BTW: I know the layout html is ugly, but I "inherited" the HTML, didn't design it myself. I keep telling myself that I'll get around to improving it....

Update: I like this idea so much I converted my To-Do List and Wish List to use the Decorator as well.
( Jul 19 2004, 10:16:52 AM ) Roller Permalink Comments [2]
Trackback: http://www.brainopolis.com/roller/trackback/lance/Weblog/template_decorators_in_roller

For further reading on today's posts:



20040716
Friday July 16, 2004

RSYA

Or "Referer Spamming Yet Again". The issue of referer spam has come up again, so I'll repost about my referer-spammer list. I've been listing it in XML, but I see now it will be more valuable to the Roller community as a comma-delimited list (suitable for copy-pasting straight into your own Spam Prevention box).

Also worth mentioning is that Roller supports directly deleting Referer Spam, using the Weblog::Referers tab.
( Jul 16 2004, 10:14:29 AM ) Roller Permalink Comments [1]
Trackback: http://www.brainopolis.com/roller/trackback/lance/Weblog/rsya



20040708
Thursday July 08, 2004

Is there a 12-step program for this?

I'm afraid I've become seriously addicted to Dairy Queen's Mocha Moolatte! It's got three of my favorites: coffee, chocolate & ice cream. Good thing they don't put nicotine in there or I'd really be hooked.
( Jul 08 2004, 08:39:42 PM ) Humor? Permalink
Trackback: http://www.brainopolis.com/roller/trackback/lance/Weblog/is_there_a_12_step

OJB Fun Hot diggety damn I've got to find time to try out OJB. OJB is much more like an (old, dead) OR tool I used to use (ROF).
( Jul 08 2004, 11:06:12 AM ) Technology Permalink Comments [3]
Trackback: http://www.brainopolis.com/roller/trackback/lance/Weblog/ojb_fun

JUnit TestDecorator The only practical example of using TestDecorator I've been able to find: JUnit Architecture Redux ( Jul 08 2004, 10:51:41 AM ) Technology Permalink Comments [1] [Link]
Trackback: http://www.brainopolis.com/roller/trackback/lance/Weblog/junit_testdecorator



20040630
Wednesday June 30, 2004

An Interview With Plain Layne And this is the last I'll post about it. Though Plain Layne's popularity does make me a bit jealous.
( Jun 30 2004, 08:10:21 AM ) News Permalink
Trackback: http://www.brainopolis.com/roller/trackback/lance/Weblog/an_interview_with_plain_layne




archives
links