How can we Identify a SharePoint Site ?

We have lot of websites in internet and many of them are in SharePoint.

There  are sites like www.wssdemo.com which contains really huge lists of public websites hosted on MOSS, but not every site you will find there.

So if you see any cool site, how will you find out whether its a MOSS site or not ?

There are  some really cool exceptional ways.

One way is you might be able to identify that it is a SharePoint Site by going through all the Links and observing the URL for all the Pages and the Folder structure where all these pages are stored (especially the Foldername/Pages/Filename.aspx pattern).

Observing URL is really great but not always gives true and satisfactory result.

If you are using FireFox as browser with FireBug, open up console and view JavaScripts of page. If you see init.js, core.js.  It’s confirm now its MOSS site.

Another way is just do “View Source” from any browser of your site. If it’s SharePoint site (Publishing most cases) you will see something like

<head><meta name=”GENERATOR” content=”Microsoft SharePoint” /><meta http-equiv=”Conten ……

Dont forget to check Javascript section just after <Title>
you will see reference JS from
src=”/_layouts/1033/init.js?

Dont forget to check Javascript section just after <Title>

you will see reference JS from src=”/_layouts/1033/init.js?

well thats our 12 hive.

Good enough as proof. But still what if site has its own master pages and have customized in such way that these meta tags and core.js file are not in used or are removed. Since most public facing SharePoint sites redesign masterpage as per their company brand. Its strong chance you will see their masterpage, not default one.

BUT most of them  never delete the default css and images that comes with default install of SharePoint.

So if you spoof the URL little like

http://<<Site name>>/_layouts/images/homepagetopzoneimage.jpg

you can see your SharePoint friends

Put any image name from “12\TEMPLATE\IMAGES” folder in url with format like

http://<<Site name>>/_layouts/images/<<image name>>

Same goes for JavaScripts files too.

And now one more last bust not least way.

If its SharePoint site there are also web services with it.  You can call any of webservice (If banned then see your fav “Unknown Error” page).

Coolest part is have some twist in calling web service. If its SharePoint site there is “_layouts” folder. And if its “_layouts” try this :

http://<<Site name>>/_layouts/Lists.asmx

(Yes I know Lists.asmx is not in _layouts folder) . So you will see something like

http://sharepoint.microsoft.com/_layouts/Lists.asmx

Do you still need proof ?  :)

Happy net surfing !!!!!!