00294: Add rel attribs to wikitrail links
Description: HTML supports 'rel' attributes on 'a' tags to indicate things such as 'next', 'prev', 'contents', and 'index'. I suggest we make wikitrails use next, prev and index (as appropriate), and the link that takes you to the main group page use 'contents'. This will allow browsers that support this (e.g. Opera and Mozilla) to put buttons on the UI to make it a bit easier to navigate.
Suspending this issue, awaiting more priority.
I would also request for the link tag to be inserted in the head if the page has a trail. This feature could also have an option to be activated if not the default.
How do you add a link but have the name of the link show, not the url itself? e.g
<LINK REL=Prev HREF="the previous trail" TITLE=""> <LINK REL=Next HREF="the next trail" TITLE="">
Thanks. ~V.Krishn
- In general, it works like explained under PmWiki.Links. If your question applies to the topic of this PITS entry, I don't know the answer. --Henning November 20, 2006, at 10
- 19 AM
What if a page has more than one trail -- then what? --Pm
E.g http://www.pmwiki.org/wiki/PmWiki/CreatingNewPages
I had omitted the middle one.
<LINK REL=Start HREF="the trail page" TITLE="">
~V.Krishn
A page can belong to more than one trail. For example, a page could be listed on several trails, as in
- << 00138 | PITS.RecentChanges | 00618 >><< | PmWiki.DocumentationIndex | >>
So, if there are two wiki trails for a page, which one goes in the <link ...> tag?
--Pm
V.Krishn