Swot allows you to identify whether a particular email address or domain is associated with an academic institution providing higher education in tertiary, quaternary or post-secondary education in any country in the world.
Student discounts baby. A growing number of companies offer discounts on their products/services to those in academia. It's not a hard problem to solve in America or the UK, but other countries don't have domain name restrictions.
How many of the following email addresses are associated with a university? Answers at the bottom.
[email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
Swot::is_academic?('[email protected]') # true
Swot::is_academic?('[email protected]') # true
Swot::is_academic?('[email protected]') # true
Swot::is_academic?('[email protected]') # true
Swot::is_academic?('[email protected]') # true
Swot::is_academic?('[email protected]') # true
Swot::is_academic?('[email protected]') # false
Swot::is_academic?('[email protected]') # false
Swot::is_academic?('[email protected]') # false
Swot::is_academic?('[email protected]') # false
Swot::is_academic?('harvard.edu') # true
Swot::is_academic?('www.harvard.edu') # true
Swot::is_academic?('http://www.harvard.edu') # true
Swot::is_academic?('http://www.github.com') # false
Swot::is_academic?('http://www.rangers.co.uk') # false
UrbanDictionary will fill you in ಠ_ಠ
- Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
- Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
- Fork the project.
- Start a feature/bugfix branch.
- Commit and push until you are happy with your contribution.
- Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
- Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
- You can search by email and domain names only. You cannot search by IP.
- You don't know if the email address belongs to a student, faculty, staff member, etc.
- There may be a few false positives, missing institutions... maybe even a couple of typos.
Copyright (c) 2012 Lee Reilly. See LICENSE.txt for further details.
All of 'em.