Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet message from alt.ascii-art, 7 Oct 1999.
Sv: ASCII and e-mail + hint on how to do easy HTML and ASCII

Sv: ASCII and e-mail + hint on how to do easy HTML and ASCII integration on a webpage

: > : Receiver must select the right font. You can only say what font u use
and
: > : receiver should use same kind of font. MS outlook express can use the
: > : message source to see the message as sended.
: >
: > Yes , that works for normal email programs.
: > For those recipients you know use a webmail and can therefore not choose
: > their font,
: > try putting this piece of HTML before the ASCII-ART :
: >
: > <PRE><TT>
: >
: > and this after :
: >
: > </TT></PRE>
: >
:
: In a plain-text environment (such as email) that *should* cause the
: text:
:
: <PRE><TT>
:
: and this after :
:
: </TT></PRE>
:
: to appear, nothing else.

That is why i pointed out that it would only work with webmails.
In a plain-text environment (such as email) you should set the font right,
like Jones pointed out.

: > This little trick can also be used on webpages , if you want to display
your
: > work on the web.

: a. It is not a "little trick", it is the way to present preformatted
:    text (which ascii art is) in html.

Figure of speech .. sorry.

: b. The <tt> tag is not necessary.

Yes it is -- you just don't know it yet .. read on.

: > Some however choose to display ASCII together with HTML and for thoose
of
: > you who do
: > know that the <PRE><TT> method is (IMHO) the best method.
:
: Uh? Using <pre> (no other tags) is *the* method.

You could say that , and in many cases just a <PRE> works.. BUT it is my
experience
that some browsers (mainly older ones) requires both tags to be set to
display the
art just right. You can get away with setting only <pre> with a large number
of browsers but in a few that just does'nt cut it - Blame it on buggy
browsers because
yes ... <pre> should be enough if you follow the standard .. but as we all
know ,
browsers can't be troubled with standards - they go their own ways.

I know this because I was once the happy programmer of a finger -> web
gateway, which
 I wanted to be able to show the ascii-art people often wrote in their .plan
files
(no other finger gateway i knew of did this) and in my test of it I
discovered that
<pre> would'nt always set the font to one of fixed-witdh on some browsers ..
but only
display spaces and linebreaks as they were written and still it would
display all
text in a proportional font.
I sadly don't have the gateway up anymore as i changed schools to one where
they did'nt allow stundent webpages and CGI.
Shame.. it was a nice little gateway .. detected webaddresses and created
the appropriate links too (in a somewhat smarter way than outlook does it)
without messing up user made links in the .plan (some people put HTML in
their .plan 's
- which I personally think is a no-no)

Anyone out there know of a free unix shellaccount that allows you to do CGI
? and fingerlookups ..

: > I have seen that some people set <PRE> and then use hundreds of &nbsp 's
: >  .. not only does that make the pages much larger in filesize but it's
also
: > more tedious to do and looks weird when you view the source.

: I think it's usually dumb programs that try to guess what you're
: thinking that do this.

What .. people that handcode their ascii-art don't handcode their HTML ?

: You do, however, need to do a little bit more than simply slap
: <pre></pre> around your pictures. You need to:
:
: 1.  Replace all   &   with &amp;
: 2.  Replace all   <   with &lt;

Ohh yeah forgot about that .. yes people - remember to run that
search-replace.

and all > with &gt;

: Please note that the semicolons are necessary, and the replacing should
: be done in the order listed above.


: Here's a little thing I made for quick "htmlifying" of ascii art:
: http://www.ludd.luth.se/users/vk/cgi/ASCII-to-HTML/

I'll be sure to check it out

- CeeJay

Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f996b,adc6512697c56531
X-Google-Attributes: gidf996b,public
From: "Christian 'CeeJay' Jensen" <kil...@CeeJay.findhere.com>
Subject: Sv: ASCII and e-mail + hint on how to do easy HTML and ASCII integration on a webpage
Date: 1999/10/07
Message-ID: <7thp75$btm$1...@news.inet.tele.dk>#1/1
X-Deja-AN: 533835238
References: <01bf0eb6$77b43a00$ac756291@default> <W6MK3.290$Uc6...@read2.inet.fi> <7tgipu$sn3$1...@news.inet.tele.dk> <37F...@earthling.net>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-Complaints-To: Department of Abuse <abu...@news.inet.tele.dk>
X-Trace: news.inet.tele.dk 939288613 12214 195.249.198.43 (7 Oct 1999 09:30:13 GMT)
Organization: Customer of Tele Danmark Internet
X-MSMail-Priority: Normal
Reply-To: "Christian 'CeeJay' Jensen" <kil...@CeeJay.findhere.com>
NNTP-Posting-Date: 7 Oct 1999 09:30:13 GMT
Newsgroups: alt.ascii-art
About this message. This message was posted publicly to the newsgroup alt.ascii-art in 1999 and is mirrored here unchanged as part of the Historic Archives – only email addresses are masked. The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can. Are you the author? Contact us to get your posts attributed, connected to your artist profile, or removed.

Report this message

Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.

Help classify this post