meta – HTML meta information

An XIST module that contains elements that simplify handling meta data. All elements in this module will generate a ll.xist.ns.html.meta element when converted.

class ll.xist.ns.meta.contenttype[source]

Bases: ll.xist.ns.html.meta

Can be used for a <meta http-equiv="Content-Type" content="text/html"/>, where the character set will be automatically inserted on a call to ll.xist.xsc.Node.publish().

Usage is simple: meta.contenttype().

class Attrs[source]

Bases: ll.xist.ns.html.Attrs

class mimetype[source]

Bases: ll.xist.xsc.TextAttr

convert(converter)[source]

implementation of the conversion method. When you define your own element classes you have to overwrite this method and implement the desired conversion.

This method must return an instance of Node. It may not change self.

publish(publisher)[source]

Generate unicode strings for the node. publisher must be an instance of ll.xist.xsc.Publisher.

The encoding and xhtml specification are taken from the publisher.

class ll.xist.ns.meta.contentscripttype[source]

Bases: ll.xist.ns.html.meta

Can be used for a <meta http-equiv="Content-Script-Type" content="..."/>.

Usage is simple: <markup>meta.contentscripttype(type="text/javascript").

class Attrs[source]

Bases: ll.xist.ns.html.Attrs

class type[source]

Bases: ll.xist.xsc.TextAttr

convert(converter)[source]

implementation of the conversion method. When you define your own element classes you have to overwrite this method and implement the desired conversion.

This method must return an instance of Node. It may not change self.

class ll.xist.ns.meta.keywords[source]

Bases: ll.xist.ns.html.meta

Can be used for a <meta name="keywords" content="..."/>.

Usage is simple: meta.keywords("foo, bar").

class Attrs[source]

Bases: ll.xist.ns.html.Attrs

convert(converter)[source]

implementation of the conversion method. When you define your own element classes you have to overwrite this method and implement the desired conversion.

This method must return an instance of Node. It may not change self.

class ll.xist.ns.meta.description[source]

Bases: ll.xist.ns.html.meta

Can be used for a <meta name="description" content="..."/>.

Usage is simple: meta.description("This page describes the ...").

class Attrs[source]

Bases: ll.xist.ns.html.Attrs

convert(converter)[source]

implementation of the conversion method. When you define your own element classes you have to overwrite this method and implement the desired conversion.

This method must return an instance of Node. It may not change self.

class ll.xist.ns.meta.stylesheet[source]

Bases: ll.xist.ns.html.link

Can be used for a <link rel="stylesheet" type="text/css" href="..."/>.

Usage is simple: meta.stylesheet(href="root:stylesheets/main.css").

class Attrs[source]

Bases: ll.xist.ns.html.Attrs

convert(converter)[source]

implementation of the conversion method. When you define your own element classes you have to overwrite this method and implement the desired conversion.

This method must return an instance of Node. It may not change self.

class ll.xist.ns.meta.made[source]

Bases: ll.xist.ns.html.link

Can be used for a <link rel="made" href="mailto:..."/>.

Usage is simple: meta.made(href="foobert@bar.org").

class Attrs[source]

Bases: ll.xist.ns.html.Attrs

convert(converter)[source]

implementation of the conversion method. When you define your own element classes you have to overwrite this method and implement the desired conversion.

This method must return an instance of Node. It may not change self.

class ll.xist.ns.meta.author[source]

Bases: ll.xist.xsc.Element

Can be used to embed author information in the header. It will generate <link rel="made"/> and <meta name="author"/> elements.

class Attrs[source]

Bases: ll.xist.xsc.Attrs

class lang[source]

Bases: ll.xist.xsc.TextAttr

class name[source]

Bases: ll.xist.xsc.TextAttr

class email[source]

Bases: ll.xist.xsc.TextAttr

convert(converter)[source]

implementation of the conversion method. When you define your own element classes you have to overwrite this method and implement the desired conversion.

This method must return an instance of Node. It may not change self.

class ll.xist.ns.meta.refresh[source]

Bases: ll.xist.xsc.Element

A refresh header.

class Attrs[source]

Bases: ll.xist.xsc.Attrs

class secs[source]

Bases: ll.xist.xsc.IntAttr

class href[source]

Bases: ll.xist.xsc.URLAttr

convert(converter)[source]

implementation of the conversion method. When you define your own element classes you have to overwrite this method and implement the desired conversion.

This method must return an instance of Node. It may not change self.