Just about a week ago I posted an article concerning the userinterface of
midgard and how to deal with "normal" users posting articles from word.
Guess what. I found a solution.
It's quite simple, itsa a vb script to copy a formated text to the
pasteboard for direct pasting into the Midgard content field. There's stil
some problems related to the script that I welcome any fixes for (I'm not a
programer myself - I'm an enviromentalist gone webdeveloper):
* </p> - tag starts the formated text.
* the script does not take tables.
This script only adds a few tags, mainly the b, u, i and p tags needed to
for simple txt formating to midgard(I don't want users f*cking up my chosen
layout with their own fonts...).
Simple instaltion:
Just copy the text into the Normal.dot's vb module and add a button (or
keyboard shortcut) to the sub.
You'll need to make a style named "mellomtittel" (or du a search and replace
to use your own) that insets a <span class="paratitle"> (txt here) </span>
on the text marked with this word-style.
The script uses the following tags:
p - in paragraphs.
b
u
i
<sub>
<span> - formating the style mellomtittel
the script also transelates norwegian caracters ��� into html.
I'll make a homepage for this that we can to on the midgard pages (as I view
this a something that makes midgard a lot mot usefull).
Any inputs to the script is very velcome.
Tarjei
endeligmakro.zip
--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]