create new tag
, view all tags

Feature Proposal: Introduce new parameter "replace" to INCLUDE variable


If you include a web-page to a TWiki page you possibly need to do some replacements, e.g. to remove superfluous or add missing html-code.

If you include a foreign page you can't use the existing parameter replacement mechanism (%PARONE%, %PARTWO%, ...).

Description and Documentation

The INCLUDE variable should be support one or more parameter pairs "patternN" and "replacementN". If specified every occurrence of "patternN" should be replaced by "replacementN". Replacement mode "text" oder "regex" should be selectable. That would by useful feature!

See also Support/SID-00596




-- Contributors: HorstEsser - 2009-11-12


Topic revision: r1 - 2009-11-12 - HorstEsser
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.