Permalink
Browse files

fixed nolinkto webpage

  • Loading branch information...
1 parent 775d44e commit f095ba1e36defeefb0b2432bab7fc7d14f7e617a @nurainir committed Feb 2, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 linkstat.sh
  2. +1 −1 linkstatfragmen.sh
View
@@ -33,7 +33,7 @@ objvalue=tes[1]
if (subvalue != objvalue)
{
page = match(p, /<*[\/#](.*)>$/, predicate)
- if(match(predicate[1],"(page|link)")==0 && match(o,"(.php|.htm|.asp|.html)$")==0) arr[p]++
+ if(match(predicate[1],"(page|link)")==0 && match(o,"(.php|.htm|.asp|.html|.pdf)$")==0) arr[p]++
}
}
View
@@ -56,7 +56,7 @@ for file in $1/*
if (subvalue != objvalue)
{
page = match(p, /<*[\/#](.*)>$/, predicate)
- if(match(predicate[1],"(page|link)")==0 && match(o,"(.php|.htm|.asp|.html)$")==0) arr[p]++
+ if(match(predicate[1],"(page|link)")==0 && match(o,"(.php|.htm|.asp|.html|.pdf)$")==0) arr[p]++
}
else
{

0 comments on commit f095ba1

Please sign in to comment.