On 11/01/2010 05:18 AM, Dave Jones wrote:

Hi!

> Hello all.
>
> Thank you for the replies.  Below are the responses to the questions Pascal&  
> Joost raised.
>
> # What scid version are you using?
>   4.4.2 from January 2010
>
> # And what browser do you want it to run in?
>    I have tested in Google Chrome 7.0.517.41 as well as Firefox 3.6.11&  
> 3.6.12.
>    

They work once you have the js/css files arranged.

> # Current Scid 4.x version creates 3 files upon html/script export.
> #<game.html>, scid.js and scid.css
> This is likely the issue; I do not see scid.js or scid.css files being 
> created with any of the exports I have made.
>
> # Recently (Oct 20th, see this mailing list) I committed a fix for these
> problems and some other improvements, but I assume that you are not
> fully up-to-date in that respect.
> No, my install is not that recent, I'm using the rpms.
>
> # My guess is that on your web server, something like scid.css or scid.js is 
> not found from the mygames.html file.
> I think that is the case, these files are not being created.
> I am using the rpms for Fedora 13, 32-bit from 
> "http://katrine.lpi.ru/kalenkov/";
>
> Can anyone tell me what packages might be missing; why the scid.* files are 
> not being created?
> On a related note, if these 2 files are created for each export, how do you 
> keep several exports on the same server?  Copying a new export to the web 
> site would overwrite the existing scid.css&  scid.js
>    

Good question!

The files are created upon each export, but do not change.... I might as 
well send them to you... (will do so!)

The creation is a mere copying from the installation tree into the 
directory you decide to park the html.
As to where they come from: If you are lucky you can find them somewhere 
around `which scid`. I cannot tell.

After a local scid build they are in <scid_root>/scid/html/. On the 
windows distro they are in <prog files>/scid/bin/html/.

Another suggestion, hence, is to pick a fresh tree from the scid 
sourceforge site yourself :-)

Anyway, "do not directly export to the server".  You may want to give 
the css a personal style anyway which you do not want to be overwritten.

A fully loaded scid server, has one scid.js, at least one scid.css (per 
style?) and multiple games.html (plus the bitmaps).

Cheers,
Joost.

> Thanks again.
> Dave
>
>
> --- On Sat, 10/30/10, Pascal Georges<pascal.georg...@free.fr>  wrote:
>
>    
>> From: Pascal Georges<pascal.georg...@free.fr>
>> Subject: Re: [Scid-users] Export current game to HTML and Javascript file?
>> To: "Dave Jones"<warrior_62...@yahoo.com>
>> Cc: scid-users@lists.sourceforge.net
>> Date: Saturday, October 30, 2010, 6:29 AM
>> Does this work when you export a game
>> to a file on your local drive
>> and directly open it with Firefox ?
>>
>> My guess is that on your web server, something like
>> scid.css or
>> scid.js is not found from the mygames.html file.
>>
>> Pascal
>>
>> 2010/10/30 Dave Jones<warrior_62...@yahoo.com>:
>>      
>>> Hello Pascal, thank you for the
>>> reply.
>>>
>>> I have a "bitmap" folder with several images under the
>>>        
>> same
>>      
>>> directory as the html&  pgn files.  As I
>>>        
>> mentioned,
>>      
>>> the straight html file displays a board.  Can you
>>> clarify which files I might be missing; where they are
>>>        
>> and
>>      
>>> where I need to put them?
>>>
>>> Thank you again,
>>> Dave
>>>
>>>
>>> --- On Sat, 10/30/10, Pascal Georges<pascal.georg...@free.fr>
>>> wrote:
>>>
>>> From: Pascal Georges<pascal.georg...@free.fr>
>>> Subject: Re: [Scid-users] Export current game to HTML
>>> and Javascript file?
>>> To: "Dave Jones"<warrior_62...@yahoo.com>
>>> Cc: scid-users@lists.sourceforge.net
>>> Date: Saturday, October 30, 2010, 2:55 AM
>>> Hi,
>>>
>>> My guess is that you forgot the images files.
>>>
>>> Pascal
>>>
>>> 2010/10/30 Dave Jones<warrior_62...@yahoo.com>:
>>>        
>>>>          
>>> Hello all.
>>>        
>>>>          
>>> Can anyone walk me through configuring the fonts
>>> or
>>> whatever might be needed to get the javascript board
>>> working
>>> on my webserver?
>>>        
>>>>          
>>> I managed to get the straight HTML working but
>>> all the
>>> javascript seems to do is give me a handful of arrow
>>> buttons
>>> which do nothing and click-able move positions which
>>> also do
>>> nothing.  Downloading the pgn does work but there is
>>> no
>>> board visible.
>>>        
>>>>          
>>> > From screen-shots, it seems I should be able
>>> to
>>> play through the game with a board in javascript.
>>>        
>>>>          
>>> I searched few the first few hundred messages in
>>> the
>>> archives but did not find anything.
>>>        
>>>>          
>>> Any advice is appreciated.
>>>        
>>>>          
>>> Thanks,
>>> Dave
>>>        
>>>> ______________________________________________
>>>>          
>>> Scid-users mailing list
>>> Scid-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/scid-users
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>        
>> ------------------------------------------------------------------------------
>>      
>>> Nokia and AT&T present the 2010 Calling All
>>>        
>> Innovators-North America contest
>>      
>>> Create new apps&  games for the Nokia N8 for
>>>        
>> consumers in  U.S. and Canada
>>      
>>> $10 million total in prizes - $4M cash, 500 devices,
>>>        
>> nearly $6M in marketing
>>      
>>> Develop with Nokia Qt SDK, Web Runtime, or Java and
>>>        
>> Publish to Ovi Store
>>      
>>> http://p.sf.net/sfu/nokia-dev2dev
>>> _______________________________________________
>>> Scid-users mailing list
>>> Scid-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/scid-users
>>>
>>>
>>>        
>>      
>
>
>
>    


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users

Reply via email to