TracExtractUrl 0.2.7030

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

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
GPL v3 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Martin Scharrer
HOMEPAGE:
www.trac-hacks.org
CATEGORY:
ROOT \ Internet \ HTTP (WWW)
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.

Last updated on November 4th, 2009

requirements

#extract URL #Trac plugin #extract_url method #Trac #URL #extractor #plugin

Add your review!

SUBMIT