snipsnap macros

For the impatient:
Download snarfed.jar
Download the source
SnipSnap macros
SnipSnap web site

In the course of setting up our web sites, snarfed.org and maulik.net, Maulik and I have written a number of macros for SnipSnap. To install and use these macros, download snarfed.jar, put it in your SnipSnap application’s WEB-INF/lib/ subdirectory, and restart SnipSnap.

The included macros are:

  • IndexSome, which takes a list of snip paths as its content, and displays an index with only those snips and their immediate children.

  • MakeAlbum, which creates a picture album (with thumbnails, forward and backward links, etc.) out of a set of pictures.

  • AlbumPic, which generates a thumbnail and links to a given snip. This is useful if you want more flexibility to design your own picture album. It’s similar to the snipscale macro.

  • CurrentUser, which shows the username of the current user, or “guest” if the user is not logged in.

  • Attach, which attaches a file to a snip.

  • ShowAttachments, which shows all of a snip’s attachments as links to the attachment files.

  • Utility, which provides miscellaneous code that might be of interest to macro writers.

The snarfed macros require SnipSnap 1.0b1 or greater, and is distributed under the GPL. Copyright 2002-2005 Maulik Shah, Ryan Barrett.

See also:

2 Comments

  1. 4/12/2005 #

    Hi, I like the sound of the macros. But the links do not connect with files. Can you add them or repoint them?

  2. 4/18/2005 #

    oops, sorry about that. i’ve fixed the links.

    thanks for your interest!

Post a Comment

Post a comment...

Your email is never published nor shared.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


  • home
    about
    pictures
    software
    index
    feed