Trustworthy way to get server ID# from CONTENTdm

From: Craig Dietrich <craigdietrich_at_nyob>
Date: Tue, 3 Jul 2018 10:17:49 -0700
To: CODE4LIB_at_LISTS.CLIR.ORG
Hi all,

This has been driving me crazy and OCLC hasn't written me back: is there a
trustworthy way to get the server ID# from CONTENTdm?

I've been relying on

'//'.$hostname.'/utils/diagnostics'

... which under some cases returns this string:

server12345.contentdm.oclc.org

... with 12345 in this case being the server ID#.

But for many CONTENTdm sites this string isn't present.

The home page HTML for CONTENTdm has a lot of useful info in it, but not
the ID# that I can find.

Anyone had any luck?

Thanks!
Craig
Received on Tue Jul 03 2018 - 13:19:19 EDT