The Numbers - Box Office Data, Movie Stars, Idle Speculation

Shop at Amazon.com!

Buy Posters at AllPosters.com
Saturday, April 4, 2009


The Numbers Data Feeds

Our data feeds allow you to add our box office information to your web site. By inserting a single line of JavaScript into your page, you can provide your readers with the latest daily and weekend box office charts and our exclusive DVD sales chart, direct from The Numbers.

Daily Chart


To add a daily chart to your site, use the following piece of code:

<script type="text/javascript" language="javascript" src="http://www.the-numbers.com/feeds/daily.php"></script>

Here's how the feed will appear on your site:



Weekend Chart


The code for a weekend chart is the same, with weekend.php used instead of daily.php:

<script type="text/javascript" language="javascript" src="http://www.the-numbers.com/feeds/weekend.php"></script>

Here's how the feed will appear on your site:



DVD Chart


The DVD chart code is as follows:

<script type="text/javascript" language="javascript" src="http://www.opusdata.com/feeds/dvd.php"></script>

Here's how the feed will appear on your site:



Using the target Parameter


By default, the link to The Numbers at the bottom of the chart will open in the current browser window when clicked. You can change this behavior by supplying a parameter called target when you call the JavaScript. For example, the following code will cause a link to be produced that will open The Numbers site in a new blank window.

<script type="text/javascript" language="javascript" src="http://www.the-numbers.com/feeds/daily.php?target=_blank"></script>