We’d like to remind Forumites to please avoid political debate on the Forum.

This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide

List of .ac.uk addresses (strange question)

A friend of mine is writing a program for their coursework and they want part of it to recognise the university/college of people who enter a .ac.uk email address.

E.g. so if someone enters something@open.ac.uk, the program will know that they are from The Open University and populate this into a form.

Does anyone know if there is a comprehensive list of .ac.uk's along with the institution's name? Doesn't really matter what format the list is in as he'll be importing it into an SQL database anyway.

Thanks

Comments

  • Lokolo
    Lokolo Posts: 20,861 Forumite
    Part of the Furniture 10,000 Posts
    Go to google, type *.ac.uk

    And it will give you all sites with .ac.uk

    HTH

    (http://www.google.co.uk/search?sourceid=chrome&ie=UTF-8&q=*.ac.uk)
  • Stubert
    Stubert Posts: 733 Forumite
    That search does return any website that has an @...ac.uk email address on it, hence there are about 2 billion results.

    http://www.universitiesuk.ac.uk/AboutUs/WhoWeAre/Pages/Members.aspx

    That website has a list of the all the UK registered universities and some colleges of further education.

    There are lots of FE colleges that also have .ac.uk addresses which aren't on there that your buddy might want to consider, but all the UK universities are on there.
  • atypical
    atypical Posts: 1,344 Forumite
    Part of the Furniture 1,000 Posts Combo Breaker
    He may also have the issue that the same university can use different domains (if that's the right terminology) e.g. The Open University may use @student.open.ac.uk as well as @staff.open.ac.uk as well as @open.ac.uk.
  • Stubert
    Stubert Posts: 733 Forumite
    Great point. Manchester definitely uses @student.manchester and @postgrad.manchester
  • Mankysteve
    Mankysteve Posts: 4,257 Forumite
    Part of the Furniture 1,000 Posts Combo Breaker
    Your friends idea is nice but going to impossible to catalogue all the uni's in the country and there variations in domains not mention every time a uni makes a change in adress. The phrase give up while your ahead comes to mind.
  • glider3560
    glider3560 Posts: 4,115 Forumite
    Part of the Furniture 1,000 Posts Name Dropper
    Stubert wrote: »
    That search does return any website that has an @...ac.uk email address on it, hence there are about 2 billion results.

    http://www.universitiesuk.ac.uk/AboutUs/WhoWeAre/Pages/Members.aspx

    That website has a list of the all the UK registered universities and some colleges of further education.

    There are lots of FE colleges that also have .ac.uk addresses which aren't on there that your buddy might want to consider, but all the UK universities are on there.
    That is absolutely brilliant. Sent it to him and he's written a script which has converted it into his database format. Obviously, not everything is in there but he has the majority covered so can ask the user to input the uni/college name if it doesn't exist already.
  • someone
    someone Posts: 848 Forumite
    Part of the Furniture 500 Posts Name Dropper
    Stubert wrote: »
    Great point. Manchester definitely uses @student.manchester and @postgrad.manchester

    and @cs.man.ac.uk
  • Would the subdomain actually need to be specified? As long as the main domain is recognised it should work, if it doesn't recognise addresses with two levels he could try adding a wildcard for every domain, for example. open.ac.uk should also be listed as *.open.ac.uk to catch any addresses such as student.open.ac.uk.

    I don't have much database query experience beyond AS ICT but it is worth thinking about.
  • sparky7
    sparky7 Posts: 178 Forumite
    edited 8 June 2010 at 1:04PM
    http://cybermetrics.wlv.ac.uk/database/university_lists.htm

    you could also submit a FOI request to janet.ac.uk who manage the .ac.uk domains..
  • stevenhp1987
    stevenhp1987 Posts: 907 Forumite
    Part of the Furniture
    Would the subdomain actually need to be specified? As long as the main domain is recognised it should work, if it doesn't recognise addresses with two levels he could try adding a wildcard for every domain, for example. open.ac.uk should also be listed as *.open.ac.uk to catch any addresses such as student.open.ac.uk.

    I don't have much database query experience beyond AS ICT but it is worth thinking about.

    Would be doable via regex, simple. http://en.wikipedia.org/wiki/Regular_expression
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 354.5K Banking & Borrowing
  • 254.4K Reduce Debt & Boost Income
  • 455.4K Spending & Discounts
  • 247.4K Work, Benefits & Business
  • 604.2K Mortgages, Homes & Bills
  • 178.5K Life & Family
  • 261.7K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16.1K Discuss & Feedback
  • 37.7K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.