Pages

Thursday, 17 May 2012

Google Plus User Count Program

I read an article about how to count the number of users on google plus. It says you can count the number of users in google plus by using its sitemap. The below is the URL for google plus sitemap .
So first you write a program which reads the url so it reads the xml file. In that xml you will find lots of sub url's those are text files so fetch all the url's into a list using any xml parser and recursively traverse all the url's and count the number of users.
The sub url file(i.e text file) will looks like the above picture. So while counting leave the entries with profile.google.com so at the end you will have the count of the number of users registered for google plus. In the xml file you will find an entry with the name modified date. So you can say you have the number of registered users on google plus up to that modified date.


No comments:

Post a Comment