Using Twine and Google Sites

1,010 views
Skip to first unread message

Max Webber

unread,
May 7, 2012, 8:27:11 PM5/7/12
to Tweecode / Twine
Hello,

I've finished a story in Twine that I'm very proud of. I want to show
it off on my portfolio website that I'm in the process of
constructing, but there is a problem. I understand Google Sites places
limitations on the use of Javascript, and I think Twine falls under
that umbrella.

What would be the best way to connect my twine story to my Google
Site? Is there a workaround I can use to get Twine stories on my site,
or can I host my story elsewhere easily and link to it?

Thanks,
Max

Stormrose

unread,
May 8, 2012, 2:10:32 AM5/8/12
to twee...@googlegroups.com
I think the restrictions Google Sites places on CSS and Javascript are insurmountable for Twine stories. You could try one to these other hosting services:

Or pick up a cheap paid web hosting service.

On Tuesday, May 8, 2012 12:27:11 PM UTC+12, Max Webber wrote:

Christopher Liu

unread,
May 8, 2012, 12:51:03 PM5/8/12
to twee...@googlegroups.com
Hi Max,

You could try Adventure Cow: http://adventurecow.com/twine

It's still in beta, but getting updated.

Chris


--
You received this message because you are subscribed to the Google Groups "Tweecode / Twine" group.
To post to this group, send email to twee...@googlegroups.com.
To unsubscribe from this group, send email to tweecode+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/tweecode?hl=en.


M. C. DeMarco

unread,
May 8, 2012, 2:06:59 PM5/8/12
to twee...@googlegroups.com
Max,

Another poster was trying to get a story up on Tumblr, though we
didn't hear a final answer about whether it worked.

mary
--
___________________
mcde...@gmail.com
http://gplus.to/mcdemarco/about

Max Webber

unread,
May 8, 2012, 4:40:01 PM5/8/12
to Tweecode / Twine
Thanks for your replies, everyone. As Stormrose said, the limitations
of Google Sites are making this more complicated than it has to be.
There is an HTML tool in Sites but Sites rejects my code if I try to
paste the source from my story, citing several "errors."

I have been trying to follow one recommendation many people have
championed for getting Javascript content onto a page in Site using a
Gadget. Basically this involves putting the desired code into an XML
wrapper and having Sites embed it that way. I've had poor results with
this method...anybody have any insight here?

http://www.mydigitallife.info/how-to-add-javascript-or-custom-contents-to-google-sites-with-gadget/

Finally, Chris, Adventure Cow seemed like a good bet, but it failed to
process my source code as well...

If anyone has any ideas, keep me updated. I'm not sure what else to do
short of trying to move the domain I bought from Google to a different
provider.

-MW

Stormrose

unread,
May 9, 2012, 4:42:50 AM5/9/12
to twee...@googlegroups.com
I saw those hack-arounds for getting code in and given all the problems they bring though it's not worth it. You could try setting up a freebie hosting acount that you just use to hold the Twine .html files. The rest of your site lives on GoogleSites with your fancy domain name. No cash needed.

BTW: Chris might like to know any further details you have about your try with Adventure Cow to help him improve that service.

--Et

On Wednesday, May 9, 2012 8:40:01 AM UTC+12, Max Webber wrote:

Oke_Doke

unread,
Jun 11, 2012, 9:56:12 AM6/11/12
to twee...@googlegroups.com
I'll jump in and say it is actually possible using an iframe or building your own gadget. Though you



https://developers.google.com/gadgets/ 

Open a text editor and past in the following code.
<?xml version="1.0" encoding="UTF-8" ?> 
<Module>
<ModulePrefs title="hello world example" />
<Content type="html">
<![CDATA[ Hello, world! ]]> </Content>
</Module>
Just replace  Hello, world!  with the raw html contents of the output story html file and save it as an XML file.

Upload the XML it to a file cabinet on google sites and add the custom gadget to your page (by url)

In edit mode:

Insert>>...More Gadgets >> add Gadget by URL

Save the page and presto your story will run in google sites.


You can also just upload the html file to the filecabinet for anyone to download and play offline. 

Reply all
Reply to author
Forward
0 new messages