UP | Help Index
see also: Punctuation Help
In omidyar.net, there are two types of hyperlinks:
- Internal links: links to pages in a group's workspace. These are generally the easiest links to make.
- External links: links to anything EXCEPT a group's workspace. External links are used to link to anything with a URL.
For both internal and external links, the words to be linked are surrounded by backticks, the symbol that shares the same key as the tilda (~) on US keyboards.
External links consist of two parts: the text that will be hyperlinked and the footnote that tells the link where to go.
The footnote part of external links ALWAYS starts with two periods, a space and an underscore ( .. _ ) to signify that the footnote contains an URL for a hyperlink.
Internal links are links to pages in a group's workspace. For example, typing this:
Here is a link to the `Index`_ page.
will link directly to the Index page in this group, like this:
Here is a link to the Index page.
What's the trick? Nothing more than surrounding the page name with backticks and placing an underscore at the end. The link is automatically created. Better yet, if you're referring to a workspace that doesn't yet exist, the hyperlink that underlines the word will be broken like this telling you that the page doesn't exist.
(If you click on a dashed link like this, you'll have the opportunity to create a workspace of that name)
To create an inter-group link (a link to a workspace that's in another group than the one you're editing) requires only a tiny extra piece of punctuation to make work.
All you have to do is put the group shortname (the name that appears immediately to the right of /group/ in a page's URL) in front of the workspace name you want to link to, surround the whole thing with backticks and slap an underscore on the end.
So I can refer to the People workspace in the Community-General group like this:
| NOTE: | this only works when linking to a workspace in another group, not to a discussion. How can you tell if something is a workspace versus a discussion (or member or personal news)? Again, the key is in the URL. Look at what appears right after the group shortname. Here's the key:
|
|---|
If you want to link to anything BUT a workspace, you have to use the standard External Links punctuation in the next section...
If you want to list an URL as a hyperlink, just paste the URL where you want the link to be, and when you click Save, it'll automatically turn into a hyperlink (how easy is that?!).
Typing this:
http://www.omidyar.net/home
Will get you this:
Typing this:
Here is a link to `my home page`_. Please come and visit. .. _`my home page`: http://www.omidyar.net/
Will get you this:
Here is a link to my home page. Please come and visit.
To convert a piece of text you've typed into a hyperlink, do the following:
.. _`my home page`: http://www.omidyar.net/
I invite you all to visit my home page, which contains all sorts of highly interesting information.
If you have more hyperlinks, just repeat this process. You can list all your hyperlinks (with their dot-dot-space-etc-URLs) at the bottom of your posting, like this:
I invite you all to visit `my home page`_, which contains all sorts of highly interesting information. In case that information is of little interest to you, please go to Google_ and see what you can find there. .. _`my home page`: http://www.omidyar.net/ .. _Google: http://www.google.com/
Rendering the completed text looking like this:
I invite you all to visit my home page, which contains all sorts of highly interesting information. In case that information is of little interest to you, please go to Google and see what you can find there.
This last example also demonstrates a shortcut for single-word hyperlinks: you can omit the backquotes, but everything else remains the same.