Sports Reference Blog

Archive for the 'HowTo' Category

Video: S-R Stat Table SHARE Tutorial

13th May 2013

Here's a 2-minute tutorial on how to embed professional-looking stat tables on your own blog:

Posted in Announcement, Baseball-Reference.com, Basketball-Reference.com, CBB at Sports Reference, CFB at Sports Reference, Features, Hockey-Reference.com, HowTo, Pro-Football-Reference.com, Tips and Tricks | Comments Off on Video: S-R Stat Table SHARE Tutorial

Automatic Player Linker and Newsfeeds

15th April 2013

With the regular season winding down this week, here is a reminder about Basketball-Reference's automatic linking tool, which makes it very easy for you to add links to a player's BBR page from your blog posts or news stories. The BBR Linker is a javascript bookmarklet that has a couple of interesting applications:

  1. If you are composing your posts in supported blogging or bulletin board software, clicking the bookmarklet will take the text you have typed and wrap every active player's name with a link to their BBR page. We are happy to add more options if the software you use is not currently supported; just let us know.
  2. If you are on a web page with player names in the text, select the text with your mouse and click the bookmarklet. After a few seconds, links to BBR pages for the player names that appear in the selected text will be automatically added.

Please see the linker page for full instructions and some areas to test the bookmarklet.

By itself this feature is pretty handy, but if you are a site owner you may want something in return for linking to Tim Duncan's or LaMarcus Aldridge's BBR page from your blog posts. We agree, so we have added a feature to return the link back to you.

Those stories are used to populate the "Player News" section just above the player's stats. If you are a blog owner or author, you can use our linker to automatically have your articles added to relevant player pages. If you tag your player names with links to our site — and we can find those links in your RSS feed — we will add a link to your article on the player's page. For example, this Hickory-High post is currently the first link in Tony Allen's newsfeed.

Please read this description of the service for complete details, including the information that we need from you before you can start to see your content linked from the BBR player pages.

Posted in Announcement, Basketball-Reference.com, Features, HowTo, Linker | 1 Comment »

Add Your Posts to Our Player Newsfeeds!

13th March 2013

Automatic Player Linker / Add your site to our newsfeeds

With Spring Training getting into gear, here's a reminder that you can request for your site to be added to our player newsfeeds. To get started, all you have to do is write a post as you normally would and use our linker tool, causing baseball-reference player links to be automatically added. Then let us know you want to be included by sending us the following information:

  • The name of your site to appear in the feed (at most 25 characters)
  • The url for your rss feed (must be a full feed)
  • A contact e-mail address
  • The url of an example page with our links in place

We'll review your request, and try to get your content added as soon as we can. It's a great way to get your content out there, and it gives your readers quick access to player stats and information.

In case you want more info, here are two videos about how it works:

Posted in Announcement, Baseball-Reference.com, HowTo, Linker, Tips and Tricks | Comments Off on Add Your Posts to Our Player Newsfeeds!

Video: S-R Stat Table SHARE Tutorial

12th March 2013

Here's a 2-minute tutorial on how to embed professional-looking stat tables on your own blog:

Posted in Announcement, Baseball-Reference.com, Basketball-Reference.com, CBB at Sports Reference, CFB at Sports Reference, Features, Hockey-Reference.com, HowTo, Pro-Football-Reference.com, Tips and Tricks | Comments Off on Video: S-R Stat Table SHARE Tutorial

Automatic Player Linker and Newsfeeds

11th December 2012

This is a reminder about Basketball-Reference's automatic linking tool, which makes it very easy for you to add links to a player's BBR page from your blog posts or news stories. The BBR Linker is a javascript bookmarklet that has a couple of interesting applications:

  1. If you are composing your posts in supported blogging or bulletin board software, clicking the bookmarklet will take the text you have typed and wrap every active player's name with a link to their BBR page. We are happy to add more options if the software you use is not currently supported; just let us know.
  2. If you are on a web page with player names in the text, select the text with your mouse and click the bookmarklet. After a few seconds, links to BBR pages for the player names that appear in the selected text will be automatically added.

Please see the linker page for full instructions and some areas to test the bookmarklet.

By itself this feature is pretty handy, but if you are a site owner you may want something in return for linking to Tim Duncan's or LaMarcus Aldridge's BBR page from your blog posts. We agree, so we have added a feature to return the link back to you.

Those stories are used to populate the "Player News" section just above the player's stats. If you are a blog owner or author, you can use our linker to automatically have your articles added to relevant player pages. If you tag your player names with links to our site — and we can find those links in your RSS feed — we will add a link to your article on the player's page. For example, this Hickory-High post is currently the first link in Derrick Rose's newsfeed.

Please read this description of the service for complete details, including the information that we need from you before you can start to see your content linked from the BBR player pages.

Posted in Announcement, Basketball-Reference.com, CBB at Sports Reference, Features, HowTo, Linker | Comments Off on Automatic Player Linker and Newsfeeds

Team Game Finder

10th December 2012

The BBR Team Game Finder is a powerful Play Index tool. Here are some of the things you can do with it:

Single Game mode - Use this to get a list of specific games the meet certain criteria. Clicking the game date will take you to the game's box score.
Example: Biggest single-game scoring margin since 1985-86.

