Access Keys:
Skip to content (Access Key - 0)
Home (Access Key - 1)
All spaces... (Access Key - 3)
Log in (Access Key - 5)
Sign up (Access Key - 6)
Toggle Sidebar

rel macro

(None)

{rel} macro

Under construction

Overview

The rel macro allows you to set the rel attribute on a hyperlink.

This often ignored attribute has suddenly become important again due to Microformats and the specifications for the next generation of HTML.

Most Community Bubbles macros that display a profile picture already include rel attributes that allow Microformat-compatible plugins and services to parse data from the web page. However, there are times when you will want more control over the rel attribute and this macro allows you to insert rel values from a [central vocabulary] or custom attributes specific to your organisation.

Usage

{rel:CATEGORYID.RELATIONSHIPID}[link]{rel}

{rel:custom=rel}[link]{rel}

Parameters

Note: At least one parameter is required - either the default parameter (for pre-defined relationships) or the custom parameter for custom relationships.

Parameter Required Default Notes Bubbles Version
default   Use a predefined relationship specified as CATEGORY.RELATIONSHIP 1.0
custom   Use a custom relationship, the value of the parameter will be added to the rel tag. 1.0

Examples

Using pre-defined relationships

Custom relationships

Hints and Tips

To follow

CSS Customisation

To follow

FAQs

To follow

See Also

To follow.

Toggle Sidebar
Added by Guy Fraser on Aug 17, 2007 05:26, last edited by Guy Fraser on Jul 07, 2008 12:41

Adaptavist Theme Builder Powered by Atlassian Confluence