Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The page:url function can be used as part of any KRL expression. To retrieve data about the calling page url.

Info

This gives data about the calling page URL (i.e. the page where KBX planted tags or on which they were manually planted). It does NOT give data about the Event Signal URL.

The following parameters can be passed to page:url:

  • protocolthe protocol scheme (e.g. http, https, etc.)
  • hostnamethe complete hostname (e.g. www.windley.com)
  • domainthe domain portion of the hostname (e.g. windley.com)
  • tldthe top-level domain of the hostname (e.g. com, org, net, etc.)
  • portthe port (defaults to 80 if unspecified)
  • paththe path portion of the URL (e.g. /archives/2008/07) 
  • querythe query string, if present (e.g. ?vxx=_ADJKLD&q=foo) 

...