Closed (fixed)
Project:
Nodewords: D6 Meta Tags
Version:
6.x-1.x-dev
Component:
Third-party modules integration
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
7 Nov 2009 at 00:15 UTC
Updated:
1 Dec 2009 at 19:40 UTC
Comments
Comment #1
avpadernoAre those tags added by the module automatically, or are they the input of the user?
Thanks for bringing this out.
Comment #2
WildBill commentedThey are added automatically by the module, when the user adds an image to a node. The tag and the rest of the body are saved in the Body field.
Comment #3
WildBill commentedComment #4
avpadernoThank for the information, WildBill.
It should be enough to find a matching with
/\[img_assist.*\]/i, and replace it with an empty string.Comment #5
avpadernoThe code has been changed, and committed in CVS.
Thanks again for your help.
Comment #6
WildBill commentedCool, thanks Kiam.
Comment #7
VSZ commentedThe same problem with Image Browser v2 code.
It appears in automatically generated description as
[ibimage==5778==thumbnail==preview==blank==ibimage_right]
Comment #8
avpadernoI will open a different issue for this case (see #634106: Strip the text added by Image Browser).
Comment #9
WildBill commentedI wonder if it would be worth creating a field in the admin settings, so that ALL of these tags could be omitted. Something like a "Strip content which matches the following pattern" or something like that. Then the user could enter [img_assist*] on one line, and then [ibimage*] on another line, and the asterisk would act as a wildcard of course. Not sure how difficult that would be though.
Comment #10
avpadernoIt should not be too difficult, and it would make sense.
I think that to consider users who don't want to bother by knowing the details, the settings should contain an option for the known text to filter, and an option for a custom regular expression for advanced users.
Comment #11
avpadernoI created a different report for the user interface (see #635386: Add more options to filter the text present in the node teaser used as meta tag content).