Web publishing with ChessBase 12 (part 3/3)

by Albert Silver
12/29/2013 – In this final part on web publishing with ChessBase 12, you will learn how to publish several games for the javascript replayer with a drop-down menu, which can be published in your pages, or linked to, even from Facebook or any other social network. You will also be shown some tips on how to present just parts of games, combinations, studies, and more.

In this final part on web publishing with ChessBase 12, you will learn how to publish several games with a drop-down menu, as well as learn some tips on presenting just parts of games, combinations, studies, and more.

Publishing several games with a drop-down menu

Open a base where the games are saved, and highlight the ones you want to
publish. Just click on them with your mouse, while holding the Ctrl key pressed.

The right-click on one and select Output and then Publish to Web

A pop-up will appear. If you want to quickly publish them and just give a link,
select One Click Publication and provide the link (as here). Otherwise select
Create a HTML file.

Just as with one game, open the HTML file in an HTML editor, your browser (right-click
and select "View page source") or even Notepad. The HTML code you want to copy to
include in your page is located between <body> and </body>. Copy it and then paste
it where you would like the replayer and game to appear.

The end result, without the ads, will look like this:

[Event "Wch Seniors 23rd 2013"] [Site "Opatija"] [Date "2013.11.12"] [Round "1.3"] [White "Hutchinson, Norman A"] [Black "Vasiukov, Evgeni"] [Result "0-1"] [ECO "B12"] [WhiteElo "2106"] [BlackElo "2457"] [PlyCount "62"] [EventDate "2013.11.12"] 1. e4 c6 2. d4 d5 3. e5 Bf5 4. Nf3 e6 5. Be2 Na6 6. O-O Nc7 7. b3 Ne7 8. c4 Ng6 9. Be3 Be7 10. Nc3 f6 11. Qd2 O-O 12. Rad1 Bb4 13. exf6 gxf6 14. Bd3 Bg4 15. Bxg6 hxg6 16. Bf4 Bxf3 17. gxf3 Ne8 18. Qd3 g5 19. Bg3 Ng7 20. f4 g4 21. f3 gxf3 22. Rxf3 Bxc3 23. Qxc3 Kf7 24. Re1 Nf5 25. Bf2 Rh8 26. Rh3 Qg8+ 27. Kh1 Qg4 28. Rxh8 Rxh8 29. cxd5 exd5 30. Qb4 Qf3+ 31. Kg1 Rxh2 0-1 [Event "Wch Seniors 23rd 2013"] [Site "Opatija"] [Date "2013.11.12"] [Round "1.4"] [White "Kupreichik, Viktor D"] [Black "Gromark, Per-Olof"] [Result "1-0"] [ECO "C42"] [WhiteElo "2454"] [BlackElo "2102"] [PlyCount "51"] [EventDate "2013.11.12"] 1. e4 e5 2. Nf3 Nf6 3. Nxe5 d6 4. Nf3 Nxe4 5. c4 Nc6 6. Nc3 Nxc3 7. bxc3 g6 8. d4 Bg7 9. Bg5 Qd7 10. Qd2 O-O 11. Be2 Re8 12. O-O b6 13. Rfe1 Ba6 14. Qf4 Ne7 15. Nd2 d5 16. Bg4 f5 17. Bf3 c6 18. Bxe7 Rxe7 19. Rxe7 Qxe7 20. cxd5 Re8 21. h4 c5 22. d6 Qd7 23. Bd5+ Kh8 24. Nf3 cxd4 25. cxd4 Bf8 26. Ne5 1-0 [Event "Wch Seniors 23rd 2013"] [Site "Opatija"] [Date "2013.11.12"] [Round "1.5"] [White "Hjertenes, Oystein"] [Black "Balashov, Yuri S"] [Result "0-1"] [ECO "A09"] [WhiteElo "2102"] [BlackElo "2440"] [PlyCount "102"] [EventDate "2013.11.12"] 1. Nf3 d5 2. c4 d4 3. g3 Nc6 4. Bg2 e5 5. d3 Bb4+ 6. Bd2 a5 7. O-O Nf6 8. Bxb4 axb4 9. Nbd2 O-O 10. a3 bxa3 11. Rxa3 Rxa3 12. bxa3 Qe7 13. Qc1 Bd7 14. Qb2 b6 15. Nb3 Ra8 16. Ra1 Ra4 17. h3 h6 18. Kh2 Nd8 19. Nfd2 c5 20. Re1 Qd6 21. e3 Nc6 22. e4 Qc7 23. Rf1 Ne7 24. Nc1 g5 25. Ncb3 Ng6 26. Rc1 Qa7 27. Nb1 Be6 28. f3 Kg7 29. Bf1 Qe7 30. N3d2 Qd8 31. Nb3 h5 32. Qg2 Nd7 33. Be2 Qf6 34. Bd1 Ra7 35. N3d2 h4 36. g4 Qf4+ 37. Kh1 Qe3 38. Qe2 Nf4 39. Qf1 Nxd3 40. Rc2 Nf8 41. Nb3 Ng6 42. Re2 Qf4 43. Rc2 b5 44. Qxd3 bxc4 45. Rxc4 Bxc4 46. Qxc4 Qg3 47. Qf1 Nf4 48. Nxc5 Rc7 49. Nd3 Nxd3 50. Qxd3 Qe1+ 51. Kg2 Rc1 0-1 [Event "Wch Seniors 23rd 2013"] [Site "Opatija"] [Date "2013.11.12"] [Round "1.6"] [White "Rogulj, Branko"] [Black "Meizlin, Yaacov"] [Result "1-0"] [ECO "B23"] [WhiteElo "2420"] [BlackElo "2102"] [PlyCount "72"] [EventDate "2013.11.12"] 1. e4 c5 2. Nc3 Nc6 3. Bb5 Nd4 4. Bc4 g6 5. Nf3 Bg7 6. Nxd4 cxd4 7. Qf3 e6 8. Nb5 d6 9. Qa3 Be5 10. c3 d3 11. Bxd3 Qb6 12. Nd4 Bxd4 13. Qa4+ Bd7 14. Qxd4 Qxd4 15. cxd4 Ne7 16. b3 d5 17. f3 f5 18. exf5 Nxf5 19. Kf2 Kf7 20. Bb2 Rac8 21. g4 Ne7 22. h4 Nc6 23. Bc3 Ne7 24. h5 g5 25. Ke3 h6 26. Bb4 e5 27. dxe5 d4+ 28. Kf2 Nd5 29. Bg6+ Kg7 30. Bd6 Be6 31. Rhc1 Nf4 32. Be7 Nd5 33. Bc5 b6 34. Bxd4 Rhf8 35. Be4 Nf4 36. Be3 Bxg4 1-0 [Event "Wch Seniors 23rd 2013"] [Site "Opatija"] [Date "2013.11.12"] [Round "1.7"] [White "Hedin, Gunnar"] [Black "Cebalo, Miso"] [Result "0-1"] [ECO "A65"] [WhiteElo "2100"] [BlackElo "2415"] [PlyCount "86"] [EventDate "2013.11.12"] 1. d4 Nf6 2. c4 c5 3. d5 e6 4. Nc3 exd5 5. cxd5 d6 6. e4 g6 7. Nge2 Bg7 8. Ng3 a6 9. a4 h5 10. Be2 O-O 11. Bg5 Nbd7 12. O-O Qc7 13. Qd2 Nh7 14. Bh6 Ndf6 15. Bxg7 Kxg7 16. h3 Bd7 17. f4 Rae8 18. Bf3 b5 19. axb5 axb5 20. Rfe1 b4 21. e5 dxe5 22. d6 bxc3 23. Qxc3 Qxd6 24. fxe5 Qd4+ 25. Qxd4 cxd4 26. exf6+ Nxf6 27. b4 Bb5 28. Red1 d3 29. Ra5 Rb8 30. Rd2 Rfd8 31. Ra1 Rd4 32. Rb2 Nd7 33. Nf1 Ne5 34. Nd2 Rc8 35. Bd1 Nc4 36. Nxc4 Rcxc4 37. Rab1 Rf4 38. Bf3 Rc2 39. Bd1 Re2 40. Kh2 Rf1 41. Rxe2 dxe2 42. Bxe2 Bxe2 43. Rb2 Bb5 0-1 [Event "Wch Seniors 23rd 2013"] [Site "Opatija"] [Date "2013.11.12"] [Round "1.10"] [White "Kristiansen, Jens"] [Black "Kurka, Dieter"] [Result "1-0"] [ECO "D36"] [WhiteElo "2407"] [BlackElo "2091"] [PlyCount "51"] [EventDate "2013.11.12"] 1. d4 d5 2. c4 e6 3. Nc3 Nf6 4. cxd5 exd5 5. Bg5 Be7 6. e3 Nbd7 7. Bd3 c6 8. Qc2 O-O 9. Nf3 Re8 10. h3 Nf8 11. O-O Be6 12. Rab1 c5 13. dxc5 Bxc5 14. Rbd1 h6 15. Bh4 Be7 16. Nd4 Nh5 17. Bxe7 Qxe7 18. Nf5 Qd8 19. Qe2 Nf6 20. Qf3 a6 21. Bc2 Qc7 22. Nxh6+ gxh6 23. Qxf6 Rad8 24. Qxh6 Qe5 25. Rd4 Rd6 26. Rfd1 1-0 [Event "Wch Seniors 23rd 2013"] [Site "Opatija"] [Date "2013.11.12"] [Round "1.14"] [White "Kakageldyev, Amanmurad"] [Black "Stull, Norbert"] [Result "1-0"] [ECO "E97"] [WhiteElo "2384"] [BlackElo "2075"] [PlyCount "43"] [EventDate "2013.11.12"] 1. d4 Nf6 2. c4 g6 3. Nc3 Bg7 4. e4 d6 5. Nf3 O-O 6. Be2 e5 7. O-O Nc6 8. Be3 h6 9. h3 exd4 10. Nxd4 Re8 11. Nxc6 bxc6 12. Bf3 Bb7 13. Qb3 Qc8 14. Rfe1 a5 15. c5 a4 16. Nxa4 d5 17. exd5 cxd5 18. Bd4 Bc6 19. Nc3 Ne4 20. Bxg7 Nxc5 21. Rxe8+ Qxe8 22. Qd1 1-0

