I'm new to 'assisting' and hope this makes sense.

It maybe that the nodewords module has changed the way it does things with the introduction of nodewords-6.x-1.2 that causes this issue or it may have been there all along, I haven't been using this module long enough to say.

This came to light as I have an eye on optimisation and have noticed that even when input weblinks is not showing description content or keywords in the head on the main /weblinks page.

Also, although keywords and descriptions do appear within the head of a created link node (/weblinks/<page-title>) the meta description is picking up and displaying not only the " but also the raw ascii of <p> tags at the beginning and end of the content.

<meta name="description" content="&lt;p&gt;Details are here&lt;/p&gt;" />

regards.

Comments

nancydru’s picture

Title: Incorrect display of nodewords elements to nodes » incorrect display of nodewords elements to nodes
Category: support » bug
Priority: Minor » Normal
Status: Closed (duplicate) » Postponed (maintainer needs more info)

I just downloaded 6.x-1.2 of Nodewords and I am seeing the description and keywords in the header of "/weblinks"

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta http-equiv="Content-Style-Type" content="text/css" />
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="/misc/favicon.ico" type="image/x-icon" />
<meta name="description" content="Links page for my site" />
<meta name="keywords" content="drupal, cms, content management" />  <title>Web Links | Drupal-6</title>

And on a link node:

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta http-equiv="Content-Style-Type" content="text/css" />
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="/misc/favicon.ico" type="image/x-icon" />
<meta name="description" content="This link is to the best site on youth sports." />
<meta name="keywords" content="xxx yyy zzz, nancy&#039;s team" />  <title>Xxx Yyy Zzz | Drupal-6</title>

It does appear that the Nodewords module is double encoding ('s) and, apparently, not stripping tags. Otherwise, it looks like it's doing what it is supposed to be doing. I suspect your issue is with Nodewords. We have tried to make Web Links as Drupal-standard as possible.

mutualadvantage’s picture

Status: Active » Postponed (maintainer needs more info)

Thanks Nancy, I have reported the issue on the nodewords board with a link to this thread. Here's hoping it will get resolved quickly.

nancydru’s picture

Okay. If you had agreed, we could have just transferred this issue over there.

#587248: Meta tags content is not correctly encoded/filtered

avpaderno’s picture

Title: incorrect display of nodewords elements to nodes » Incorrect display of nodewords elements to nodes

I confirm the issue is with Nodewords, not Web Links. This report could be marked as won't fix, or changed to a support request.

nancydru’s picture

Category: bug » support
Priority: Normal » Minor

Okay, changing to support so that I can remember to check the status on that issue.

nancydru’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)

Okay, that issue is fixed.

Status: Postponed (maintainer needs more info) » Closed (duplicate)