Mapping the Sheltowee Forum Index Archive home

Mapping the Sheltowee
A Guide for the Trails in the BSF and DBNF
 
 FAQFAQ   SearchSearch   MemberlistMemberlist      Big Turtle Photo Club    
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Most Popular Photos

 
Post new topic   Reply to topic    Mapping the Sheltowee Forum Index -> Photographs of Trail Conditions & Environs
View previous topic :: View next topic  
Author Message
Boyd
BOONE-ified GPS DUDE
BOONE-ified GPS DUDE


Joined: 18 Jun 2004
Posts: 326
Location: Lexington

PostPosted: Thu Aug 25, 2005 7:45 pm    Post subject: Most Popular Photos Reply with quote

I was playing around with some text filtering on the logs using grep, sed, cut, sort, and uniq and I teased out the top 100 photos viewed since January 1, 2005. We have some popular pooches!

I used this:

grep '/gallery/albums/' .../access_logs* | grep -v '.highlight.' | grep -v '.thumb.' | cut -d']' -f2 | sed 's/"GET /]http:\/\/www.sheltoweetrace.com/g' | cut -d']' -f2 | sed 's/.jpg/.jpg]/g' | cut -d']' -f1 | sed 's/HTTP/]/g' | cut -d']' -f1 | sed 's/http:/[url=http:/g' | sed 's/jpg/jpg]The Photo[\/url]/g' | sort | uniq -c | sort -nr | head --lines=100

any improvements? Note: I had to replace the urls with something shorter to prevent longlines.

268 The Photo
68 The Photo
64 The Photo
56 The Photo
49 The Photo
49 The Photo
43 The Photo
42 The Photo
39 The Photo
37 The Photo
34 The Photo
34 The Photo
29 The Photo
28 The Photo
28 The Photo
28 The Photo
27 The Photo
26 The Photo
26 The Photo
26 The Photo
25 The Photo
25 The Photo
25 The Photo
25 The Photo
24 The Photo
24 The Photo
24 The Photo
23 The Photo
23 The Photo
23 The Photo
23 The Photo
22 The Photo
22 The Photo
22 The Photo
22 The Photo
21 The Photo
21 The Photo
20 The Photo
20 The Photo
20 The Photo
20 The Photo
20 The Photo
20 The Photo
20 The Photo
20 The Photo
20 The Photo
20 The Photo
20 The Photo
19 The Photo
19 The Photo
19 The Photo
19 The Photo
19 The Photo
19 The Photo
19 The Photo
19 The Photo
19 The Photo
19 The Photo
19 The Photo
18 The Photo
18 The Photo
18 The Photo
18 The Photo
18 The Photo
18 The Photo
18 The Photo
18 The Photo
17 The Photo
17 The Photo
17 The Photo
17 The Photo
17 The Photo
17 The Photo
17 The Photo
17 The Photo
17 The Photo
17 The Photo
17 The Photo
17 The Photo
16 The Photo
16 The Photo
16 The Photo
16 The Photo
16 The Photo
16 The Photo
16 The Photo
16 The Photo
16 The Photo
16 The Photo
16 The Photo
16 The Photo
16 The Photo
16 The Photo
16 The Photo
16 The Photo
16 The Photo
16 The Photo
16 The Photo
16 The Photo
16 The Photo

_________________
Help map trails by submitting your waypoints and trail photos.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Mapping the Sheltowee Forum Index -> Photographs of Trail Conditions & Environs All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Map Forum: HI Quality | Map Forum: LO Quality | Home

Mapping the Sheltowee Trace, 2004 - 2015