Re: How to sort out an ASCII diagram. Boston Public Library floor plan.
From Veronica Karlsson <asc...@hotmail.com>
· alt.ascii-art
· 28 Oct 2001 15:15 · View full thread
· report
Don Saklad <dsa...@nestle.ai.mit.edu> wrote:
: Would there be anything else to try?...
:
: With the appropriate angle brackets and the appropriate slashes
:
: P PRE TT
: !-- ascii --
: TT PRE P
:
: didn't work for some reason!
*sigh*
There is one correct way to display ascii art in an html page. That thing up there is
not it.
1. You should use the <pre> tag (and no other tags).
2. You should encode/escape "active" characters:
Change all & to & (including the semicolon)
Change all < to < (including the semicolon)
That's it. It works. Here's a little tool I made which does the work for you:
http://www.ludd.luth.se/~vk/cgi/ASCII-to-HTML/
Example:
<pre>
---- ascii ...---''' <<< && (((!!! #######
</pre>
--
Veronica Karlsson ( e93...@sm.luth.se http://www.ludd.luth.se/~vk/ )
Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f996b,7d021739a2bc70a
X-Google-Attributes: gidf996b,public
X-Google-ArrivalTime: 2001-10-28 07:15:31 PST
Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!195.54.122.107!newsfeed1.bredband.com!bredband!luth.se!news.luth.se!news.luth.se!not-for-mail
From: Veronica Karlsson <asc...@hotmail.com>
Newsgroups: alt.ascii-art
Subject: Re: How to sort out an ASCII diagram. Boston Public Library floor plan.
Date: Sun, 28 Oct 2001 15:15:16 +0000 (UTC)
Organization: University of Lulea, Sweden
Lines: 34
Sender: Veronica Karlsson <v...@father.ludd.luth.se>
Message-ID: <100...@queeg.ludd.luth.se>
References: <y44...@nestle.ai.mit.edu> <3bdb2fd1$0$216$edf...@dspool01.news.tele.dk> <3bdb325c$0$226$edf...@dspool01.news.tele.dk> <3bdb3352$0$258$edf...@dspool01.news.tele.dk> <9rfe2v$t7k98$1...@ID-102694.news.dfncis.de> <3bdb45ee$0$230$edf...@dspool01.news.tele.dk> <y44...@nestle.ai.mit.edu>
X-Trace: news.luth.se 1004282116 15641 130.240.16.109 (28 Oct 2001 15:15:16 GMT)
X-Complaints-To: abu...@luth.se
User-Agent: tin/pre-1.4-981225 ("Volcane") (UNIX) (SunOS/4.1.4 (sun4m))
Cache-Post-Path: queeg.ludd.luth.se!unk...@father.ludd.luth.se
X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/)
Xref: archiver1.google.com alt.ascii-art:9154
Related ASCII art in the Gallery
Explore these categories from our collection of 11,000+ artworks:
Make your own ASCII art
Turn images, text or 3D into ASCII, or draw your own – right in your browser.
About this message.
This message was posted publicly to the newsgroup
alt.ascii-art
in 2001 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.