Was this page helpful?

Meta.Rating

    Table of contents
    1. 1. Usage Restrictions
    2. 2. Parameters
    3. 3. Result
    4. 4. Samples
    meta.Rating(content : str) : xml
    

    Add simple content rating to the page.

    Usage Restrictions

    1.9.1 or later.

    Requires UNSAFECONTENT permission in 9.2 and later.

    Parameters

    Name Type Description
    content str The description content.

       

    Result

    The rating  is displayed as part of the page metadata.

       

    Samples

        Output

    Add ratings to your page:

    {{meta.rating("pg-13") }} 

    The change appears in the page's HTML head element:

    <meta name="rating" content="pg-13" />

       

    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by