Incorrect display of nodewords elements to nodes

mutualadvantage - September 24, 2009 - 18:30
Project:Web Links
Version:6.x-2.x-dev
Component:Testing
Category:support request
Priority:minor
Assigned:Unassigned
Status:duplicate
Description

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.

#1

NancyDru - November 19, 2009 - 16:51
Status:active» 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.

#2

mutualadvantage - September 24, 2009 - 22:22

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.

#3

NancyDru - September 25, 2009 - 01:50

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

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

#4

kiamlaluno - September 25, 2009 - 10:50
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.

#5

NancyDru - September 25, 2009 - 13:45
Category:bug report» support request
Priority:normal» minor

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

#6

NancyDru - September 30, 2009 - 15:18
Status:postponed (maintainer needs more info)» duplicate

Okay, that issue is fixed.

 
 

Drupal is a registered trademark of Dries Buytaert.