Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Burt's Dynamic Meta Tags


Guest

Recommended Posts

Hi.

I've been tring to install Burt's Dynamic Meta Tags on a shop using STS ( I read this this and this ) Strangelly it show's the description in the search box. I am tring to run it on a osC 2.2 M2 site. Has anyone else had this problem?

 

Thanks

Link to comment
Share on other sites

Hi

I've just implemented this dynamic code as well by burt and checked my source code on the products pages and this is part of it shown exactly below with the spaces:

 

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<title>My Store - BenQ Joybee110 MP3 Player 256MB Orange</title>

<meta name="keywords" content="BenQ Joybee110 MP3 Player 256MB Orange - My Store">

<meta name="description" content="

 

 

 

 

 

 

 

 

Joybee 110 can play MP3, WAV, and TVF audio files, and provides 7 preset

equalizer modes for a diverse range of music, satisfying your yearning for music

wherever you go. The Joybee 110 is also a powerful digital aud">

 

 

I'm just wondering does that extra space in the middle there matter and affect the descriptions in search engines if they use the description meta tag cause I think its there because I have included an html image link before my products descriptions. Any ideas please???

 

Thanks

Link to comment
Share on other sites

You can try to trim it off:

 

<meta name="description" content="<?php echo trim($keywords); ?>">

 

It might work, it might not. I have not tested it. Please post back to thread whether it works or not.

Link to comment
Share on other sites

Sorry for the late reply, my sites been down and couldn't do anything...

 

I tried that trim code and it seems to work quite well, heres what it looks like now:

 

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<title>My Store - BenQ Joybee110 MP3 Player 256MB Orange</title>

<meta name="keywords" content="BenQ Joybee110 MP3 Player 256MB Orange - My Store">

<meta name="description" content="Joybee 110 can play MP3, WAV, and TVF audio files, and provides 7 preset

equalizer modes for a diverse range of music, satisfying your yearning for music

wherever you go. The Joybee 110 is also a powerful digital aud">

 

Its looks much better now. However, if there is a blank line within my products descriptions, those dynamic meta descriptions will show a blank line as well still:

 

<meta name="description" content="The NB5580 offers an outstanding array of up-to-the-minute broadband sharing

features in a single, cost-effective device.

 

The NB5580 comes complete with:

 

-Integrated ADSL modem

-Advanced SPI-DoS Active Firewall"

 

 

Anyway thanks alot burt for your suggestions! :)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...