A user has a spreadsheet that they edit and they'd like this to be
visible from the wiki. Linking to the file works but you have to click
on the link and it is then displayed, What they would like is that,
instead seeing the link you see the contents - much like happens with an image which is configured in the properties file, i.e. you see the image
not the link to it.

Ah. If you've got HTML enabled, you can use an iframe to embed other documents.

Otherwise, I think you might want to create an Embed plugin, which would embed any attachments using either <iframe> or <object>. Latter is recommended for better XHTML compliance. Functionally they are rather same.

The code is fairly trivial; you could just use the Image plugin and change <img> to <object> and twiddle with the parameters.

Be aware though that this *is* a fairly massive security hole, so don't enable this on a public server. ;-)

/Janne

Reply via email to