Post Reply 
Filter to add hostname to links
Jun. 16, 2006, 07:00 PM
Post: #2
RE: Filter to add hostname to links
Siamesecat Wrote:What did I do wrong this time?
The Bounds and Match must match the same thing.
Your Bounds match from < to > but the Match doesn't.

Try
Code:
[Patterns]
Name = "Add hostname to links 1"
Active = TRUE
Bounds = "<a\s*>"
Limit = 170
Match = "\1href=$AV(/\4)\2"
Replace = "\1href="http://\h/\4"\2"

HTH
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
Filter to add hostname to links - Siamesecat - Jun. 16, 2006, 10:40 AM
RE: Filter to add hostname to links - JJoe - Jun. 16, 2006 07:00 PM
RE: Filter to add hostname to links - JJoe - Jun. 18, 2006, 01:52 PM
RE: Filter to add hostname to links - JJoe - Jun. 19, 2006, 12:19 PM
RE: Filter to add hostname to links - JJoe - Jun. 20, 2006, 12:21 PM
RE: Filter to add hostname to links - z12 - Jun. 21, 2006, 10:01 AM
RE: Filter to add hostname to links - JJoe - Jun. 21, 2006, 02:05 PM
RE: Filter to add hostname to links - JJoe - Jun. 21, 2006, 03:32 PM

Forum Jump: