com.tle.web.discoverability.scripting.objects
Interface MetaScriptObject
Declaration: public interface MetaScriptObject extends ScriptObject
All Superinterfaces: ScriptObject, java.io.Serializable

 

Referenced by the 'meta' variable in scripting

 

 

Fields Summary
static java.lang.String DEFAULT_VARIABLE
    

 

 

Methods Summary
abstract void add(java.lang.String name, java.lang.String content)
    
Add a new meta tag to the head element of the item summary page.

 

Methods inherited from interface: com.tle.common.scripting.ScriptObject
scriptEnter, scriptExit

 

 

 

 

DEFAULT_VARIABLE

 

public static final java.lang.String DEFAULT_VARIABLE

 

See also: Constants

 

 

 

 

add

 

public abstract void add( java.lang.String name,
java.lang.String content)

 

Add a new meta tag to the head element of the item summary page. So meta.add("citation_title", "Etiam aliquet massa et lorem") will add the following meta tag:
 
 <meta name="citation_title" content="Etiam aliquet massa et lorem">
 
 

 

Parameters:
name-
The name attribute of the meta tag
content-
The content attribute of the meta tag