× Here you can get community support related to Tag Meta.

All keywords lowercase

  • teubernet
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 9 months ago #4692 by teubernet
All keywords lowercase was created by teubernet
Hello, I am using tag meta enterprise TagMeta1.7.8Enterprise_J3, Joomla 3.4.8.

When I generate keywords with the {autokeywords 4,10} makro I get all keywords lowercase. For the keyword meta tag it´s ok, but I use the makro also for trhe title tag, there it is a little annoying.

How can I get the keywords in the title tag as written in the text?

Best regards

Christian

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago #4694 by admin
Replied by admin on topic All keywords lowercase
Same here, i will check both requests and let you know.

Sincerely,
Luigi

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago #4696 by admin
Replied by admin on topic All keywords lowercase
For meta keywords to work I need to put all words extracted to lowercase before to group them and sort by frequency. So to have case sensitive words it should be necessary to create a second (different) macro.

I will probably add in the next release. Meanwhile, if you don't need lowercase, change line 1393 (the same of other post) from this:
$content = JString::strtolower(trim(preg_replace('/[\s\r\n\t\.,:;\?!]{1,}/', ' ', $content)));

To this:
$content = trim(preg_replace('/[\s\r\n\t\.,:;\?!]{1,}/', ' ', $content));

Kind regards,
Luigi
The following user(s) said Thank You: teubernet

Please Log in or Create an account to join the conversation.

  • teubernet
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 9 months ago - 8 years 9 months ago #4698 by teubernet
Replied by teubernet on topic All keywords lowercase
Worked like a charm, "grazie mille" for your fast and great support!
Last edit: 8 years 9 months ago by teubernet.

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago #4701 by admin
Replied by admin on topic All keywords lowercase
U're welcome.

Please Log in or Create an account to join the conversation.

Time to create page: 0.144 seconds