Topic: Little helper to pre-format WebBoard messages (1 of 5), Read 29 times
Conf: VEDIT Macro Library
From: Christian Ziemski
Date: Saturday, June 05, 2004 12:11 PM


Since WebBoard has some problems with preformated messages I wrote
the macro webboard1.vdm.

It tries to help formatting WebBoard messages with preformated text
parts and embedded < and > characters
(assuming that the only HTML-tags manually used are <pre>, </pre>
and <br>).

It is not really comfortable, but could workaround WebBoards
formating problems.


Usage:

- Write a message as usual, using <pre> ... </pre> tags to
mark the preformated text.
e.g.:

line 1
<pre>
line2 is < line 3
line3
</pre>
line 4

- Send it to WebBoard (via browser, mail or newsreader)

- Edit your sent message in WebBoard, using a browser
It now looks like:
line 1<br>
<pre><br>
line2 is < line 3 <br>
line3<br>
</pre><br>
line 4<br>
<br>

- Cut or copy the whole text into Windows' clipboard

- Call this macro (perhaps via shortcut on desktop:
c:\vedit\vpw.exe -x webboard1.vdm -c qally )

Within the <pre> ... </pre> tags the macro has removed the
line-break tags and masked the other '<' and '>' characters.
The result has been copied to clipboard again.

- Switch back to your browser's edit window

- Paste the fixed clipboard's contents into the edit window

Now it's looking like:

line 1<br>
<pre>
line2 is &lt; line 2
line3
</pre>
line 4<br>
<br>

- Confirm/post this edited message to Webboard



Available here:

http://ziemski.privat.t-online.de/vedit/macros/webboard1.vdm


Christian

 


Topic: Re: Little helper to pre-format WebBoard messages (2 of 5), Read 20 times
Conf: VEDIT Macro Library
From: Christian Ziemski
Date: Saturday, June 05, 2004 01:34 PM

PS:

Grmbl. It's still not really satisfying :-(((

Dependent on the medium the message is received with (Browser, Mail or
News) it is looking different. WebBoard's conversions are a mystery.

But at least it is readable...

Suggestions are welcome.

(Pauli: I have seen your tests regarding <pre> formatted text.
Did you find a good solution?)

Christian

 


Topic: Re: Little helper to pre-format WebBoard messages (5 of 5), Read 18 times
Conf: VEDIT Macro Library
From: Pauli Lindgren
Date: Tuesday, June 08, 2004 12:23 PM

On 6/5/2004 1:34:00 PM, Christian Ziemski wrote:
>
>(Pauli: I have seen your tests
>regarding <pre> formatted text.
>Did you find a good solution?)

No. The text may look OK in the Preview, but when it has been posted, the empty lines have been added between each line.

--
Pauli

 


Topic: Re: Little helper to pre-format WebBoard messages (3 of 5), Read 18 times
Conf: VEDIT Macro Library
From: Ted Green
Date: Monday, June 07, 2004 12:36 PM

At 11:54 AM 6/5/2004, you wrote:
>Since WebBoard has some problems with preformatted messages I wrote
>the macro webboard1.vdm.

Personally, I either write preformatted messages with very short lines, or I create 1-paragraph lines (like this one) which auto-format.

We still plan to replace Webboard with something nicer later this year.

Ted.

 


Topic: Re: Little helper to pre-format WebBoard messages (4 of 5), Read 18 times
Conf: VEDIT Macro Library
From: Christian Ziemski
Date: Monday, June 07, 2004 02:12 PM

On Mon, 07 Jun 2004 00:36:00 -0400, Ted Green wrote:

>At 11:54 AM 6/5/2004, you wrote:
>>Since WebBoard has some problems with preformatted messages I wrote
>>the macro webboard1.vdm.
>
>Personally, I either write preformatted messages with very short lines, or I
>create 1-paragraph lines (like this one) which auto-format.

Yes, me too.

But when quoting some lines of macro code (especially with lined-up
comments) that isn't very readable in WebBoard's browser interface.
(E.g. every whitespace is reduced to one single space.)

Since I know that you are participating here via mail you may not be
aware of this display problem.

I'm using preformatted parts only for these macro code sections.


Christian