2003-09-25

I think I finished the technical part of the Oddmuse file upload. Now I’ll have to think some more about Pierre Gaston’s comments on the kind of markup rules he’s expecting and what sort of changes those would require. The current syntax rules are really simple:

This links to the file on the FooBar page:

[link:FooBar]

I will probably scrap the rule, since you could just link to the FooBar page directly if you wanted to.

This attempts to inline the image on the FooBar page:

[image:FooBar]

If there is no image on that page, it will just fail silently. Usually browsers will then display the ALT text – and the ALT text is set to the pagename.

The longer I think about it, people will probably have very specific formatting rules for their images anyway. I know I do, because I require some extra div tags arround my images, so that I can have them in floating frames on the left or on the right.

So perhaps *no* formatting rule would be the best.