| User | Post |
|
6:21 am June 3, 2008
| joinup
Guest
| | | |
|
| |
|
|
Hello,
I got this extrasection:
ExtraSectionName1=”Hits on SuperBrand” ExtraSectionCodeFilter1=”200 304″ ExtraSectionCondition1=”URL,(^\/[sS][uU][pP][eE][rR][bB][rR][aA][nN][dD])” ExtraSectionFirstColumnTitle1=”Directory” ExtraSectionFirstColumnValues1=”URL,^\/([^\/]*)\/” ExtraSectionFirstColumnFormat1=”<A HREF='/%s/' TARGET='_blank'>%.80s</A>” ExtraSectionStatTypes1=PHB ExtraSectionAddSumRow1=1 MaxNbOfExtra1=10 MinHitExtra1=1
It shows me all good - SuperBrand pages hits etc etc~
| Directory |
Páginas |
Hits |
Bytes |
| superbrand |
185966 |
6514515 |
116.07 GB |
| Total |
185966 |
6514515 |
116.07 GB |
But now i need to do the same but in subdirectory -
ExtraSectionName11=”Doidos por Super Bock” ExtraSectionCodeFilter11=”200 304″ ExtraSectionCondition11=”URL,\/superbrand\/fanaticos%5Fsb” ExtraSectionFirstColumnTitle11=”Directory” ExtraSectionFirstColumnValues11=”URL,(.*)” ExtraSectionFirstColumnFormat11=”<A HREF='/%s/' TARGET='_blank'>%.80s</A>” ExtraSectionStatTypes11=PHB ExtraSectionAddSumRow11=1 MaxNbOfExtra11=10 MinHitExtra11=1
But it shows me :
| Directory |
Páginas |
Hits |
Bytes |
| /superbrand/fanaticos_sb/ |
34 |
34 |
185.74 KB |
| /superbrand/fanaticos_sb/xml/galeria_fanaticossb.xml |
14 |
14 |
135.30 KB |
| /superbrand/fanaticos_sb/img/thumb/img12.jpg |
0 |
21 |
19.72 KB |
| /superbrand/fanaticos_sb/img\big\img35.jpg |
0 |
4 |
208.48 KB |
| /superbrand/fanaticos_sb/img\thumb\img23.jpg |
0 |
4 |
6.03 KB |
| /superbrand/fanaticos_sb/img/big/img55.jpg |
0 |
5 |
211.54 KB |
| /superbrand/fanaticos_sb/img\thumb\img40.jpg |
0 |
4 |
53.56 KB |
| /superbrand/fanaticos_sb/img/big/img03.jpg |
0 |
10 |
207.72 KB |
| /superbrand/fanaticos_sb/img\thumb\img14.jpg |
0 |
4 |
6.09 KB |
| |
And dont shows me all lines.
and i need :
| Directory |
Páginas |
Hits |
Bytes |
| /superbrand/fanaticos |
185966 |
6514515 |
116.07 GB |
| Total |
185966 |
6514515 |
116.07 GB |
How can i do it in extrasection?
|
|
|
6:36 am June 3, 2008
| Jean-Luc
Admin
| | | |
|
| posts 254 |
|
|
Try this:
ExtraSectionFirstColumnValues1 ="URL,^(\/[^\/]*\/[^\/]*)\/"
|
|
|
6:50 am June 4, 2008
| joinup
Guest
| | | |
|
| |
|
|
It works tkx
|
|
|
12:30 pm June 4, 2008
| joinup
Guest
| | | |
|
| |
|
|
One more thing.
When i make a grep -i /SuperBrand/Fanaticos_SB/
awstats052008.superbock.txt - it shows me :
http://www.superbock.com/SuperBrand/Fanaticos_SB/default.aspx 1 48 http://www.superbock.com/SuperBrand/Fanaticos_SB/ 0 14 http://www.superbock.com/SuperBrand/Fanaticos_SB/galeria.swf 15 2214 /superbrand/fanaticos_sb/ 2 11188 0 0 /superbrand/fanaticos_sb/xml/galeria_fanaticossb.xml 826 7860178 0 136 /superbrand/fanaticos_sb/default.aspx 888 4967423 9 2 /superbrand/fanaticos_sb/undefined 920 1504200 0 2
888 4967423 9 2 - the first field is the pages.
counting pages :
/superbrand/fanaticos_sb/ 2 11188 0 0 /superbrand/fanaticos_sb/xml/galeria_fanaticossb.xml 826 7860178 0 136 /superbrand/fanaticos_sb/default.aspx 888 4967423 9 2 /superbrand/fanaticos_sb/undefined 920 1504200 0 2
2+826+888+920 = 2536
But in Extrasection i got :
| Directory |
Páginas |
Hits |
Bytes |
| /superbrand/fanaticos_sb |
48 |
2145 |
33.05 MB |
| Total |
48 |
2145 |
33.05 MB |
48???? 
Here is the extra:
ExtraSectionName11=”Doidos por Super Bock” ExtraSectionCodeFilter11=”200 304″ ExtraSectionCondition11=”URL,\/superbrand\/fanaticos%5Fsb” ExtraSectionFirstColumnTitle11=”Directory” ExtraSectionFirstColumnValues11=”URL,^(\/[^\/]*\/[^\/]*)\/” ExtraSectionFirstColumnFormat11=”<A HREF='/%s/' TARGET='_blank'>%.80s</A>” ExtraSectionStatTypes11=PHB ExtraSectionAddSumRow11=1 MaxNbOfExtra11=10 MinHitExtra11=1
Help !!
Best regards.
|
|
|
1:53 pm June 4, 2008
| Jean-Luc
Admin
| | | |
|
| posts 254 |
|
|
Hi
Weird. Was the extra section there when you updated all the stats of the month ? If you added the extra section at the end of the month, what happened before is not counted.
|
|
|
4:46 am June 5, 2008
| joinup
Guest
| | | |
|
| |
|
|
No, i just analise the complete May 2008, and i got that values…….
How is that possible?
|
|
|
4:55 am June 7, 2008
| Jean-Luc
Admin
| | | |
|
| posts 254 |
|
|
The extra section could be case sensitive. I am not sure about this, but you can try:
ExtraSectionCondition11="URL,\/[Ss][Uu][Pp][Ee] [Rr][Bb][Rr][Aa][Nn][Dd]\/[Ff][Aa][Nn][Aa][Tt] [Ii][Cc][Oo][Ss]_[Ss][Bb]"
|
|
|
9:53 am June 9, 2008
| joinup
Guest
| | | |
|
| |
|
|
The awstats is analizing log without case sensitive
Do you think that can be ExtraSectionCondition11=”URL,\/superbrand\/fanaticos%5Fsb” ?
%5F and _ ??
I put %5F and not _ , how can i put the 2 of them? shouldnt awstats see %5F has _ ?
Best regards
|
|
|
3:03 am June 10, 2008
| Jean-Luc
Admin
| | | |
|
| posts 254 |
|
|
Hi “joinup”,
You are right twice !
When you define URLNotCaseSensitive=1 in the AWStats config file, the URL in the extra section is not case sensitive.
%5F is different from _ within the AWStats database and in the regular expressions used in the extra sections. On the other hand, when displaying the extra section in the report, AWStats converts any %5F in an _ .
I would do this:
ExtraSectionCondition11="URL,\/superbrand \/fanaticos(%5F|_)sb"
|
|