On Mon, 7 May 2001, Mark Guzdial wrote:
> Hoping that Squeakland really takes off, it seems to me to make sense
> that we better support project links in Swiki. Here's my proposal:
> If a referenced file in an attachments area ends in ".pr" (e.g.,
> *+someproject.pr+*, then we create a link to it, but use as the
> anchor a GIF of the same basename, e.g., "<a
> href="someproject.pr"><image src="someproject.gif"></a>"
Actually, this would be useful for thumbnails in general. I always wanted
*+some.thumb.gif+>+some.gif+* to work. This seems less hackish to me than
special-casing ".pr"-files, because it's well inside the current Swiki
formatting rules. Also there might be the possibility that there is no
someproject.gif ;-)
Back to projects: clicking this in the browser does not load the Squeak
plugin - or does it? I hacked something to make this work for Unix if the
server sends the correct MIME type (I just fake a SRC argument), but in
general the plugin must be <EMBED>ed. So ... how about creating this:
<a href="someproject.pr.html"><image src="someproject.gif"></a>
and adding a formatter to assemble an HTML page containing the EMBED stuff
when a URL ending with .pr.html is requested?
-- Bert