Jump to content



* * * - - 2 votes

KissMT Dynamic SEO Meta & Canonical Header Tags


  • Please log in to reply
638 replies to this topic

#1   FWR Media

FWR Media
  • Members
  • 6,839 posts
  • Real Name:Robert Fisher
  • Gender:Male
  • Location:Stowmarket - Suffolk - UK

Posted 16 January 2010 - 09:43 PM

KissMT Dynamic SEO Meta & Canonical Header Tags
powerful seo meta tags & canonical elements in just 5 minutes.

Compatibility:
Oscommerce MS2.2, RC (all versions)
PHP 5.2+/5.3+ ( PHP 4 NOT supported )
MySQL 4/5

Download:
http://addons.oscommerce.com/info/7199

Credits: ( thanks to all the beta testers without whom the initial KissMT release could never have been so solid )
Special thanks to:
Tom aka tomh/perfectpassion, Graeme aka knott, ken aka ken44, James aka jwilkins
Thanks also to:
Wim aka Mister_dj, Onno aka Onnootje, John aka berkedam, Fabian aka proimage,
Daniel aka Morpheus1979, Marie aka mariemeh.

Recommendations:
We recommend the use of Ultimate Seo Urls 5/5 Pro as the perfect Seo Url addition to this contribution.
http://addons.oscommerce.com/info/6768

Header tags seo and other meta tag contributions:
Want to try this out but leave your existing meta tags contribution in place? Do the safe 2 minute test! ( documentation/2_minute_test.html )

Features:
  • Fast 5 minute install ( easy for beginners and experienced )
  • Dynamically generated meaningful meta tags with no complexity.
  • No core osCommerce file changes ( except replacing the <title></title> in the catalog files ).
  • Updates and upgrades with no core osCommerce file changes ( just replace the module directory ).
  • Compatible with highly modified sites. ( due to "no core osCommerce file changes" )
  • Modern Canonical elements, as recommended by Mat Cutts of Google, protecting you against indexed sessions ( osCsid ) and duplicate content.
  • Automated Meta titles intelligently built (to your specified length)
  • Automated keyword generation with stopwords removed. (multi language capable)
  • Automated description generation.
  • Automated meta title capitalisation excluding small words (multi language capable)
  • Highly efficient system using 2 queries maximum and none after cache load. ( so ideal even for the biggest shops )
  • Modern PHP 5.2/5.3 code
  • Error free with no deprecated code ( even on high error reporting E_ALL | E_STRICT )
  • Perfect for small and large shops ( due to efficiency )
  • No complex manual "fiddling" required. ( works out of the box )
  • HTML/XHTML output. ( easy to validate )
  • Performance output for testing & development ( or just to exemplify efficiency )

Extra features: ( requires additional install )
  • Admin based settings ( database install )
  • SEO Category content. Text content for every category page. ( also used in meta tags )
  • SEO Manufacturers content. Text content for every manufacturers page. ( also used in meta tags )
  • H1 tagged SEO automatic page titles. ( to your specified length )

Edited by FWR Media, 16 January 2010 - 09:44 PM.


#2   Greecom

Greecom
  • Members
  • 25 posts
  • Real Name:polak
  • Gender:Male

Posted 17 January 2010 - 03:17 AM

Hi weri nice contribution easy like all the time from you so many many thanks
But I have one question I install everything working perfect but description tags and keywords is showing for example "Př&iacute;sně" tajn&eacute is not displaying correct characters and should be "Přísně tajné" is any fix for that?
I install that on BTS oscommrce and there was description and keywords an there was showing all perfect
Thanks for any help

#3   FWR Media

FWR Media
  • Members
  • 6,839 posts
  • Real Name:Robert Fisher
  • Gender:Male
  • Location:Stowmarket - Suffolk - UK

Posted 17 January 2010 - 08:21 AM

View PostGreecom, on 17 January 2010 - 03:17 AM, said:

