Developers

Flat
TGCwidgets - embeddable game widgets for your site
User: Ikke
Date: 3/4/2016 4:31 pm
Views: 3588
Rating: 0

I just launched the very first version (let's call it v0.1 beta) of the TGC widget creator. It's a simple tool that creates embeddable widgets with game info and a 'buy now' button, that you can place on your website.

I plan to add more customisation options to it soon. If there are questions or suggestions, feel free to post them here, or post them over at Github issues (click the 'support' link on the site).

Re: TGCwidgets - embeddable game widgets for your site
User: tarotbear
Date: 3/4/2016 4:40 pm
Views: 27
Rating: 0

I'd like to know more about what it does, how it works, etc., before I add my game into it, unknowing of the outcome .... Undecided

Re: TGCwidgets - embeddable game widgets for your site
User: Ikke
Date: 3/4/2016 5:07 pm
Views: 254
Rating: 0

I've added some information in the original post.

I will expand the website itself as well, adding some more information on there about what exactly it does, but first I'm working on customisation options and different sizes of widgets.

Is there anything specific that you want to know at this point?

Re: TGCwidgets - embeddable game widgets for your site
User: Unlimited Media Works
Date: 3/7/2016 2:52 pm
Views: 58
Rating: 0

Are you caching the API call? How long does the cache last?

Re: TGCwidgets - embeddable game widgets for your site
User: Ikke
Date: 3/8/2016 2:45 am
Views: 264
Rating: 0

There's no caching implemented, it just fetches the latest data from the API when the widget is loaded.

Are you having issues with caching?

Re: TGCwidgets - embeddable game widgets for your site
User: Unlimited Media Works
Date: 3/10/2016 5:24 pm
Views: 34
Rating: 0

I was confused by the fact it was an iframe; I assumed that is was serving up generated HTML instead of loading HTML that call the API.


I figured that out shortly after posting after poking around the GitHub source.

Re: TGCwidgets - embeddable game widgets for your site
User: Ikke
Date: 3/11/2016 2:53 am
Views: 1561
Rating: 0

Yeah, the site is hosted directly from Github, so I can't do any back-end processing. If the widgets become more popular, I will have to look for an alternative (since Github isn't meant to host large websites), and then I'll probably move to a DigitalOcean droplet and write a back-end app to reduce the rendering load on the client. But for now, with only around 40 pageviews daily and pretty basic functionality, using Github and client-side Javascript is plenty.

The fact that the widgets load in an iframe is actually purely to prevent CSS issues. I've been working on something similar at my job as a Javascript developer, and we've found out that we can apply as many '!important's to our styles, the host page's CSS or some Javascript library will find a way to mess it up. So we found that an iframe is still the best way to solve this problem.

PreviousNext