Advanced tips

Sometimes what you really want is to just show a key moment of a game, or just a combination. What is the best way?

Publishing part of a game

For a game excerpt, the trick is simply to remove the moves before or after, and this is incredibly easy with ChessBase 12.

In the game, go to the key move where it all starts or all ends. Right-click on
the move, select Delete, and then Delete Previous Moves or Delete Remaining
Moves. If you remember the keyboard shortcuts [ and ] it is very quickly done.
After that, follow the same procedure as above to publish a game.

The result might look like this:

[Event "Don Dailey Tribute 8CPU"] [Site "ChessGUI2"] [Date "2013.12.23"] [Round "15.4"] [White "Stockfish 101213 64-bit 8CPU"] [Black "Hannibal 1.4b 64-bit 8CPU"] [Result "1-0"] [ECO "E12"] [SetUp "1"] [FEN "2q2k1r/4rp1p/p5p1/2b1N2Q/8/1BP5/5PPP/3R2K1 w - - 0 29"] [PlyCount "11"] [EventDate "2013.??.??"] [TimeControl "40/1740:40/1740:40/1740"] {Stockfish played a lovely move here:} 29. Nxg6+ $3 {[%eval 98,35] [%emt 0:01: 03] An easy enough move for an engine, but lovely nonetheless.} fxg6 {[%eval -72,29] [%emt 0:00:00]} (29... hxg6 30. Qxh8#) 30. Qh6+ {[%eval 107,35] [%emt 0:00:42]} Rg7 {[%eval -75,31] [%emt 0:00:49]} 31. Qf4+ {[%eval 107,37] [%emt 0: 00:56]} Qf5 {[%eval -66,31] [%emt 0:00:34]} 32. Rd8+ {[%eval 98,36] [%emt 0:01: 09]} Ke7 {[%eval -64,8] [%emt 0:00:00]} 33. Qxf5 {[%eval 98,37] [%emt 0:00:57]} gxf5 {[%eval -66,6] [%emt 0:00:00]} 34. Rxh8 {[%eval 98,37] [%emt 0:00:45] White now converted the endgame with great virtuosity.} 1-0

Combinations, studies, and problems

Suppose however, you want to present a combination or a study, and don't want to spoil it by showing the solution immediately? The answer is: publish the pure diagram with the caption, and keep the solutions seperate, or at the bottom using the replayer. Here is a sample idea:

Set up the position or go to the point in the game you want to save as a diagram.
Then go to File (top left), Save, and Save position. Be warned the diagram will
correspond to the board size.

If you want to save a smaller diagram, you need to shrink the board before saving

First post the diagram such as here, with the caption. White
to play and Black to draw. Solution here.

If you read the previous parts, you understood how that linked solution was done.

Indeed, just select File, then Publish on Web, and when the pop-up appears,
choose One Click Publication. The page will open and the URL is your solution.

Otherwise, you can perfectly well embed the javascript replayer at the end:

[Event "?"] [Site "?"] [Date "????.??.??"] [Round "?"] [White "Study"] [Black "?"] [Result "1/2-1/2"] [SetUp "1"] [FEN "k7/pp3p2/5P2/1p6/1p6/1P6/1K5P/8 w - - 0 1"] [PlyCount "32"] 1. h4 a6 $3 {This is the key to Black's defense.} 2. h5 Ka7 3. h6 Kb6 4. h7 Ka5 $3 5. h8=N ({The point is that now after} 5. h8=Q {Black plays} b6 {and White can do nothing against the stalemate!}) 5... Kb6 ({The idea} 5... b6 $4 {no longer works due to} 6. Ng6 $3 ({not} 6. Nxf7 $4 {stalemate}) 6... fxg6 7. f7 g5 8. f8=Q g4 9. Qf1 g3 10. Qa1#) 6. Nxf7 Kc7 7. Ne5 (7. Kc2 Kd7 8. Ng5 a5 9. Kd3 a4 10. Kc2 Ke8 {and it will draw as White cannot progress. Black will not take on b3 or push a3, instead he will just repeat and wait until White gives up hope.}) 7... Kd6 8. Nd3 Ke6 9. Nxb4 Kxf6 10. Nd3 b6 11. Nb4 a5 12. Nd5+ Ke5 13. Nxb6 Kd6 14. Kc3 (14. Ka3 Kc5 15. Nd7+ Kd6 16. Nf6 Ke5 17. Ne8 Kd5 18. Nc7+ Kc5 19. Ne6+ Kd6 20. Nd8 Kc5 21. Nf7 Kd5 22. Ng5 Kc5 {and White cannot win anymore.}) 14... Kc6 15. Nc8 Kd5 16. Na7 (16. Kd3 Kc5 17. Kc3 b4+ 18. Kb2 Kb5 19. Kc2 a4) 16... Kc5 {draw} 1/2-1/2

That wraps up the web publishing articles, and I hope they will encourage you to share your game with friends on Facebook or any other social network, or help improve your web publishing process.


Born in the US, he grew up in Paris, France, where he completed his Baccalaureat, and after college moved to Rio de Janeiro, Brazil. He had a peak rating of 2240 FIDE, and was a key designer of Chess Assistant 6. In 2010 he joined the ChessBase family as an editor and writer at ChessBase News. He is also a passionate photographer with work appearing in numerous publications.
Feedback and mail to our news service Please use this account if you want to contribute to or comment on our news page service



Discuss

Rules for reader comments

 
 

Not registered yet? Register