Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Document Properties Marker
overridefalse


Short DescriptionAdd HTML meta tags to your Confluence pages. This is for the search engine optimization (SEO) for your website as well as adding semantics for machine reading.
Doctypetopichide
NameAdd HTML Meta Tags
Parent
Parent Property
propertyParent
property-nameName
hide
Audience

Name List
doctyperole
render-no-hits-as-blanktrue
namesDocumentation Architect
propertyAudience


Level of Experience

Name List
doctypeexperience-level
render-no-hits-as-blanktrue
namesProficient
propertyLevel of Experience


Expected Duration10 min
Subject
Name List
doctypesubject
propertySubject

Categories
Name List
doctypecategory
propertyCategories

Tags

Tag List
namesMetadata, Export
propertyTags

hide
keywordsprojectdoc, Confluence, add-on, meta, metadata, SEOexport, hide
DC.subject
Display Property
property-namekeywords
export, hide
Iteration
Iteration
valuefinished
hide
Type
Name List
doctypetopic-type
render-no-hits-as-blanktrue
namesTip
propertyType

Sort Keyhide


...

Section
titleAdd Meta Information with projectdoc

It is easy to render information from a projectdoc document in meta elements. The document has its meta data already defined in the Document Properties Marker Macro and can be automatically exported for external access.

There are predefined sets of meta data that map property names to meta tag names. The generation of these tags is controlled by the space property metadata-sets Metadata Sets. Set this property at space level and the corresponding meta tags are automatically added for every page.

Example Box

If you want to render HTML meta elements according to the Dublin Core standard, use the identifier DC.

Besides the meta data sets you may also select individual elements to be exported. To export a document property with a HTML meta element, authors may simply add the property control named export.

The generated HTML page for the document contains the following information in the head element:

Code Block
languagexml
<link rel="schema.ABC" href="http://example.com/schema/abc">
<meta name="ABC.product-version" content="1.42.73">

For more information on this topic, please refer to Export Metadata.

...