Adding games to your web site
Tuesday, April 29th, 2008WebSpawner members occasionally contact us to ask:
How can I add a game to my web site?
Adding a game to your WebSpawner web site is really quite easy and requires just a few simple steps.
First, you must locate a game that you would like to add to your website. While there are many good web sites online that provide games, one of the best that we are aware of is Miniclip Games at www.miniclip.com. Click any of the Miniclip games to try it in your web browser. When you have found a game that you like and wish to add to your website, click the Post to my blog/website button, as shown in the example below:

A window will appear similar to the one below. Click inside the box containing the code as shown, and the code should become selected; then Copy the code (Control-C on a Windows PC, or Command-C on a Mac).

Now open a new browser window and log in to your WebSpawner account at www.webspawner.com with your Account Name and Password. Under Step 1 select the web page to which you would like to add the game and click the ‘Modify’ button under Step 2, as shown here:

Scroll down through the Modification form to the ‘Body Text’ step. Click inside the Body Text box, then Paste (Control-V in Windows, or Command-V on a Mac) the copied code. Next, add ‘begin’ and ‘end’ markers (being careful to avoid making any changes to the code) before and after the code to surround it exactly as shown in the image below:

The ‘begin’ and ‘end’ markers are very important as they notify the WebSpawner engine that it should not filter or modify the code between the markers, ensuring that the game will appear properly on your webpage. The ‘begin’ and ‘end’ markers should be entered exactly as shown in the image above, and should be used any time you add code to your web site.
Complete the Modification process by clicking ‘Continue’ at the bottom of the Modification form, and then click ‘I Like It’ at the page preview as shown below (this saves and publish your changes:

After completing these steps, your web site should display your selected game. You can add additional games to your web site by repeating the process in the same manner.
Some other sources of games that you can place on your website are:
- FreeGamesForYourWebsite.com (use the Get HTML Code link under the desired game and then select and Copy the code, and proceed as described above)
- AddictingGames.com (click in the Embed Game box to select the code, Copy it, and then proceed to Paste it into your web site as indicated above).