Hi weri nice contribution easy like all the time from you so many many thanks
But I have one question I install everything working perfect but description tags and keywords is showing for example "Př&iacute;sně" tajn&eacute is not displaying correct characters and should be "Přísně tajné" is any fix for that?
I install that on BTS oscommrce and there was description and keywords an there was showing all perfect
Thanks for any help

what is your charset? set at in your languages/<my language>.php
define('CHARSET''xxx')

Actually, I think this is correct, web pages should contain html_entities. Does it "look" ok from the browser?

Edited by FWR Media, 17 January 2010 - 08:27 AM.


#4   torquemada

torquemada
  • Members
  • 12 posts
  • Real Name:Marek

Posted 17 January 2010 - 03:47 PM

It not working properly. I have error
Warning: html_entity_decode() [function.html-entity-decode]: charset `iso-8859-2' not supported, assuming iso-8859-1 in /usr/local/apache iss_meta_tags/modules/product_info.php on line 49

#5   Greecom

Greecom
  • Members
  • 25 posts
  • Real Name:polak
  • Gender:Male

Posted 17 January 2010 - 04:34 PM

View PostFWR Media, on 17 January 2010 - 08:21 AM, said:

what is your charset? set at in your languages/<my language>.php
define('CHARSET''xxx')

Actually, I think this is correct, web pages should contain html_entities. Does it "look" ok from the browser?

Hi charset is utf-8 all the files and in database.
Thanks for fast replay

#6   FWR Media

FWR Media
  • Members
  • 6,839 posts
  • Real Name:Robert Fisher
  • Gender:Male
  • Location:Stowmarket - Suffolk - UK

Posted 17 January 2010 - 04:34 PM

View Posttorquemada, on 17 January 2010 - 03:47 PM, said:

It not working properly. I have error
Warning: html_entity_decode() [function.html-entity-decode]: charset `iso-8859-2' not supported, assuming iso-8859-1 in /usr/local/apache iss_meta_tags/modules/product_info.php on line 49

ISO-8859-2 is pretty much unsupported. Neither htmlspecialchars nor html_entities support it.

I will probably recode KissMT using a wrapper for these functions that will bypass encoding if the charset is ISO-8859-2.

#7   FWR Media

FWR Media
  • Members
  • 6,839 posts
  • Real Name:Robert Fisher
  • Gender:Male
  • Location:Stowmarket - Suffolk - UK

Posted 17 January 2010 - 04:44 PM

View PostGreecom, on 17 January 2010 - 04:34 PM, said:

Hi charset is utf-8 all the files and in database.
Thanks for fast replay

As I said. the characters should be converted to html entities or the page wouldn't validate, it is perfectly acceptable to search engines.

#8   FWR Media

FWR Media
  • Members
  • 6,839 posts
  • Real Name:Robert Fisher
  • Gender:Male
  • Location:Stowmarket - Suffolk - UK

Posted 17 January 2010 - 06:16 PM

View Posttorquemada, on 17 January 2010 - 03:47 PM, said:

