[]
Home response.text()) .then(data => new DOMParser().parseFromString(data, “text/html”)) .then(dom => dom.querySelector(“div.uos-sitemap”)) .then(sitemap => getBreadcrumbsFromSitemap(sitemap)) .catch(() => getBreadcrumbsFromPath()) .then(breadcrumbs => buildBreadcrumbsHtml(breadcrumbs)) function findElementToStartFrom(sitemap) { let element = sitemap.querySelector(“a[href='” + windowPath + “?’]”) || sitemap.querySelector(“a[href='” + windowPath + “‘]”) if (element) { return element } let pathParts = windowPath.split(“/”).filter(part => part !== ”) for(let i = pathParts.length; i >=1 ; i–) { let path = (‘/’ + pathParts.slice(0, i).join(‘/’)) let element = sitemap.querySelector(“a[href='” + path + “‘]”) || sitemap.querySelector(“a[href='” + path + “/index.page’]”) || sitemap.querySelector(“a[href='” + path + “?’]”) || sitemap.querySelector(“a[href='” + path + “/index.page?’]”) if (element) { return element } } throw new Error(“Can’t find starting element in sitemap”) } function getBreadcrumbsFromSitemap(sitemap) { let breadcrumbs = [] let element = findElementToStartFrom(sitemap); while (element) { breadcrumbs.push(makeBreadcrumb((new URL(element.href)).pathname, element.innerText.trim())) element = getParentLink(element) } let homeTitle = sitemap.querySelector(“h2”).innerText.trim() let homeUrl = sitemap.querySelector(“a”).href.trim() breadcrumbs.push(makeBreadcrumb((new URL(homeUrl).pathname), homeTitle)) return breadcrumbs.reverse() } function getBreadcrumbsFromPath() { console.log(“Building breadcrumbs from path”) let breadcrumbs = [] let pathParts = windowPath.split(“/”).filter(part => part !== ”) for(let i = 1; i char.toUpperCase()) breadcrumbs.push(makeBreadcrumb(url, title)) } return breadcrumbs } function makeBreadcrumb(url, name) { return {href: url.trim(), name: name.trim()} } function buildBreadcrumbsHtml(breadcrumbs) { let rootElement = document.querySelector(“#BreadcrumbListNavElem”) breadcrumbs.forEach(crumb => { if (crumb.href === windowPath) { return } let rootDiv = document.createElement(“div”) rootDiv.setAttribute(“typeof”, “ListItem”) rootDiv.setAttribute(“property”, “itemListElement”) rootDiv.setAttribute(“class”, “uos-breadcrumb-child”) let link = document.createElement(“a”) link.href = crumb.href link.setAttribute(“title”, crumb.name) link.setAttribute(“typeOf”, “WebPage”) link.setAttribute(“property”, “item”) let titleSpan = document.createElement(“span”) titleSpan.innerText = crumb.name rootDiv.appendChild(link) link.appendChild(titleSpan) rootElement.innerHTML += “>” rootElement.appendChild(rootDiv) }) } function getParentLink(element) { while (element.tagName !== “UL”) { element = element.parentElement if (!element) { return null } } return Array.from(element.parentElement.children).find(item => item.tagName === “A”) } ]]>

Published: 2026-09-18 08:56:00

Two female students walk down a spiral staircase in a library. The students are smiling at one another and the one on the left in a green jumper is holding a book.

The University of Southampton has been named amongst the top 20 universities in the UK in The Times and Sunday Times Good University Guide 2027.

Southampton was ranked 18th out of 130 universities in the guide. It assesses universities’ academic performance, student experience and graduate outcomes to produce its overall league table.

Professor Deborah Gill , Vice-President (Education) at the University of Southampton, said: “Being recognised among the UK’s top 20 universities in The Times and The Sunday Times Good University Guide is a fantastic achievement and reflects our commitment to creating an outstanding learning experience for our students.

“Over the past year, we have seen students report improvements across every area of the National Student Survey , including teaching, academic support, wellbeing and having a voice in their university experience.

“We are continuing to invest in our campuses, facilities and support for students, including a major new teaching, study and social space due to open next year.

“Together with our industry engagement and international outlook, the ranking demonstrates that the University of Southampton is an excellent place to learn or work and is making an important contribution to the region, nationally and internationally.”

The rankings come after strong performances in other national and international university rankings.

Find out more at https://www.thetimes.com/uk-university-rankings

By admin