tags:

views:

28

answers:

1

Hello I'm trying to make an RSS subscribers counter using PHP and don't know where to start ? i'm not asking someone to write me the code, but do you know something good to read ? or you can tell me steps to do that ?

Thanks

+1  A: 

A quick count of how many times the rss feed has been requested would be a good start, I suppose. Also, if several people subscribe using Google Reader, or Gmail (which puts rss feeds at the top of the inbox), Google will, of course, query your feed only once. But, in the User-Agent string, it will tell you how many subscribers you currently have through that service. I imagine other feed aggrigators do something similar.

Edit to Add:

Also, Internet Explorer uses different User-Agent strings. If the user opens a feed in his browser, you get the normal IE User-Agent string, but if the browser is checking the feed automatically because the user is subscribed, you get a different string. Link.

TRiG