More about MyChess viewer and WordPress

HungarianKnight wanted to know how I got the MyChess viewer to work in a WordPress blog posting. WordPress by default does a lot of automagic to the text that you write. But inserting the viewer code into a post requires that you get WordPress to leave the HTML alone. So turn off the rich text editor, and use a plugin like TextControl to turn off auto-formatting and character encoding on the post containing a viewer. Then upload the MyChess .class files to somewhere that’s web accessible. Then you can put HTML code like this into your post:

<applet width="630" height="560" align="bottom"
           code="ChessBoard.class"
           codebase="http://www.eddins.net/steve/chess/games/MyChess">
<param value="http://www.eddins.net/steve/chess/games/2006/August/eddins-lung-29-aug-2006.pgn"
           name="pgngamefile" />
This entry was posted in Chess. Bookmark the permalink. Both comments and trackbacks are currently closed.

One Comment

  1. Posted September 13, 2006 at 7:06 pm | Permalink

    Thanks . . . I got it working.