Forums

PGN Standard

Sort:
Ziryab

I finished my first game here, received the email with the game score, copied, and when I pasted into ChessBase found a problem. The game score was intact, but none of the header information was read by CB. I tried again in Chess Informant Expert and it worked there.

 I suspect there is some error in the implementation of the PGN standard on this site. Perhaps you could verify that all aspects of the header are correct. I noticed that the time control was not in conformance with the standard, but correcting this part did not resolve my problem.


Ziryab

I believe the problem stems from the absence of an event tag, and this may be compounded by the sequence.

 

8.1.1: Seven Tag Roster

There is a set of tags defined for mandatory use for archival storage of PGN data. This is the STR (Seven Tag Roster). The interpretation of these tags is fixed as is the order in which they appear. Although the definition and use of additional tag names and semantics is permitted and encouraged when needed, the STR is the common ground that all programs should follow for public data interchange.

For import format, the order of tag pairs is not important. For export format, the STR tag pairs appear before any other tag pairs. (The STR tag pairs must also appear in order; this order is described below). Also for export format, any additional tag pairs appear in ASCII order by tag name.

The seven tag names of the STR are (in order):

  1. Event (the name of the tournament or match event)

  2. Site (the location of the event)

  3. Date (the starting date of the game)

  4. Round (the playing round ordinal of the game)

  5. White (the player of the white pieces)

  6. Black (the player of the black pieces)

  7. Result (the result of the game)

A set of supplemental tag names is given later in this document.

For PGN export format, a single blank line appears after the last of the tag pairs to conclude the tag pair section. This helps simple scanning programs to quickly determine the end of the tag pair section and the beginning of the movetext section.

  http://www.saremba.de/chessgml/standards/pgn/pgn-complete.htm

 


Ziryab

I played with it some more, reversing each change I made to isolate the two that made a difference.

The headers must include an event tag.

There must be a space between the headers and the game score.

 Fix these, and the PGN feature here will permit me to save my games as I have saved many thousands played elsewhere.


erik

ziryab:

i'm sorry - i didn't notice this thread until now! we will get these fixed!! 


jay
This should be fixed now. Give it a shot.
Ziryab
Yes. Thanks.