Publishing with Aggregame
Voting widget for your web site
The voting widget allows your readers to submit your stories directly to Aggregame. Once a story is submitted, readers use your web site to make the story a top competitor!
With a few lines of copy-and-paste code, anyone can submit and vote on your published stories to ensure that they receive the recognition they deserve. Once submitted, the widget will show the current score and allow Aggregamers to cast their vote without leaving your web site.
Simple and straightforward
To use the Aggregame voting widget to promote your content, simply place the following code on the story page where you would like the widget to appear. The address of the story page will be used as the story link.<script type="text/javascript" src="http://aggregame.com/publish/score.js"></script>
Choosing a theme
Several different sizes and themes offer flexibility to match the layout of your web site. See below for a list of available themes.<script type="text/javascript">
ag_theme = 2;
</script>
<script type="text/javascript" src="http://aggregame.com/publish/score.js"></script>
Theme 1
Theme 2
widget will blend in to the background of your web site.
Optional customizations for easier submission
With the addition and definition of a few extra properties, you can automatically propagate your users' submissions with the appropriate meta data for the content on your website. For example, if you have a site like GameTrailers.com and use our widget on each video you display, you may want to default each submission type (ag_media) to video.
<script type="text/javascript">
ag_title = 'article title';
ag_description = 'short article description';
ag_category = 'category name';
ag_media = 'media type';
</script>
<script type="text/javascript" src="http://aggregame.com/publish/score.js"></script>
Specifying the story link
Use of the ag_link property is highly recommended if the story has a "permalink" or appears in a list with other stories. This will cause the widget to submit a specific link rather than the address of the current page.<script type="text/javascript">
ag_link = 'http://link.to/article';
</script>
<script type="text/javascript" src="http://aggregame.com/publish/score.js"></script>
Customizing to fit your needs
We don't want our widget to disrupt the theme of your website! Thus, the background of the widget is transparent in modern browsers as indicated below, but we also make it easy to change the background so it can appear precisely as you'd like it to for all users.







