Using a script to change the colours of a published Storyline file

Hi guys,

this is not an area that I'm familiar with, so any experts out there, your help would be greatly appreciated!

We have the need to automate changes to a published Storyline file based on client requirements. An example would be - a client asking to have certain colours in a course changed to match their branding.

Is there any way to change these colours in the published Storyline file using a script, surely we can find the colour codes in the output CSS/HTML files and change these?

 

 

 

 

12 Replies
Matthew Womack-Evans

Hi Phil,

well that would depend on your use of the branding colours, but yes, theoretically I agree with you that this shouldn't be a hard task.

However, we were looking at trying to automate this, is there now way to do this without opening the course and doing it manually? Scripting, etc.

Steve Gannon

I believe the colors are defined in Frame.xml in the published output's 'story_content' folder. Articulate doesn't support nor recommend modifying this or any file in the published output so you'll want to be very careful if you attempt to use Javascript or other programming tool to make changes.

Matthew Womack-Evans

Hi Steve,

I had a brief look through the Frame.xml file but didn't find what I was looking for - I'll have another proper look. 

It doesn't look as though this is going to work but worth a fiddle anyway.

It does make me wonder how off the shelf content providers make any customisation changes (however small) on a larger scale. The logistics around managing this must make it impossible to 1.) Sell their content en masse or 2.) Provide any customisation what-so-ever.

Matthew Womack-Evans

As an update on this, we weren't able to change the colours as the Hex colour codes within the frame.xml file appear to relate to only the player etc. and not the content itself. But we were able to swap out images within the published file which seems to work as long as the image is the right size.

 

A related question - does anybody know how the files are compiled when publishing, i.e. are the HTML/HTML5 outputs 'pure' HTML?

It looks as though the content is compiled flash wrapped in HTML/HTML5. We were interested in finding particular content objects within the published file, is this possible? 

Leslie McKerchie

Hi Matthew!

I'm not sure that I'm following your question, but it seems like this information may be helpful:

Articulate Storyline lets you publish courses for Flash, HTML5, and the Articulate Mobile Player app. To distribute your published content, upload it to your web server or LMS, then link to the story.html file in the published output. Here’s how Storyline determines which version of your content to display when learners view it.

I'm not sure what you are looking for in the output, but I can tell you that we do not support the modification of published output.

Matthew Womack-Evans

Hi Leslie,

my understanding in this area is not the best, but basically we are looking at identifying specific content objects within the published file. As a result we are trying to find out if the output from publishing the story is fully compiled or if individual objects are accessible from within the published file.

I know you don't support modification of published content but clarification of this point would help our understanding.

Ashley Terwilliger

Hi Matthew,

There are certain elements which you may be able to find as individual objects within the output such as videos or audio files or linked documents, but as for slide objects, colors or font settings I believe those are not accessible as individual objects. 

Since it's not something we offer support for, I don't know how much more our team has understanding either, as I can honestly say I've never gone looking for more than just an audio file or PDF I attached. Hopefully there is a community expert who has more expertise here!