Post Reply 
Adding keywords with an incrementing counter
May. 02, 2011, 09:22 AM
Post: #1
Adding keywords with an incrementing counter
Hi all. i am stripping noindex tags (mainly ads in my case). in order to give myself a visual aid wanted to add a keyword with an incrementing counter to the site.
test version which i came up and which obviuously doesn't work
Code:
[Patterns]
Name = "Test keyword"
Active = FALSE
Limit = 256
Match = "$SET(keyword=some.noindex_strip:2)"
        "$TST(keyword=(\1|)(noindex_strip:([0-9]++)\2.|.))"
        "$TST((\2+)=$LST(Count)|*)"
        "$SET(keyword=$GET(keyword)noindex_strip:$GET(i).)"
Replace = "1: \1\r\n"
          "2: \2\r\n"
          "key: $GET (keyword)"
the sites might or might not have any keywords set previously.

with sidki's latest config is there a better way and place to accumulate and later display arbitrary data relating to site?
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
Adding keywords with an incrementing counter - sh8an - May. 02, 2011 09:22 AM

Forum Jump: