Author: Odd Gunnar Malin
Date: 23:41:04 04/13/04
Go up one level in this thread
On April 14, 2004 at 01:58:02, Jonas Bylund wrote: >On April 13, 2004 at 20:52:11, Odd Gunnar Malin wrote: > >>On April 13, 2004 at 14:54:51, Andrew Wagner wrote: >> >>> >>>On April 13, 2004 at 13:53:56, Peter Schäfer wrote: >>>The idea is to store/exchange/archive games in PGML format, just like you would >>>with PGN files. Then, if you want to switch it to PGN for something, you tweak >>>one line and open it in your browser. If you want, say, a cross-table, you tweak >>>the line again and open in your browser and you get a completely different >>>result. The PGML itself doesn't get sent to the browser...XSLT transforms the >>>PGML to pure HTML and sends that to the browser. >> >>I'm not up to date with all these new tools but if the server should do the work >>(instead of the client/browser) then why not have a faster format on the server >>for search etc. >> >>As a little sidestep, I created a viewer for pgnfiles: >> >>To see the pgn-file for the St.Petersburg tournament on TWIC the link would be: >>http://norbase.sjakk.biz/pgntable.php?inter=12&lang=en&headline=15&tb1=11&tb2=12&pgnfile=http://www.chesscenter.com/twic/chstp04.pgn >> >>In the table you can click on a result to see the actual game. >> >>A swizz tournament would look like this: >>http://norbase.sjakk.biz/pgntable.php?inter=12&lang=en&headline=15&pgnfile=http://www.chesscenter.com/twic/cheurw04.pgn >>(pgn-file still from Twic) >>Here too you can clik on a result to see a game. >> >>I don't know the tiebreak rules for these tournaments so the table could be a >>little inaccurate. >> >>As you see this is a little slow, at least for Woman CH with a big file. A >>little help in speed would have been if I put the pgn-file on the server, but a >>DB-format would still be a lot faster. >> >>Odd Gunnar > >Wow!! that is really great, do you plan to release it? (BTW it helps if the >server is fast too :) try this for speed >http://norbase.sjakk.biz/pgntable.php?inter=12&lang=en&headline=15&pgnfile=http://www.betachess.dk/cheurw04.pgn > >Jonas Yes, this was much faster. But what if the file content 30000 games? A strict text search through such a file would take much longer than any user can wait. As a sample of such a search through a DB instead of a textfile would be: http://norbase.sjakk.biz/index.php?page=base&lang=en&header=0&headline=My+games&inter=12&subpage=search&action=view&white=Malin,+O&nocolor=on Here I search throug 30000 games after all games of mine. All work are done on upload of the pgn-file. I put the game into a MySql DB with indexing on the header information (White/Black/Event/Date/Site) so that a userrequest would be prety fast. (This list is also 'clickable'.) The X-table above is 'released' but I haven't made any advertice because it is mainly to help web-masters in norwegian tournament's. Since you are dannish you probably understand the helptext at: http://norbase.sjakk.biz/index.php?page=about&subpage=extra&lang=no Others have to use some sort of translationservice. You could also look here: http://norbase.sjakk.biz/index.php?page=about&subpage=web&lang=no to get some hint for implementing it into a homepage. Odd Gunnar
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.