Karma counting internal trackbacks as visits

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
marcusfriedman
Regular
Posts: 11
Joined: Fri Feb 13, 2009 4:34 am
Contact:

Karma counting internal trackbacks as visits

Post by marcusfriedman »

When you link a post to another post inside your blog, Karma counts the trackback analysis as a visit. I think it shouldn't, since that's a visit coming from an automated process (from inside your own blog).

If you take a look at your web server logs, you'll find something like this after submitting a post with a link to another post:

xx.xx.xx.xx - - [15/Dec/2008:18:26:22 -0800] "GET /blog/index.php?/archives/17-testing.html HTTP/1.1" 200 6939 "-" "PEAR HTTP_Request class ( http://pear.php.net/ )"

Maybe this behaviour cannot be entirely avoided (for example, I guess it might be difficult to filter trackbacks coming from other blogs). Anyway, it would be nice if Karma had some sort of "awareness" and didn't count the hits coming from the same blog on which it's running.
Marcus Friedman | ellipsys (website) | @marcusfriedman (Twitter)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Karma counting internal trackbacks as visits

Post by garvinhicking »

Hi!

The karma visit tracking is already skewed a lot by bot and other automatted processes, so I wouldn't use it as a reliable counter. Having a single visit from the trackback analysis count there is IMHO totally neglectible and not really worth the effort of filtering it. This would mean a (very small, though) performance impact on every page visit, so in 99,99999% of all total request, the check code would not be used...

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply