Wednesday, March 08, 2006

 

Using the PGN Viewer

For all those interested in incorporating a PGN Viewer into their blogspot, here's how to do it:

Step 1: Go to this website
Step 2: Enter your game in pgn format. An example is here. You don't need all of the lines in brackets at the top, but you do need two....typically the white & black player. Remember no notations or exclamation points. There needs to be spacing as shown. Hit Submit.
Step 3: Right click on the page off to the right (not on the game itself). Go down to "view page source"
Step 4: Highlight and copy every line from "applet codebase" all the way down to near the end of the page where it says "applet" again. Include all the diagonal brackets around the words applet as well. (I tried to copy the exact text for this tutorial but then starts trying to make a java script)
Step 5: Go to blogger and create a new post. Click on "edit html" at the top right of the page (as opposed to "compose". Paste the script
Step 6: This is the "tricky" part that was giving me problems. Delete every line break after each line... all the way down the page. The keys "end" & "delete" should be repeated very often. The whole page should look like one giant paragraph.
Step 7: The pgn viewer should work after step 6. You can add some customizing which is detailed here.

Comments: Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?