Skip to content

Instantly share code, notes, and snippets.

@hydrosquall
Last active October 20, 2016 02:17
Show Gist options
  • Save hydrosquall/b7222e6a99dace581b2e408866eda77a to your computer and use it in GitHub Desktop.
Save hydrosquall/b7222e6a99dace581b2e408866eda77a to your computer and use it in GitHub Desktop.
listings for db project

Men's Sports

Women's Sports

Source: Yale Athletics

Generated with transformy.io lite and js-dom parser. Last updated 10/19/2016

JSON Notation for URL slugs

url = http://www.yalebulldogs.com/sports/#{slug}/index

var msports = [
    "m-baskbl": 'Basketball',
    "m-basebl": 'Baseball',
    "m-crewhvy": 'Crew',
    "m-crewlt": 'Crew',
    "m-xc": 'Cross',
    "m-fenc": 'Fencing',
    "m-footbl": 'Football',
    "m-golf": 'Golf',
    "m-hockey": 'Ice',
    "m-lacros": 'Lacrosse',
    "c-sail": 'Sailing',
    "m-soccer": 'Soccer',
    "m-squash": 'Squash',
    "m-swim": 'Swimming',
    "m-tennis": 'Tennis',
    "m-track": 'Track'
  ]
  
  var wsports = [
    "w-baskbl": 'Basketball',
    "w-crew": 'Crew',
    "w-xc": 'Cross',
    "w-fenc": 'Fencing',
    "w-fieldh": 'Field',
    "w-golf": 'Golf',
    "w-gym": 'Gymnastics',
    "w-hockey": 'Ice',
    "w-lacros": 'Lacrosse',
    "c-sail": 'Sailing',
    "w-sail": 'Sailing',
    "w-soccer": 'Soccer',
    "w-softbl": 'Softball',
    "w-squash": 'Squash',
    "w-swim": 'Swimming',
    "w-tennis": 'Tennis',
    "w-track": 'Track',
    "w-volley": 'Volleyball'
  ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment