Tinkering with the image and file markups I had an interesting idea.
The new markup I'm working on is {{file.ext|text|attrs}} but my idea
could be applied to the current link markup too: [[page|text|attrs]].
The third position in those markups is used for optional XHTML
attributes from a list, e.g.:
{{photo.jpg|cat|class=right}}
My idea is to add a new "logical layer" beetwen the attributes the
user can use and the final XHTML attributes, I mean: the list of
allowed attributes would have also an optional translation.
For example, the webmaster could configure that these attrs are
allowed as usual:
title
longdesc
class
But he could allow also these with mnemonic translations, to make life
easier to the user:
r => class="right"
l => class="left"
Or add shorter synonyms:
desc => longdesc
Or add mnemonics in several languages for the most common
attributes... There are many new possibilities.
Of course both the standard XHTML and the simpler customized
attributes could co-exist:
{{photo.jpg|cat|r title='a cat and me' desc="http://bla.biz/
desc#cat01"}}
The typing would be easier for the final user and the webmaster would
have a lot of power to change the "look and layout" of those markups
(links, images and files) without touching the sources.
If applied to the current BoltWire links, this suggested feature would
be backward compatible.
The implementation would not be difficult. I think the advantages are
worth considering for the
future.
What do you think?
Cheers,
Marcos
--
http://alinome.net
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---