HTML Title as Link Text

The Information Systems Extension for the projectdoc Toolbox allows to render a link with the HTML title as label via autoconvert of the pasted URL.

Parent
Audience
Level of Experience
Expected Duration
20 min
Type

Pasting an URL to a Confluence page renders a representation that is clickable. If the URL points to an issue on a connected JIRA instance, this link is automatically converted to a macro that links to the issue. The feature responsible for this is Autoconvert for pasted Links.

The Information Systems Extension for the projectdoc Toolbox also provides autoconverters. Once an URL to a resource that is configured is pasted to a Confluence page, this URL is autoconverted to a projectdoc macro.

Link Text

One advantage is that the extension will fetch the page and render the title (HTML title or DC.title - if present) of the referenced document as label to the link.

Without projectdoc Autoconverter

Source Code

The rendered link in view mode
The rendered link in view mode


Rendered

The rendered link in view mode
The rendered link in view mode

Without projectdoc Autoconverter

Source Code

The rendered link in view mode
The rendered link in view mode

Rendered

The rendered link in view mode
The rendered link in view mode

The title information is fetched from the page the URL is linking to.

HTML Fragment with HTML Title

HTML Fragment with HTML Title
HTML Fragment with HTML Title

HTML Fragment with Dublin Core Title

HTML Fragment with Dublin Core Title
HTML Fragment with Dublin Core Title

Specific Information Systems

The Information Systems Extension for the projectdoc Toolbox also provides special treatment for specific information systems.

Here is a list of all macros used to link to or transclude from remote servers.

# Name Short Description
1
Renders an image generated from an Enterprise Architect diagram, transcluded from a server.
2
Transclude HTML content from a remote server.
3
4
5
Renders an image transcluded from a remote server.
6
7
Transclude content from a resource from a remote system.
8
Transclude text content from a remote server.

How to use?

Required Add-ons

 If you want to use this feature in your Confluence instance, you need to install the following add-ons.

The online manual for the projectdoc Toolbox for Confluence.
The projectdoc Toolbox is available on the Atlassian Marketplace!
Add-on to extend the projectdoc Toolbox to integrate remote information systems.

Configuration

You need to specify the remote information systems you want to enable autoconvert as space properties.

For this example we assume that autoconvert should be enabled for Wikipedia.

Open Space Homepage for Editing

Navigate to a space home page where you want to enable autoconvert.

Add Wikipedia URL

To add a remote server add the url-wikipedia-en space property.

This introduces the information system wikipedia-en (without the url- prefix) and specifies the root URL to the information system (which may or may not be a link by itself).

Enable Autoconvert

Not every URL you specify should be considered for autoconverting. Therefore you need to inform projectdoc that this new URL is actually to be a base URL for autoconverting by the use of the space property Autoconvert Hint .

Multiple values are separated by comma. Note that you specify the system ID wikipedia-en you specified in the previous step. Also note that projectdoc needs to know how information is autoconverted. In our case it is linking, therefore we add ":link".

Check Configuration

Paste an URL to a page on Wikipedia in edit mode of a page in your Confluence and check that your configuration is correct!