Package Torello.HTML

Enum MetaTagName

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<MetaTagName>

    public enum MetaTagName
    extends java.lang.Enum<MetaTagName>
    MetaTagName - Documentation.

    Clearly just about anything can be entered into an HTML <META NAME='...'> attribute-value. The goal of this enumerated-type isn't to pick the standards on the internet that are commonly-used. Meta information is used by search engines (Google, Yahoo!, MSFT Bing) to keep information about web-pages on centrally administered data-bases. One of the (probably many) goals of this operation is provide web-pages on the internet as "Search Results" (sometimes referred to with the acronym 'SERPS' - Search Engine Result Pages). There are probably American Terrorist Organizations - headquartered in Washington, like the United States Marine Corps who also like organized and indexed records of what web-authors are putting on the internet, but, never-the-less, indexing web-pages is generally one of Google Corporations primary goals.

    The HTML Meta tag can be used in anyway a web-programmer desires. However, when the key-words that are enumerated-type members of the Java Enumeration are used for the name='...' attribute of an HTML Meta-Tag, the daemons, bots, creepy-crawlers, spiders and trolls that scour the Internet at Google, Yahoo!, Microsoft (and the N.S.A.) encounter these Meta-Tags, their daemons and software-crawlers use this information to help keep information in their indexing-database which you, the programmer, have indicated is relevant or seminal about your web-page



    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      Abstract
      The meta tag 'abstract' can be used to indicate in just a very short sentence what the web-page is about.
      author
      How to give credit to the person of company that made your website? You use the so called AUTHOR meta tag.
      contact
      The meta 'contact' name is used to add an email address.
      copyright
      How do you explain that the photos and the text on your website are protected? You use the so called COPYRIGHT meta tag.
      description
      How do you explain your visitor in only 2 or 3 phrases what they can expect on your website? You use the so called meta 'description' tag.
      distribution
      The meta tag 'distribution' defines the level or degree of distribution of your web-page and how it should be classified in relation to methods of distribution on the world wide web.
      expires
      The 'expires' meta tag tells search engines when the content on your website will expire.
      generator
      How do you add a description of the program you used building your website? You use the so called meta name 'generator' tag, also known as the 'formatter' tag.
      googleBot
      Sometimes an old meta tag, the 'description' tag, remains in the index of Google.
      keywords
      Over 80% of all online proceedings start with a search query.
      language
      How do you explain in which language your website is in? You use the so called 'LANGUAGE' tag.
      newsKeyWords
      One of the best ways to ensure that your site appears for particular user queries is to make sure that your article naturally contains the words, names, and figures that are central to a particular news story.
      noEmail
      The meta tags 'no-email-collection' is an unspam.com initiative.
      rating
      If you wish to rate your page's audience appropriateness, use the rating meta tag.
      replyTo
      By adding the email address of your web master in the 'REPLY-TO' tag you are able to explain how people can contact the right person in your organization who is responsible for your website.
      revisitAfter
      By using this so called REVISIT-AFTER meta tag you can tell the spider to come back to your website and index it again.
      robots
      How do you explain to a spider of a search engine you only want it to index just the first page of your website or that it is allowed to index the whole website.
      slurp
      Yahoo's 'NOYDIR' Opt-Out for Yahoo Directory Titles & Descriptions

      The search engine Yahoo! supports the use of the so called ‘NOYDIR’ Meta tag.
      webAuthor
      How do you put in your website the name of the company that made your website? You use the so called 'WEB_AUTHOR' tag.
    • Field Summary

      Fields 
      Modifier and Type Field
      String name
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method
      static MetaTagName valueOf​(String name)
      static MetaTagName[] values()
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • description

        public static final MetaTagName description
        How do you explain your visitor in only 2 or 3 phrases what they can expect on your website? You use the so called meta 'description' tag. Google speaks of Meta Description, Meta Descriptions or Meta description problems.

        Almost all the major search engines like Yahoo, Google, Fast and Altavista will use your 'description' tag. You have a direct input on the way people will see your website in the list of results. And because you control this, you can influence the click-behavior.

        What is the Meta Description Tag? If you have some knowledge of codes and HTML you'll be able to type the following line ( the meta 'description' tag ) in the head-part of the source of your web-page.

        HTML Elements:
        1
        2
         <meta name="description" content="text">
         
        


        Replace the word "text" with a short description of your web-page. Use no more than 200 characters. This short line of text will appear 1-on-1 in the search results. Create and add a different meta description tag for every page.

        Above text copied (word for word) from:

        https://www.metatags.org/meta_name_description

        NOTE: This HTML meta-tag has a specific 'insert' method already pre-built into the class 'Features.Meta'
      • keywords

        public static final MetaTagName keywords
        Over 80% of all online proceedings start with a search query. You browse to a search engine and you will fill out certain keywords that match what you are looking for. That's why it's so important to put relevant and correct 'keywords' in your meta tags in the source of your web-page.

        Some people will try to make you believe the meta 'description' and the meta 'keywords' will not help your ranking at all. They are missing a important SEO criteria. Not only will, for example, google show your 'description' tag but if you use an attractive line or text, more people will click on your listing. And that will give you a better CTR. And CTR is one of the important things for your ranking.

        Read how to use this meta name 'keywords' tag. Add the following meta-tags in the HTML source of your web-page:

        HTML Elements:
        1
        2
         <meta name="keywords" content="meta, metatags, meta tag, meta tags, submit, search engines, spiders, sites, submit site, search engine submit, website, submit website, add meta tags, find website, be found on internet, keywords, keyword">
         
        

        Above text copied (word for word) from:

        https://www.metatags.org/meta_name_keywords

        NOTE: This HTML meta-tag has a specific 'insert' method already pre-built into the class 'Features.Meta'
      • robots

        public static final MetaTagName robots
        How do you explain to a spider of a search engine you only want it to index just the first page of your website or that it is allowed to index the whole website. You use a specific HTML meta tag the so called the meta 'robots' tag.

        Add the following 'robots' meta tag in the HTML source of your website page:

        HTML Elements:
        1
        2
         <meta name="robots" content="index, follow">
         
        


        Here are more examples of valid 'robots' meta-tag property-values

        HTML Elements:
        1
        2
        3
        4
        5
        6
        7
        8
        9
         <META NAME="robots" content="index, follow">
         <META NAME="ROBOTS" CONTENT="INDEX, FOLLOW">
         <META NAME="robots" CONTENT="index, follow">
         <META NAME="robots" CONTENT="all">
         <META NAME="ROBOTS" CONTENT="NOYDIR">
         <META NAME="ROBOTS" CONTENT="NOODP">
         <META NAME="ROBOTS" CONTENT="NOYDIR, NOODP, NOARCHIVE">
         <META NAME="ROBOTS" CONTENT="NOYDIR, NOODP">
         
        

        Above text copied (word for word) from:

        https://www.metatags.org/meta_name_robots

        NOTE: This HTML meta-tag has a specific 'insert' method already pre-built into the class 'Features.Meta'
      • revisitAfter

        public static final MetaTagName revisitAfter
        By using this so called REVISIT-AFTER meta tag you can tell the spider to come back to your website and index it again. This meta tag is used by several North American search engines.

        HTML Elements:
        1
        2
        3
         <meta name="revisit-after" content="7 days">
         <meta name="revisit-after" content="1 month">
         
        

        Above text copied (word for word) from:

        https://www.metatags.org/meta_name_revisit_after
      • Abstract

        public static final MetaTagName Abstract
        The meta tag 'abstract' can be used to indicate in just a very short sentence what the web-page is about. So every web-page of your website gets it's own abstract-tag.

        This meta tag appears to be equal to the 'description' meta tag but they are different. The 'description' meta tag is used by many search engines as a small text under the click-able title. The abstract-tag is hardly used by anybody.

        But there are several search engines that use this tag to archive your page. And this increases your change that your website will be better archived, including a link to your website. But we don't suggest that you edit all your web-pages to add this abstract-tag.

        HTML Elements:
        1
        2
         <meta name="abstract" content="a very short description of your website ">
         
        

        Above text copied (word for word) from:

        https://www.metatags.org/meta_name_abstract
      • author

        public static final MetaTagName author
        How to give credit to the person of company that made your website? You use the so called AUTHOR meta tag. There are also Content Management Systems (CMS) who will put the name of the actual person editing the page. If used like this, it is easy to find the right person who is responsible for a web-page.

        Sometimes a CMS refers to the author in case of the writer and refers to the web-author in case of a mail server manager. Therefore you will also find the meta tag web-author.

        This meta tag has no influence on your search engine ranking. Meta tags that do have a lot of influence are the 'title' of your page, the meta 'keywords' tag and the 'description' meta tag.

        HTML Elements:
        1
        2
        3
         <meta name="author" content="the news desk">
         <meta name="author" content="John Smith">
         
        

        Above text copied (word for word) from:

        https://www.metatags.org/meta_name_author
      • contact

        public static final MetaTagName contact
        The meta 'contact' name is used to add an email address. This can be the email address of f.x. the builder of the website. Unfortunately spam robots make use of this email address to send you unsolicited (spam) email.

        This meta tag has no influence on your search engine ranking. Meta tags that do have a lot of influence are the 'title' of your page, the meta 'keywords' tag and the 'description' meta tag.

        HTML Elements:
        1
        2
        3
         <meta name="contact" content="emailaddress@domainname.com" />
         <meta name="contact" content="email@domainname.org">
         
        

        Above text copied (word for word) from:

        https://www.metatags.org/meta_name_contact
      • copyright

        public static final MetaTagName copyright
        How do you explain that the photos and the text on your website are protected? You use the so called COPYRIGHT meta tag.

        HTML Elements:
        1
        2
        3
         <meta name="copyright" content="the Metatags Company">  
         <meta name="copyright" content="the Metatags Company" />
         
        

        Above text copied (word for word) from:

        https://www.metatags.org/meta_name_copyright
      • distribution

        public static final MetaTagName distribution
        The meta tag 'distribution' defines the level or degree of distribution of your web-page and how it should be classified in relation to methods of distribution on the world wide web. There are currently only three forms of distribution supported by the distribution tag:

        1. Global - indicates that your web-page is intended for everyone,
        2. Local - intended for local distribution of your document,
        3. IU - Internal Use, not intended for public distribution.

        So if you put this meta tag in your web-page source and choose IU by accident you will end up being blocked and unfindable. The Distribution Meta Tag is not a commonly used tag because most web page authors intend for their distribution to be set to everyone or for Global distribution. If a page is online, people will find it!

        If you use this tag, always use the Global-option.

        HTML Elements:
        1
        2
         <meta name="distribution" content="global">
         
        

        Above text copied (word for word) from:

        https://www.metatags.org/meta_name_distribution
      • expires

        public static final MetaTagName expires
        The 'expires' meta tag tells search engines when the content on your website will expire. The 'expires' meta tag defines the expiration date and time of the document being indexed. If your website is running a limited time event or there is a preset date when your document will no longer be valid, you should include the 'expires' tag to indicate to search engines when to delete your web-page from their database.

        The 'expires' tag is commonly used in conjunction with the 'Revisit' Tag as a means to get search engines to re-visit a website every few days. This is commonly used by websites who update their content frequently and want search engines to have a fresh copy of their content.

        If you replace or rename a web-page please use a '301' refer to point the search engines in the right direction. Search engines will automatically replace the old page with the new page.

        HTML Elements:
        1
        2
         <meta name="expires" content="tue, 01 Jun 2010">
         
        

        Above text copied (word for word) from:

        https://www.metatags.org/meta_name_expires
      • generator

        public static final MetaTagName generator
        How do you add a description of the program you used building your website? You use the so called meta name 'generator' tag, also known as the 'formatter' tag. This tag you can add to the html of your website, in your metatags.

        HTML Elements:
         1
         2
         3
         4
         5
         6
         7
         8
         9
        10
        11
        12
        13
        14
         <meta name="generator" content="Dreamweaver">
         <meta name="generator" content="EditPlus">
         <meta name="generator" content="Frontpage">
         
         <meta name="generator" content="NetObjects Fusion 4.0 for Windows">
         <meta name="generator" content="FrontPage 4.0">
         <meta name="generator" content="WordPress">
         <meta name="generator" content="Joomla!">
         <meta name="generator" content="Wordpress 2.x.x">
         <meta name="generator" content="Macromedia Dreamweaver">
         <meta name="generator" content="Joomla! - Copyright Open Source 
                                                       Matters. All rights reserved." />
         <meta name="GENERATOR" content="Microsoft FrontPage 6">
         
        

        Above text copied (word for word) from:

        https://www.metatags.org/meta_name_generator_or_name_formatter
      • googleBot

        public static final MetaTagName googleBot
        Sometimes an old meta tag, the 'description' tag, remains in the index of Google. Despite the fact that you change relevant information on your website and submit this to Google, the old description remains in the Google search results. Yahoo and Live will index the new information, Google won't.

        This problem originates your results in the Open Directory Project DMOZ (also check the relations between the search engines). Your website, including the old meta description, also has a description and a link in the ODP listings. The Googlebot has used this description while spidering your website.

        The solution is adding the following meta tag:

        HTML Elements:
        1
        2
        3
        4
        5
        6
         <meta name="googlebot" content="noodp">
         <meta name="googlebot" content="noarchive">
         <meta name="googlebot" content="nosnippet">
         <meta name="googlebot" content="noindex">
         <meta name="googlebot" content="nofollow">
         
        

        Above text copied (word for word) from:

        https://www.metatags.org/meta_name_googlebot
      • language

        public static final MetaTagName language
        How do you explain in which language your website is in? You use the so called 'LANGUAGE' tag.

        HTML Elements:
        1
        2
        3
        4
         <meta name="language" content="Spanish">
         <meta name="language" content="English"> 
         <meta name="language" content="English" />
         
        

        Above text copied (word for word) from:

        https://www.metatags.org/meta_name_language
      • newsKeyWords

        public static final MetaTagName newsKeyWords
        One of the best ways to ensure that your site appears for particular user queries is to make sure that your article naturally contains the words, names, and figures that are central to a particular news story. If you create an information-rich site that clearly and accurately describes your topic, you will improve your chances of appearing in our search results for relevant queries.

        Our crawler also makes use of a Google-specific metatag to help determine how to best classify your content. By implementing the 'news_keywords' metatag you can specify which keywords are most relevant to your articles. For example, in an article about the World Cup you could add the following code to help Google News better understand the nature of your content:

        HTML Elements:
        1
        2
        3
         <meta name="news_keywords" content="World Cup, Brazil 2014, Spain vs Netherlands, soccer, football">
         <meta name="news_keywords" content="World Cup, Brazil 2014, Spain vs Netherlands">
         
        

        Above text copied (word for word) from: https://www.metatags.org/meta_name_news_keywords
      • noEmail

        public static final MetaTagName noEmail
        The meta tags 'no-email-collection' is an unspam.com initiative. Sure, the die-hard spammer will not be stopped by this tag. This tag is mainly used to have a statement on your website: we don't want you to harvest our email-address.

        And if you have this statement on your website you are able to complain about spam harvesting and spam runs. In the USA you can even start a lawsuit.

        This is why the meta tag contains a link to the page with your statement regarding spam runs and harvesting.

        This meta tag has no influence on your search engine ranking. Meta tags who do have a lot of influence are the title of your page, the 'keywords' and the meta tag.

        Add the following meta tag in the source of your web-page. The difference in spelling at the end of the tag is either you use /> = for xml or >= for html.

        HTML Elements:
        1
        2
         <meta name="no-email-collection" content="http://www.metatags.info/nospamharvesting">
         
        

        Above text copied (word for word) from:

        https://www.metatags.org/meta_name_no_email_collection
      • rating

        public static final MetaTagName rating
        If you wish to rate your page's audience appropriateness, use the rating meta tag.

        This meta tag is often use to let the younger web-surfers know the content is appropriate. If you use this tag the wrong way (call an adult website safe for kids is bad!) you will get banned for live.

        This meta tag has no influence on your search engine ranking unless you use it the wrong way. Meta tags who do have a lot of influence are the title of your page, the 'keywords' and the 'description' meta tag.

        You can use on of the following values:

        • general
        • mature
        • restricted
        • 14 years
        • safe for kids


        HTML Elements:
        1
        2
        3
         <meta name="rating" content="general">
         <meta name="rating" content="safe for kids">
         
        

        Above text copied (word for word) from:

        https://www.metatags.org/meta_name_rating
      • replyTo

        public static final MetaTagName replyTo
        By adding the email address of your web master in the 'REPLY-TO' tag you are able to explain how people can contact the right person in your organization who is responsible for your website.

        HTML Elements:
        1
        2
         <meta name="reply-to" content="submit-your-website@metatags.org">
         
        

        Above text copied (word for word) from:

        https://www.metatags.org/meta_name_reply_to
      • slurp

        public static final MetaTagName slurp
        Yahoo's 'NOYDIR' Opt-Out for Yahoo Directory Titles & Descriptions

        The search engine Yahoo! supports the use of the so called ‘NOYDIR’ Meta tag. It might have been a long time ago since your website has been added to the index of the Yahoo Directory. And it could be that the 'title' or 'description' that is still in there has to be changed. If you want to force Yahoo to add your new title and meta description tag of your website use the so called 'NOYDIR' meta tag.

        The Yahoo Directory is composed by humans and might contain information you may not wish displayed. The Yahoo’s directory contains many old summaries.

        =The solution to this problem is very simple: add the following meta tag on every page:

        HTML Elements:
        1
        2
         <meta name="robots" content="noydir">
         
        

        This meta tag tells every search engine spider not to add the Yahoo Directory 'title' or the meta 'description'. Now that you are able to influence yourself what the title and the click through link is in the index of a search engine, you also influence the CTR. And this improves your ranking!

        If you want to make sure that Yahoo doesn't use the Directory description, please add the following:

        HTML Elements:
        1
        2
         <META NAME="Slurp" CONTENT="NOYDIR">
         
        

        A meta tag that corresponds to the 'SLURP' tag is the 'NOODP' meta tag. Displaying old information occurs because of the result from the Open Directory Project DMOZ. The website, with the old meta 'description', has a description and a link in the ODP listings (Open Directory Project). If you want to make notice that all the search engines won't use this information you add :

        HTML Elements:
        1
        2
         <META NAME="ROBOTS" CONTENT="NOODP">
         
        

        Sometimes we notice that people address every spider separately:

        HTML Elements:
        1
        2
        3
        4
         <META NAME="GOOGLEBOT" CONTENT="NOODP">
         <META NAME="SLURP" CONTENT="NOODP">
         <META NAME="MSNBOT" CONTENT="NOODP">
         
        

        Above text copied (word for word) from:

        https://www.metatags.org/meta_name_slurp
      • webAuthor

        public static final MetaTagName webAuthor
        How do you put in your website the name of the company that made your website? You use the so called 'WEB_AUTHOR' tag.

        HTML Elements:
        1
        2
         <meta name="web_author" content="editorial staff of meta tags">
         
        

        Above text copied (word for word) from:

        https://www.metatags.org/meta_name_webauthor
    • Field Detail

      • name

        public final java.lang.String name
        Meta Tag Name
        Code:
        Exact Field Declaration Expression:
        1
        public final String name;
        
    • Method Detail

      • values

        public static MetaTagName[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (MetaTagName c : MetaTagName.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static MetaTagName valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null