Linking to places in the same knol

Creating a manual reference list

Sometimes it is more convenient to make a manual reference-list (list of endnotes, footnotes...) within the knol, rather than using the Knol Reference Tool.


Linking to bookmarked places in the same knol

 

A manual reference list

Here you find an example of a knol with a long endnote-list in the body of the knol, not using the Knol reference tool. As far as I can see, these references are not generated with common Knol editing tools. Perhaps the author used a third party HTML editor, and did an import after that. That's the easy way. But you can do it manually. That's what this knol explains.
 
So, why might you use such endnotes in stead of the reference tool of Knol?

I see at least one big advantage: Knol references are not easily copied from one knol to another, and with your reference-list in the body, you can copy and paste big parts of this list easily between knols.

But, why might you use the Knol Reference Tool instead of manual references?

Readers may prefer to find references in a standard place with a standard look-and-feel. Algorithmic analysis of your knols may not give "full credit" to nonstandard references.

Either way, it is your content, your choice.
 

You need the HTML-editor 

I have an example within this text, that will explain the whole trick. If you click on this [go down] link, you go to the place in the text it refers to. You can return here by clicking on the go_up link after this explanation. But the action behind this is written in HTML code.
 
In Advanced Knol Techniques you read : "To work in HTML, click on the HTML button on the toolbar at the top.  You can then type or paste in HTML tags.  When your HTML editing is complete, click Update to save your HTML and return to the normal editor."
 

The HTML code explained

 
The code behind the go_down link above is
<A title="" href="http://knol.google.com/k/-/-/12akiw7ik3ra5/30#_down" name=_up>[go down]</A>
and the code behind the go_up link below is
<A title="" href="http://knol.google.com/k/-/-/12akiw7ik3ra5/30#_up" name=_down>[go up]</A>
 
In the first line of code, we create an invisible anchor with the name "_up", and a text "[go down]" with a link behind it that jumps to the anchor with the name "_down".
 
If you are not familiar with HTML, this must look a little bit like Chinese, but the most important parts of this first code are
  • the link address "http://knol.google.com/k/-/-/12akiw7ik3ra5/30#_down" which consists of the URL of this knol "http://knol.google.com/k/-/-/12akiw7ik3ra5/30" and the anchor in this document ("_down") where the link points to
  • the name of this anchor (_up). We leave an anchor here to point to from other places in the knol, here from the down link.
  • the text which "covers" the link in the plain text
 

Creating an endnote list

 
If you understand the trick, and how to code it, it is easily understood how to make a reference list.
I'll explain it bottom up.
 
First create your reference-list at the end of the document.
 
In this document, the reference pointers [1], [2],... in the reference list could be
  • <A title="" href="http://knol.google.com/k/-/-/12akiw7ik3ra5/30#[1]pointer" name=[1]reftext>[1]</A>
  • <A title="" href="http://knol.google.com/k/-/-/12akiw7ik3ra5/30#[2]pointer" name=[2]reftext>[2]</A>
  • <A title="" href="http://knol.google.com/k/-/-/12akiw7ik3ra5/30#[3]pointer" name=[3]reftext>[3]</A>
 
Then insert the pointers in the plain text 
 
  • <A title="" href="http://knol.google.com/k/-/-/12akiw7ik3ra5/30#[1]reftext" name=[1]pointer>[1]</A>
  • <A title="" href="http://knol.google.com/k/-/-/12akiw7ik3ra5/30#[2]reftext" name=[2]pointer>[2]</A>
  • <A title="" href="http://knol.google.com/k/-/-/12akiw7ik3ra5/30#[3]reftext" name=[3]pointer>[3]</A>
 
When you leave the HTML editor, the first 3 lines of code show only the [1], [2] and [3] in the list, and you must add relevant text to it.

The 3 last lines of code create the [1], [2] and [3] that you must place in the plain text where you like your pointers to the reference list.
 
The same technique allows you to referencing from one knol to another and back again.
 
And here is the other hyperlink: try clicking a few times on [go up] and then back on the go_down link above to see the action that is obtained by the above 2 lines of code.
 

Comments

Luk Van Loock
Luk Van Loock
Antwerp, Belgium

Contributors

Article rating:
Your rating:

Activity for this knol

This week:

63pageviews

Totals:

1629pageviews
1comments