Cumulative Season Games mode - This adds up all the games (within the chosen criteria) for each team-season. Cumulative Season mode basically turns this tool into a "Team Season Finder".
Example: Fewest FG allowed in December games, 1985-86 to 2010-11.

Cumulative Multi-Season Games mode - This totals all the stats (meeting the specified criteria) across all years for each team. You can use it to build franchise leaderboards.
Example: Most points in home wins over the past five seasons.

Season Games mode - Use this to find teams that had the most total games matching a certain criteria in a single season.
Example: Which 1990s single-season team had the most games with 100+ points?

Total Games mode - Use this to find teams that had the most total games matching a certain criteria across multiple seasons.
Example: In the 2000s, which team has the most games where they allowed 85 or fewer points?

Posted in Announcement, Basketball-Reference.com, Features, HowTo, Play Index | Comments Off on Team Game Finder

Compare Two Players’ Stats Side-by-Side

15th November 2012

Here's a neat Baseball-Reference trick... To compare any two players, just enter a URL in the following form:

http://www.baseball-reference.com/compare.cgi?top=/players/t/troutmi01.shtml&bottom=/players/c/cabremi01.shtml

Modify that form to include any two players you want, keeping in mind that the "top=" part refers to the player in the upper frame (enter a player's ID from the root directory; i.e. Cabrera's in the "/players/c/" directory) and "&bottom=" refers to the bottom frame. This should work for any combination of two players, as long as you enter the IDs and directories correctly.

Posted in Announcement, Baseball-Reference.com, HowTo, Tips and Tricks | 7 Comments »

How To “SHARE” B-R Stats

22nd October 2012

If you've spent a lot of time at Baseball-Reference, you've probably seen the "SHARE" command in red text above a table of stats... but maybe you don't know what that does, or have forgotten how to use it. No worries -- here's a quick rundown of the features you can access by clicking "SHARE":

  • Customize rows & columns - Sharing lets you delete certain rows/columns that you don't want to include in your table. Just click the round 'x' button to delete a specific row/column, or the arrow 'x' to get rid of everything to the right (columns) or directly below (rows) the row/column in question.
  • Export as an HTML table - Clicking 'html
    ' gives you code to embed the table onto your site (you can even choose to keep S-R's inline style formatting).
  • Get a link - Choosing Link URL creates an SR tiny URL specifically for the table you created, which can easily be sent to others via twitter or directly linked at your blog.
  • Export as bbcode - This option lets you copy-and-paste the table into most bulletin board formats.
  • Export into a javascript widget - This will give you code to embed the static table on your site via a js widget. (Note: The 'Embed' option next to 'SHARE' allows you to do this as well, but as a constantly-updated table instead of a static one.)
  • Export as an iframe - For those who prefer to embed the table within an inline frame.
  • Export into preformatted text or CSV
  • Convert table to Wiki formatting - This will turn the table into a format suitable for sites like Wikipedia.

Happy sharing!

Posted in Announcement, Baseball-Reference.com, HowTo | Comments Off on How To “SHARE” B-R Stats

How To “SHARE” P-F-R Stats

10th September 2012

If you've spent a lot of time at Pro-Football Reference, you've probably seen the "SHARE" command in red text above a table of stats... but maybe you didn't know what that did, or have forgotten how to use it. No worries -- here's a quick rundown of the features you can access by clicking "SHARE":

  • Customize rows & columns - Sharing lets you delete certain rows/columns that you don't want to include in your table. Just click the round 'x' button to delete a specific row/column, or the arrow 'x' to get rid of everything to the right (columns) or directly below (rows) the row/column in question.
  • Export as an HTML table - Clicking 'html
    ' gives you code to embed the table onto your site (you can even choose to keep S-R's inline style formatting).
  • Get a link - Choosing Link URL creates an SR tiny URL specifically for the table you created, which can easily be sent to others via twitter or directly linked at your blog.
  • Export as bbcode - This option lets you copy-and-paste the table into most bulletin board formats.
  • Export into a javascript widget - This will give you code to embed the static table on your site via a js widget. (Note: The 'Embed' option next to 'SHARE' allows you to do this as well, but as a constantly-updated table instead of a static one.)
  • Export as an iframe - For those who prefer to embed the table within an inline frame.
  • Export into preformatted text or CSV
  • Convert table to Wiki formatting - This will turn the table into a format suitable for sites like Wikipedia.

Happy sharing!

Posted in Announcement, Features, HowTo, Pro-Football-Reference.com | 3 Comments »

Widgets.Sports-Reference.com

8th June 2012

We're proud to introduce Widgets.Sports-Reference.com, a central destination for those looking to embed updated S-R stat tables on their site or blog. The page linked above contains a way to build various widgets for Baseball, Hockey, Pro Football, and College Football. Watch the following video for an example of how to use the widgets:

As always, send us feedback about new widgets you'd like to see or any issues you encounter while using the widgets.

Posted in Announcement, Baseball-Reference.com, CFB at Sports Reference, HowTo, Pro-Football-Reference.com, Widgets | Comments Off on Widgets.Sports-Reference.com