Closed (fixed)
Project:
Nodewords: D6 Meta Tags
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Oct 2006 at 15:56 UTC
Updated:
3 Nov 2006 at 07:31 UTC
The tags from the Inline module are not stripped out of the description when using the "teaser as description" feature.
Using this module and the inline module, my metatag description looks like:
<meta name="description" content="[inline:1]This is my teaser text." />
I'm not sure if this should be filed as an inline module issue or here. Your thoughts are appreciated.
Comments
Comment #1
Robrecht Jacques commentedGood question :-)
I think this is a nodewords bug. See also: http://drupal.org/node/88285 which gives mentions problems with CCK and the auto-generated DESCRIPTION.
I suppose the auto-generation is not as good as it could be. Ideally, nodewords would need to let inline module do its job and then strip any html that may have been generated by it. Eg if inline module creates a
<img>tag, that would be stripped.I will look into this issue (and the possibly related CCK one) next week.
Comment #2
drubeedoo commentedThank you, Robrecht. I'll be happy to test if you get a chance to look into it next week.
Comment #3
Robrecht Jacques commentedPlease check version 1.32.2.13 of nodewords.module. The [inline] is no longer displayed, but (unfortunately?) the description or name of the file attachment still is. I'm not sure how to avoid this or if it is needed to avoid that.
Please check and report back.
Comment #4
drubeedoo commentedRobrecht,
Indeed, version 1.32.2.13 of nodewords.module has fixed this issue for me, regardless of format.
All of the above are stripped properly. My humble thanks and gratitude go out to you for this fix.
I'm not sure what you mean by the following:
I can't duplicate seeing a "description" or "name" of a file attachment in the metatag. Can explain when this shows up?
Comment #5
Robrecht Jacques commentedIf you attach an image with dimensions that are bigger then specified in the inline settings (by default 150x150), or if you attach another type of file (such as a pdf), then you get a link in the body. So for example:
this is an inline test [inline:1]would then be rendered as
this is an inline test <a href="#">filename or title/description</a>Nodewords would then use
this is an inline test filename or title/descriptionas auto-generated meta description.
Setting it as fixed. Reopen if you think this is incorrect.
Comment #6
(not verified) commented