It not working properly. I have error
Warning: html_entity_decode() [function.html-entity-decode]: charset `iso-8859-2' not supported, assuming iso-8859-1 in /usr/local/apache iss_meta_tags/modules/product_info.php on line 49

Marek

I have just updated the latest revision to hopefully support ISO-8859-2, I'm not going to upload the revision just yet but if you are interested in testing to see if it works for you then I will email a download link.

#9   FWR Media

FWR Media
  • Members
  • 6,839 posts
  • Real Name:Robert Fisher
  • Gender:Male
  • Location:Stowmarket - Suffolk - UK

Posted 17 January 2010 - 06:33 PM

This was an ooooooooops post and therefore deleted :)

Edited by FWR Media, 17 January 2010 - 06:34 PM.


#10   Greecom

Greecom
  • Members
  • 25 posts
  • Real Name:polak
  • Gender:Male

Posted 17 January 2010 - 08:21 PM

View PostFWR Media, on 17 January 2010 - 04:44 PM, said:

As I said. the characters should be converted to html entities or the page wouldn't validate, it is perfectly acceptable to search engines.

Hi Robert
is there any chance to disable or update KissMT so the characters show how they are and not like "Př&iacute;sně tajn&eacute" I have no problem with the validating before so will be much better if they show correctly
thanks for help

#11   FWR Media

FWR Media
  • Members
  • 6,839 posts
  • Real Name:Robert Fisher
  • Gender:Male
  • Location:Stowmarket - Suffolk - UK

Posted 17 January 2010 - 08:28 PM

View PostGreecom, on 17 January 2010 - 08:21 PM, said:

Hi Robert
is there any chance to disable or update KissMT so the characters show how they are and not like "Př&iacute;sně tajn&eacute" I have no problem with the validating before so will be much better if they show correctly
thanks for help

Polak

Are you seeing these characters viewing the site or just viewing source?

#12   Greecom

Greecom
  • Members
  • 25 posts
  • Real Name:polak
  • Gender:Male

Posted 17 January 2010 - 08:35 PM

View PostFWR Media, on 17 January 2010 - 08:28 PM, said:

Polak

Are you seeing these characters viewing the site or just viewing source?

Hi Robert
All on web and source is displaing the same like should be in my language "ě č ř z" but only in metatags source view displaing with "&iacute"

<title>Př&iacute;sně tajn&eacute; Akčn&iacute; Sibiř Tunguzka</title>
<meta name="description" content="Př&iacute;sně tajn&eacute; Akčn&iacute; Sibiř Tunguzka obrovsk&aacute; exploze nezn&aacute;m&eacute;ho původu ohniv&eacute; sobě zk&aacute;zu. později už...">
<meta name="keywords" content="Př&iacute;sně,tajn&eacute;,Akčn&iacute;,Sibiř,">

again thanks for your time

#13   FWR Media

FWR Media
  • Members
  • 6,839 posts
  • Real Name:Robert Fisher
  • Gender:Male
  • Location:Stowmarket - Suffolk - UK

Posted 17 January 2010 - 09:13 PM

View PostGreecom, on 17 January 2010 - 08:35 PM, said:

Hi Robert
All on web and source is displaing the same like should be in my language "ě č ř z" but only in metatags source view displaing with "&iacute"

<title>Př&iacute;sně tajn&eacute; Akčn&iacute; Sibiř Tunguzka</title>
<meta name="description" content="Př&iacute;sně tajn&eacute; Akčn&iacute; Sibiř Tunguzka obrovsk&aacute; exploze nezn&aacute;m&eacute;ho původu ohniv&eacute; sobě zk&aacute;zu. později už...">
<meta name="keywords" content="Př&iacute;sně,tajn&eacute;,Akčn&iacute;,Sibiř,">

again thanks for your time

Polak, this shouldn't be changed, it is perfect. All web pages should be output as html entities.

#14   Greecom

Greecom
  • Members
  • 25 posts
  • Real Name:polak
  • Gender:Male

Posted 17 January 2010 - 09:24 PM

View PostFWR Media, on 17 January 2010 - 09:13 PM, said:

Polak, this shouldn't be changed, it is perfect. All web pages should be output as html entities.

Ok Robert
Thanks for other great contribution install very easy work like magic
thanks again

#15   Greecom

Greecom
  • Members
  • 25 posts
  • Real Name:polak
  • Gender:Male

Posted 17 January 2010 - 09:31 PM

Thank you Robert for your help
hope I dont bother you to much but should not be metatags closed like /> insted like is now just >  ?
thanks

#16   FWR Media

FWR Media
  • Members
  • 6,839 posts
  • Real Name:Robert Fisher
  • Gender:Male
  • Location:Stowmarket - Suffolk - UK

Posted 17 January 2010 - 09:35 PM

View PostGreecom, on 17 January 2010 - 09:31 PM, said:

Thank you Robert for your help
hope I dont bother you to much but should not be metatags closed like /> insted like is now just >  ?
thanks

This is an admin setting.

If you have not added the database install (which you can do without adding the rest of the addons by the way) then the settings are in ..

catalog/includes/modules/kiss_meta_tags/includes/init.php

As standard the setting is ..

  /**
  * XHTML tag output - string true / false
  */
  @define( 'KISSMT_XHTML_OUTPUT', 'false' );

As most people do not run XHTML sites it is set as standard as HTML, if you change it to 'true' it will output XHTML tags.

If your doctype is not XHTML you should use the standard tags.

Edited by FWR Media, 17 January 2010 - 09:36 PM.


#17   francois21

francois21
  • Members
  • 68 posts
  • Real Name:francois
  • Gender:Male
  • Location:France

Posted 18 January 2010 - 10:10 AM

Hello
Bravo and congratulations for this work!!
I am in France and we have accented characters like: é è ç à for example.
In the source code of the page I have eg
"Mary &agrave; tout prix"  for  "Mary à tout prix"
or
"R&eacute;alisation Bobby Farrelly"  for  "Réalisation Bobby Farrelly"
or
"Lhistoire de"  for  "L'histoire de"

Have you fix for this?

In title of the page (not code source) all is good
"Mary à tout prix-DVD-TSAB-Comedie-Films et Dvd-by Fox-Mary à tout prix"



Thank you
Francois

#18   FWR Media

FWR Media
  • Members
  • 6,839 posts
  • Real Name:Robert Fisher
  • Gender:Male
  • Location:Stowmarket - Suffolk - UK

Posted 18 January 2010 - 10:25 AM

View Postfrancois21, on 18 January 2010 - 10:10 AM, said:

Hello
Bravo and congratulations for this work!!
I am in France and we have accented characters like: é è ç à for example.
In the source code of the page I have eg
"Mary &agrave; tout prix"  for  "Mary à tout prix"
or
"R&eacute;alisation Bobby Farrelly"  for  "Réalisation Bobby Farrelly"
or
"Lhistoire de"  for  "L'histoire de"

Have you fix for this?

In title of the page (not code source) all is good
"Mary à tout prix-DVD-TSAB-Comedie-Films et Dvd-by Fox-Mary à tout prix"



Thank you
Francois

Hi Francois

Thanks for the kind words.

Mary &agrave; tout prix" for "Mary à tout prix

Is in fact correct. The source code should be html entities but of course when browsing the actual page with a web browser the characters should look as normal.

html entities are required for a page to validate XHTML and ensure that pages are rendered correctly.

Another reason to use html entities is security.

Printing to screen the following: -
<div>testing</div>

Results in ..

testing

As the html (or possibly javascript) has been parsed by the browser.

However ..

&lt;div&gt;testing&lt;/div&gt;

Results in ..

<div>testing</div>

As the html has not been parsed.

Edited by FWR Media, 18 January 2010 - 10:32 AM.


#19   FWR Media

FWR Media
  • Members
  • 6,839 posts
  • Real Name:Robert Fisher
  • Gender:Male
  • Location:Stowmarket - Suffolk - UK

Posted 18 January 2010 - 10:53 AM

No new version needs to be uploaded this is just for your information.

Changelog:

  • Wrapped the htmlentities and html_entity_decode functions to allow a bypass for ISO-8859-2 which is not supported by either htmlspecialchars or htmlentities.
  • Added Information Pages module.
  • Added full set of modules for Newsdesk.

If anyone needs the changes for ISO-8859-2 or the addon modules for Information Pages or Newsdesk just send me a PM and I'll send a download link.

#20   torquemada

torquemada
  • Members
  • 12 posts
  • Real Name:Marek

Posted 18 January 2010 - 12:05 PM

View Posttorquemada, on 17 January 2010 - 03:47 PM, said:

It not working properly. I have error
Warning: html_entity_decode() [function.html-entity-decode]: charset `iso-8859-2' not supported, assuming iso-8859-1 in /usr/local/apache iss_meta_tags/modules/product_info.php on line 49


It works great. I test new version and work properly, great job!