You need both the "FEN" and "SetUp" tags in order for this to work.
hmmm the problem must be somewhere else.
the PGN standard requires the SetUp tag to 1, but if FEN is present and SetUp is not there, then pgn4web is tolerant and it assumes as if SetUp = 1.
the following is without the SetUp tag in the input:
do you have a link to the errored post?
The errored post was missing the "FEN" tag, so I don't think that this is your problem -- there was simply no initial position. I've fixed the post in question, but you can reproduce the "issue" I was seeing if you just remove the "FEN" and "SetUp" tags from my posted version.
Jeremy Bernstein wrote:The errored post was missing the "FEN" tag, so I don't think that this is your problem -- there was simply no initial position. I've fixed the post in question, but you can reproduce the "issue" I was seeing if you just remove the "FEN" and "SetUp" tags from my posted version.
No need.
I thought in your post you meant the FEN tag was there but the SetUp was missing.
I did not think anyone would expect a PGN from a non-standard initial position without telling the PGN viewer somehow what the actual initial position might be
Jeremy Bernstein wrote:The errored post was missing the "FEN" tag, so I don't think that this is your problem -- there was simply no initial position. I've fixed the post in question, but you can reproduce the "issue" I was seeing if you just remove the "FEN" and "SetUp" tags from my posted version.
No need.
I thought in your post you meant the FEN tag was there but the SetUp was missing.
I did not think anyone would expect a PGN from a non-standard initial position without telling the PGN viewer somehow what the actual initial position might be
Exactly. I just wanted to document the PGN-compliant way of doing so.
[pgn][FEN "r1bk1b1r/ppp1pp2/7p/4P1p1/4p3/6P1/PPP2PP1/RN2KB1R w KQ - 2 13"]
13. Nc3 Bf5 14. O-O-O+ Kc8 15. Be2 Bg7 *[/pgn]
But this doesn't work as of 19:18 CET on the 10th of January 2011, either. I just patched the latest version of pgn4web for use on OpenChess and will switch over to it shortly, at which time, this _will_ work.
You may need to blow away your browser cache, or manually refresh the page, before it will work properly.
BTW, I am working on a sweet new, top secret feature, reverse-engineered from a number of fashionable, commercial chess programs, for this widget. Watch this space...