Wednesday, April 20, 2005
The Quick&Dirty Guide to Using LT-PGN-Viewer
Nezha asked how the embedded boards work. I gave a short explanation in a comment to the last post. Here's the long explanation.
The game boards are on a website outside of blogspot, since you can't upload files to blogspot. I use the LT-Pgn_Viewer package. Get the pgnviewer.zip file from that link, upload it to your website, and unzip it into a directory of your choice.
Then you upload your pgn files to your website; give them a .txt extension rather than .pgn, because if your browser doesn't know what to do with a pgn file, it will download it instead of displaying.
To get it to work in Opera, you now do this: load that url in IE (or Firefox), right-click on the game area, view the source, and save it as an html file. Upload that html file to your website.
Finally, to put that game board into your blogspot blog, you put an iframe in your post. The HTML
looks like this:
<iframe name="ali" scrolling="no" src="http://www.panix.com/~gaillard/chess/ltpgnviewer.html?games/ali.html" height="380" width="100%"></iframe>
You need to give the iframe a unique name if you have more than one in your blog, and you need to specify the height and width.
LT-PGN-Viewer has a lot of other options, like being able tyo have more than one game in a PGN file with,
with a list you can select individual game from. It comes with documentation.
Many thanks to Lutz Tautenhahn, author of LT-PGN-Viewer, both for providing this excellent free tool for chess websites, and for his great help in getting this to work on this blog.
I put the little additional information that I can add to your article in our blog at picturethis.topicalweb.com/what_just_happened/wp-trackback.php/116
It seems to work essentially the same. Thanks for blazing the trail.