From bcbcd61eb9fc91a9ed1b3096ce9f2b686a2114b9 Mon Sep 17 00:00:00 2001 From: Einar Egilsson Date: Wed, 23 Jan 2008 22:22:35 +0000 Subject: Version 1.5.1 git-svn-id: http://einaregilsson.googlecode.com/svn/mozilla/redirector/trunk@104 119bf307-c92d-0410-89bd-8f53e6181181 --- chrome/content/help.html | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'chrome/content/help.html') diff --git a/chrome/content/help.html b/chrome/content/help.html index b4846aa..e74048e 100644 --- a/chrome/content/help.html +++ b/chrome/content/help.html @@ -23,7 +23,6 @@
  • Wildcards
  • Regular expressions
  • -
  • XPath redirects
  • Examples
    1. Static redirect
    2. @@ -71,8 +70,7 @@ include pattern. You can use the special signs $1, $2, $3 etc. in the url, they will be replaced by the results of captures with regular expressions or stars with wildcards. For instance, if you have the include pattern http://google.com/*, redirect to http://froogle.com/$1 and you open the page http://google.com/foobar, then you will be redireced to http://froogle.com/foobar, since 'foobar' was what the star replaced. $1 is for the - first star in the pattern, $2 for the second and so on. For regular expression $1 is for the first parantheses, $2 for the second etc. The redirect url - can also be specified as a XPath expression. + first star in the pattern, $2 for the second and so on. For regular expression $1 is for the first parantheses, $2 for the second etc.
    3. Pattern type: This specifies how Redirector should interpret the patterns, either as wildcards or regular expressions.
    4. @@ -115,12 +113,6 @@ the ? sign in the querystring of the url. ? is a special character in regular expressions so if you want to match an url with a querystring you should escape it as \?).

      - -

      XPath redirects

      -

      The redirect url can be specified as an xpath expression by starting it with xpath: and then you will be redirected to the url - that the xpath expression matches. Example: Redirect url is xpath:/div/span/a/@href, then you will be redirected to the href value - of the first link that's inside a div in the original page.

      -

      Examples

      -- cgit v1.2.3-70-g09d2