wiki:HeadLinkMacro

Insert <link> tags in the <head> of a Wiki page

Description

A Wiki macro to insert <link> tags in the <head> of a Wiki page. This is useful for when adding an RSS feed to your wiki page.

Works with Trac 0.10 and uses hdf. Will not work with Trac 0.11, which removes hdf.

Bugs/Feature Requests

Existing bugs and feature requests for HeadLinkMacro are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out HeadLinkMacro from here using Subversion, or browse the source with Trac.

Example

The following wiki markup:

[[HeadLink(alternate application/rss+xml https://apestaart.org/moap/releases.rss2 RSS 2.0 Release feed)]]

would insert the following into the <head> section of your Trac page:

<link rel="alternate" href="http://thomas.apestaart.org/moap/releases.rss2" title="RSS 2.0 Release feed" type="application/rss+xml" />

It also adds the feed do the bottom of your Trac page.

Recent Changes

2243 by thomasvs on 2007-05-20 13:24:26
HeadLinkMacro:

import

2242 by thomasvs on 2007-05-19 17:35:10
New hack HeadLinkMacro, created by thomasvs
(more)

Author/Contributors

Author: thomasvs
Maintainer: thomasvs
Contributors:

Last modified 11 months ago Last modified on Nov 5, 2015, 10:15:40 AM