<core:author>

Adds an author to the current page. It is permissible to have an author in a missing book.

When no authors provided, will use the author(s) of any parent page that is within the same book. If there are no parent pages in this same book, uses the book's authors.

When inheriting authorship from multiple parent pages, the authors must be in exact agreement. This means exactly the same order and all values matching precisely. Any mismatch in authors will result in an exception.

Tag Information

Tag Class: com.semanticcms.core.taglib.AuthorTag
TagExtraInfo Class: None
Body Content: empty
Display Name: None

Attributes

Name Required Evaluation Type Description
name No Runtime String

The name of the author, to be used in <meta name="author" content="…" />. Required when neither href nor page are provided. Also required when page provided and the page is in a different book.

href No Runtime String

The href of the author, to be used in <link rel="author" href="…" /> Required when neither name nor page are provided. May not be used when page provided.

book No Runtime String

The book containing the author page. Defaults to the book of the current JSP file. When book provided, page attribute must also be provided.

page No Runtime String

The page-relative path to the author page, to be used in <link rel="author" href="…" />. Required when neither name nor href are provided. May not be used when href provided.

Variables

No Variables Defined.