osCmax v2.5 User Manual
Results 1 to 7 of 7

meta tags: extra keywords, secondary & tertiary?

This is a discussion on meta tags: extra keywords, secondary & tertiary? within the osCMax v2 Features Discussion forums, part of the osCmax v2.0 Forums category; in the meta_tags.php file the code includes case 1 //extra keywords. why are they called extra keywords? if they are ...

      
  1. #1
    New Member
    Join Date
    Jun 2010
    Posts
    9
    Rep Power
    0


    Default meta tags: extra keywords, secondary & tertiary?

    in the meta_tags.php file the code includes case 1 //extra keywords. why are they called extra keywords? if they are extra keywords, then where/what are the usual/normal keywords?

    also, what are the secondary and tertiary sections output?

  2. #2
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36
    Last edited by ridexbuilder; 11-16-2010 at 08:22 AM.
    Hosting plans with installation, configuration, contributions, support and maintenance.

  3. #3
    New Member
    Join Date
    Jun 2010
    Posts
    9
    Rep Power
    0


    Default Re: meta tags: extra keywords, secondary & tertiary?

    that doesn't answer the questions nor does it help any whatsoever, i'm not even sure why you wasted your time posting that. i've read the meta tag wiki pages and forum posts on meta tags and my questions still stand.

  4. #4
    New Member
    Join Date
    Jun 2010
    Posts
    9
    Rep Power
    0


    Default Re: meta tags: extra keywords, secondary & tertiary?

    now that i see you are an oscmax developer i am even more chagrined by your thoughtless & smart aleck comment.

  5. #5
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Lightbulb Re: meta tags: extra keywords, secondary & tertiary?

    As per the wiki ...

    //Extra keywords that will be outputted on every page
    Basically - osCmax dynamically adds the keywords from your product descriptions, categories, page titles, etc. This extra bit allows you to force certain words onto every page. You will have a clearer understanding if you view source on one of your pages ...

    If you look at the code for includes/meta_tags.php you will see the Secondary and Tertiary sections shown as defines at the top - they basically split up the different keywords that are added to your meta tags. Ie. - , : etc.

    that doesn't answer the questions nor does it help any whatsoever, i'm not even sure why you wasted your time posting that. i've read the meta tag wiki pages and forum posts on meta tags and my questions still stand.
    Erm! He helpfully posted links to wiki which describes in some details about metatags. You may well have read this but how on earth is he meant to know this? Perhaps in your first post you should have said so!

    Eg. "Hi Guys, I know you do this for free and everything but I have read the wiki and I still don't understand the metatags stuff - could you explain ... "


    I suspect that you will get more help and assistance with this approach instead of:

    now that i see you are an oscmax developer i am even more chagrined by your thoughtless & smart aleck comment.
    Which I am pretty sure will not endear RidexBuilder into helping you out in the future! He has posted nearly 2,000 reponses to questions here to help people out who are stuck and further more I really don't see what has upset you so much - where is the smart aleck comment? Are you upset by a link to the definition of Tertiary?

    Anyway - I hope the above answers your question.

    Regards,
    pgmarshall
    _______________________________

  6. #6
    New Member
    Join Date
    Jun 2010
    Posts
    9
    Rep Power
    0


    Default Re: meta tags: extra keywords, secondary & tertiary?

    extra implies above the normal, where and what are the normal keywords added to a page?


    tertiary means 3rd, i'm aware of that. no where in the wiki does it inform me how tertiary is applied re: meta tags.

    where and what is the tertiary instance of meta tags?

  7. #7
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Smile Re: meta tags: extra keywords, secondary & tertiary?

    extra implies above the normal, where and what are the normal keywords added to a page?
    They are Dynamic - this means that they are added depending on the content of the page.

    Most are structured as follows:

    define('META_TAG_TITLE', NAVBAR_TITLE_1 . PRIMARY_SECTION . TITLE . $web_site_tagline);
    define('META_TAG_DESCRIPTION', TITLE . PRIMARY_SECTION . NAVBAR_TITLE_1 . SECONDARY_SECTION . WEB_SITE_KEYWORDS);
    define('META_TAG_KEYWORDS', WEB_SITE_KEYWORDS . NAVBAR_TITLE_1);
    PRIMARY_SECTION = ":"
    SECONDARY_SECTION = "-"
    TERTIARY_SECTION = ","

    The PRIMARY, SECONDARY and TERTIARY are the dividers used between the meta tags and words - view source to see how this works ...

    NAVBAR_TITLE = Is defined in the language files
    TITLE = The page title
    WEB_SITE_KEYWORDS = Basically your categories names + and extra keywords you added to the previously discussed stuff.

    The query is as follows:

    $mt_keywords_string ='';
    $mt_categories_query = tep_db_query("select cd.categories_name from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '0' and c.categories_id = cd.categories_id and cd.language_id='" . (int)$languages_id ."'");
    while ($mt_categories = tep_db_fetch_array($mt_categories_query)) {
    $mt_keywords_string .= $mt_categories['categories_name'] . ',';
    And that is basically it ...
    pgmarshall
    _______________________________

Similar Threads

  1. Keywords and Meta Tags
    By claire in forum osCommerce 2.2 Modification Help
    Replies: 4
    Last Post: 11-17-2009, 07:48 AM
  2. Easy Meta Tags - CUSTOM Product Tags for STS v4
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 11-26-2007, 04:14 PM
  3. config heading title and meta keywords
    By lazua in forum osCmax v2 Installation issues
    Replies: 0
    Last Post: 06-21-2007, 08:55 PM
  4. Meta Tags On The Fly
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 04-21-2007, 09:12 AM
  5. Meta Tags On The Fly
    By michael_s in forum New osCommerce Contributions
    Replies: 1
    Last Post: 04-16-2007, 09:31 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •