How to copy updated TOC file to HTML5 output

This forum is for all Flare issues not related to any of the other categories.

How to copy updated TOC file to HTML5 output

Postby TR Lisa on Sat Aug 12, 2017 11:26 am

Moving my built project to our servers takes 10+ hours. So I need a way to copy only a few locally-updated and built files to the server output. Not a problem with topics. But I can't find the fltoc file in the output. How can I copy an updated TOC to existing output?

Thx.
Lisa
TR Lisa
Propeller Head
 
Posts: 21
Joined: Thu Jul 06, 2017 8:09 am

Re: How to copy updated TOC file to HTML5 output

Postby Paulie on Sun Aug 13, 2017 10:23 pm

Hi Lisa,

It's been a long time since I played with this, but I think the TOCs are controlled by files stored in the Data\Tocs folder of your output directory. Note, that there may be multiple Data\Tocs folders, one for each subsystem folder.
"In an ideal world, software should be simple, well designed, and completely intuitive to end users. In the real world, good documentation is king."
Paulie
Sr. Propeller Head
 
Posts: 131
Joined: Sun Mar 01, 2015 3:01 pm

Re: How to copy updated TOC file to HTML5 output

Postby Dave Lee on Sun Aug 13, 2017 11:33 pm

I'd suggest using Publish to copy the files to your server, and use the destination setting Upload only changed files.
Dave Lee
Senior Propellus Maximus
 
Posts: 4964
Joined: Mon Mar 05, 2007 8:33 am
Location: UK

Re: How to copy updated TOC file to HTML5 output

Postby TR Lisa on Mon Aug 14, 2017 8:57 am

Thanks for the replies. I can't use Publish because we have file names that are too long thanks to some heavily nested content folders and really long file names. It breaks the publish and the fix I read about requires a version of Windows I don't have and can't get. I had looked in the output Data/TOC folder but only see js files there.
TR Lisa
Propeller Head
 
Posts: 21
Joined: Thu Jul 06, 2017 8:09 am

Re: How to copy updated TOC file to HTML5 output

Postby Dave Lee on Mon Aug 14, 2017 11:53 pm

TR Lisa wrote:Thanks for the replies. I can't use Publish because we have file names that are too long thanks to some heavily nested content folders and really long file names. It breaks the publish and the fix I read about requires a version of Windows I don't have and can't get. I had looked in the output Data/TOC folder but only see js files there.


Those js files contain the TOC data.

(If you look in the Data folder, you'll see Flare uses js files for a lot of data - I think the reason is something to do with Chrome browser compatibility.)
Dave Lee
Senior Propellus Maximus
 
Posts: 4964
Joined: Mon Mar 05, 2007 8:33 am
Location: UK

Re: How to copy updated TOC file to HTML5 output

Postby TR Lisa on Tue Aug 15, 2017 7:32 am

I had tried looking in the js file to see if I could update the TOC manually, but in Notepad it didn't show any TOC data so assumed I was wrong about it being there. I don't know anything about js really so will have to look in to what can open and edit those files. Thanks.
TR Lisa
Propeller Head
 
Posts: 21
Joined: Thu Jul 06, 2017 8:09 am

Re: How to copy updated TOC file to HTML5 output

Postby TR Lisa on Tue Aug 15, 2017 7:57 am

Just found what looks like TOC text I can edit in one of the chunked js files. I had not checked the chunks, nor do I know anything about chunks, but here we go. :)
TR Lisa
Propeller Head
 
Posts: 21
Joined: Thu Jul 06, 2017 8:09 am

Re: How to copy updated TOC file to HTML5 output

Postby Dave Lee on Tue Aug 15, 2017 11:43 pm

TR Lisa wrote:I had tried looking in the js file to see if I could update the TOC manually, but in Notepad it didn't show any TOC data so assumed I was wrong about it being there. I don't know anything about js really so will have to look in to what can open and edit those files. Thanks.


I thought you were just going to copy the TOC files (i.e. the js files) to your server; so why do you want to open and edit those files?

It's perhaps worth testing this on two local projects first, i.e. copy the version you have on your server locally, replace the js files, see if that works.

Depending on what version of Flare you're using and what HTML5 skin you're using, it may or may not work.
Dave Lee
Senior Propellus Maximus
 
Posts: 4964
Joined: Mon Mar 05, 2007 8:33 am
Location: UK

Re: How to copy updated TOC file to HTML5 output

Postby TR Lisa on Wed Aug 16, 2017 7:47 am

Hi Dave. I wasn't entirely sure a straight js copy from one build to a different build would work, because I know 0 about how js files work. But I will try it both ways, and if a straight copy works that would be fantastic.
TR Lisa
Propeller Head
 
Posts: 21
Joined: Thu Jul 06, 2017 8:09 am


Return to Flare's General Discussion

Who is online

Users browsing this forum: No registered users and 4 guests