Syndication
The Baseball Files provides a variety of RSS and Atom feeds, as well as JavaScript and HTML options for syndicating our content. Most feeds are used in one of two ways:
- You want to be notified about the latest content available at The Baseball Files on your desktop
There are dozens of excellent free RSS and Atom readers available (also called news aggregators) that are designed specifically for this purpose. This quick start guide will help you choose a reader. Please refer to your software's help files about how to subscribe to RSS/Atom feeds. - You want to publish the latest content available at The Baseball Files on your website
You can use any one of the RSS, Atom, JavaScript or HTML feeds we provide to syndicate our content on your website. The feeds placed on your site will automatically update as soon as fresh content is posted on The Baseball Files.
Placing RSS/XML feeds on your website
There are a number of ways that you can integrate RSS feeds on your website using scripting languages such as PHP, Perl or ASP. If this is how you would like to add feeds to your website, it's recommended that you use a search engine to locate additional information about how to accomplish this using your preferred server-side scripting language.
Placing JavaScript feeds on your website
JavaScript feeds provide the easiest method for adding our syndicated content to your website. Simply load up our RSS-to-JavaScript conversion tool and copy and paste the generated code into your website where you would like the content to appear.
Placing HTML feeds on your website
If you would prefer not to use server-side scripting or JavaScript, we have another easy way for you to add our feeds to your website. As long as your web page has the ".php" file name extention, you can simply paste the following line of code into your page where you want our article feed to appear:
<?php include_once('http://www.baseballfiles.com/syndicate/rss2html.php'); ?>
This method of integration is an excellent choice when you want to allow search engines and JavaScript disabled browsers to view the syndicated content.