To start on solid ground, I'll first describe what is happening here  
on a Mac:
1) exported 1 game To HTML file
- I had to dig in the Scid package to find the files in the HTML  
folder. I guess it should be automatically done: ie in the saving  
dialog the user would simply put a name for the folder, the html file  
would be created (ie index.html) and all the necessary files would be  
imported (images, css, js if needed). Actually we only give a name to  
the main file and we have to guess that we should add .html to it.
- there is no diagram, only the moves even that the option was mentioned
----
2) exported 1 game to html and js
- now it is much better, there is a board
- the comments about automatically export the necessary files are  
still valid
---
3) several games export to html
- it is looking for a bitmaps2 folder that doesn't exist in Scid.app/ 
Contents/Resources/share/scid/html
- did again by selecting bitmaps in the export window, files such as  
wbr.gif are missing
- only the second game has a diagram!? I couldn't see what it shows, I  
guess the final position
---
4) several games export to html and js
- same as 2)

Is the export to HTML file really necessary (it is quiet basic to do  
by hand)? If yes, I'll correct it.
I will start working on the html and js part. Are there any planed  
modifications of the "export to html and js" in Scid?

There is also html export of the Player Report that needs some fixing.  
For some obscure reasons, there is not (at least on the Mac) the same  
option for Player Information and Opening Report.

It would be nice to do a player report for both colors (White and  
Black), at this moment, we have to do it separately. I'd like to see  
both colors on the same page (2 columns) so I can compare.

How does that sound?
Charly
http://cf29.com/


> Well, as for the HTML generation part, it's quite easy :
>
> 1.  Load a game
>
> 2.  Try to create an HTML version with
>
> Tools \ Export Current Game \ To HTML file or \ To HTML and  
> JavaScript file
>
> 3.  Save it somewhere on your drive
>
> 4.  See what it creates with an editor
>
> 5.  Modify anything you can to improve (CSS, HTML, Javascript)
>
> 6.  Send the modifications in this mailing list, or directly to Pascal
>
> 7.  Pascal can then modify the code accordingly, or at least point out
> where to make the changes
>
> 8.  Test the modifications
>
> 9.  Indulge yourself !
>
> *****
>
> Regarding the Javascript part : there is this incredible tool,
> LT-PGN-Viewer, which interprets directly some PGN :
>
> http://www.lutanho.net/pgn/pgnviewer.html
>
> This would be a very good start to work on the Javascript part.  It
> would need to be modified, because there are frames, but there is
> something very interesting in not having to translate a PGN to some
> function created only to move pieces for a single game.


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Scid-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scid-users

Reply via email to