Skip to main content
NICE CXone Expert
Expert Success Center

Meta functions

This page applies to:MindTouch (current)

The following functions and variables are part the DekiScript and Expert runtime environment.


meta.author(content) : xml


Add the author's name to the page.

Name Type Description
content str author name
DekiScript Example
meta.author("John Doe");


meta.copyright(content) : xml


Add a copyright statement to the page.

Name Type Description
content str copyright text
DekiScript Example
meta.copyright("Copyright 2014 MindTouch");


meta.custom(name, content) : xml


Add a custom meta tag to the page.

Name Type Description
name str meta property name
content str meta property value


meta.description(content) : xml


Add a plain language description to the page.

Name Type Description
content str description text


meta.googlebot(content) : xml


Add control statements for Google's search engine to the page.  Googlebot understands any combination of lowercase and uppercase value.  You can use multiple values by separating them with a comma

Name Type Description
content str google search engine control statements
DekiScript Example
meta.googlebot("noarchive"); // Prevents a cached copy of the page being available in the search results
meta.googlebot("nosnippet"); // Prevents a snippet from being displayed in the search results
meta.googlebot("noindex"); // Prevents the page from being included in the index
meta.googlebot("nofollow"); // Prevents Googlebot from following any link on the page
meta.googlebot("noodp"); // Blocks the open directory project description of the page being used
meta.googlebot("noindex,nofollow"); // Two values


meta.keywords(content) : xml


Add keywords for search engines to the page.

Name Type Description
content str comma separated keywords
DekiScript Example
meta.keywords("API,REST,Web Services");


meta.rating(content) : xml


Add simple content rating to the page.  The rating meta tag is used to declare a parental control for the page, similar to movie ratings. 

Name Type Description
content str content rating
DekiScript Example
meta.rating("safe for kids");  // G
meta.rating("general");        // PG
meta.rating("14 Years");       // PG-13
meta.rating("mature");         // R
meta.rating("restricted");     // X


meta.refresh(delay, redirect) : xml


Add an automatice reload/redirect to the page.

Name Type Description
delay num delay in seconds
redirect uri (optional) redirect URI (default: current page)
DekiScript Example
meta.refresh("30");  // Refresh the page every 30 seconds
meta.refresh("15","http://www.mindtouch.com");  // Redirect to mindtouch.com after 15 seconds

To disable the meta refresh function add the query parameter: ?metarefresh=false


meta.robots(content) : xml


Add control statements for search engines to the page. Can be used instead of meta.googlebot.

Name Type Description
content str search engine control statements
  • Was this article helpful?