Author: Sarah Bird
Date: 18:05:12 04/02/99
Go up one level in this thread
On April 02, 1999 at 20:41:06, Tim Mirabile wrote: >On April 02, 1999 at 10:39:57, Sarah Bird wrote: > >>Yesterday I was trying to download games from >>http://www.chesslab.com/PositionSearch.html >>And when I cut and pasted the pgn to notepad I just got one long line of text. >>Is this due to column width, font type, characters. >>Any help.....thx. >>UltraB > >Ah, this is something different. It has to do with the way web browsers display >text. Under normal conditions, all strings of "whitespace" characters (spaces, >tabs, linefeeds) are reduced to a single space character. Then the browser >wraps the text to its screen width. So when you copy PGN from the browser to >the windows clipboard, there are no linefeed characters at the end of each line >as shown in the browser. > >The way around this (for the webmaster) is to surround the entire PGN game in a ><pre></pre> tag pair in the HTML file (or script output). This will force the >browser to treat the text between those tags as preformatted text, and display >it as written using in a fixed width font. But this runs into the same problem >above - some readers will wind up with horizontal scroll bars. > >Not sure how you would get around this yourself unless you just put in the >linebreaks yourself once you get into notepad. Tim, That is what I did/do however it seems silly if you have more than one or two games you want to download to have to do it like that. You would think the owners of the site would allow for an easier method to download the games. I had encountered this before only a couple of times at others sites, most times copy and pasting into notepad then saving as .pgn works fine. UltraB
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.