Chunk Grabber delimiters

wayland76 - April 24, 2008 - 10:49
Project:Flexifilter
Version:6.x-1.x-dev
Component:Code - Components
Category:feature request
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)
Description

It'd be nice if there was also an option to leave the chunk grabber delimiters in place. For example, I want to do something to the contents of an a href="(whatever)", but leave the a href in place. Actually, what I want to do is change the MediaWiki links so that they link to my own site instead of en.wikipedia.org. I'm trying to turn "The Big Example" into "the-big-example".

#1

cwgordon7 - April 24, 2008 - 22:58
Status:active» postponed (maintainer needs more info)

Is this not possible right now...?

#2

wayland76 - April 25, 2008 - 23:43

Sorry for the incoherent problem description :).

I'm using a Chunk Grabber, and I have the "Include rest" option ticked, and the "Pass delimiters" option unticked. The delimiters are not included in the output. I would like it if there were an option for them to be included; this isn't what you want, for example, in the mediawiki link filter where it uses [[]] as the delimiters, but it's needed where I'm using <a href=" as one delimiter, and "> as the other.

#3

cwgordon7 - April 26, 2008 - 20:18

Yes, so why wouldn't you check the "pass delimiters" option...?

#4

wayland76 - April 28, 2008 - 02:47

Hmm. Because I wanted to alter the stuff inside the delimiters, but leave the delimiters themselves "as is". Of course, I could have the code inside the chunk grabber reproduce the delimiters :).

#5

wayland76 - July 23, 2008 - 07:39
Status:postponed (maintainer needs more info)» active

#6

KiamLaLuno - November 15, 2008 - 23:18
Status:active» postponed (maintainer needs more info)

I find this to be quietly useless. I cannot find a use case for this feature; then it would be enough to write the delimiters twice, to see them in the output.

Am I misunderstanding the request?

 
 

Drupal is a registered trademark of Dries Buytaert.