Wladimir Palant wrote:I was thinking adding another extension to the filter syntax - annotations. I would like to specify what types of elements filters apply to. Furthermore I would like to treat third-party images/scripts/etc specially.
Wladimir Palant wrote:@chewey: Yes, negation is one of the examples
Wladimir Palant wrote:Just not exactly sure what to do when regular and negated types are mixed: *$image,~object or even *$object,~object (in the first case "image" will probably have no effect and in the second the filter should be equivalent to "*")
Wladimir Palant wrote:Any types listed are OR'ed. *Negated* types are AND'ed. third-party or ~third-party is always AND'ed to the rest.
Wladimir Palant wrote:As there is only one way to do this that makes sense - do we need to reflect this in the syntax?
Anonymous wrote:And because I like the idea, I have a suggestion:
Make a new column, where such options can be saved. Generally it would be clear or set to "always". But the user can edit this aditional field and set a limitation (e.g. "image" or "image,object"). And to make this feature also accessible to new users, you could build a wizard, which you has already planned, for creating new filters. There this limitations could be set by using checkboxes or similar.
Users browsing this forum: No registered users and 5 guests