TracExtractUrl

Provides `extract_url` method to extract the URL from TracWiki links
Download

TracExtractUrl Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL v3
  • Price:
  • FREE
  • Publisher Name:
  • Martin Scharrer
  • Publisher web site:
  • http://scharrer-online.de

TracExtractUrl Tags


TracExtractUrl Description

Provides `extract_url` method to extract the URL from TracWiki links TracExtractUrl is a Trac plug-in that provides the function extract_url which can be used in Trac plug-ins and macros to extract the URL of any TracWiki link for e.g. generation of links in produced HTML code.Usage:from tracextracturl import extract_url# ... url = extract_url (env, context, wikilink, raw=False)The argument raw controls if the returned link should point to a brows-able (False) or download-able (True) target. The second one can be used in image or similar tags. Requirements: · Trac · Python


TracExtractUrl Related Software