Tagging and linking
This tutorial assumes you already read the tutorial about how to set up a basic Silk site.
Why use tags?
To enable Silk to work its magic, you need to give meaning to your text. You do this by creating links to other pages and by you tagging your text, links and images. Once you have done this, you can:
- Search your site smarter using the Silk search bar
- Create tables, charts, maps and more widgets
- Visualize your information in explore mode
- Run queries and retrieve information through the API (for developers)
When you mention Paris on the France page, it makes sense to link that word to the Paris page. This enables your visitors to easily navigate through your site. Of course, you can also link to external websites or to email adresses. More about links.
Three types of tagging
You can tag text, links and images. We will explain these by means of an example page about Barack Obama.
The text on the Barack Obama page contains his birthdate: 4 August 1961. We can tag this text as Birth date. Silk then knows that the birth date of Barack Obama is 4 August 1961. Easy, right?
We also have a Michelle Obama page. It contains a link to the Barack Obama page. This link can be tagged as Husband. Silk then knows that the husband of Michelle Obama is Barack Obama.
You can tag images to describe what they mean. If an image simply shows the topic of the page, you might simply tag it as Picture. But for countries, you may have an image of its flag and tag it as Flag for example.
How to tag
Tagging your content is easy:
- Start editing a document
- Select the text, link or image you want to tag (click on an image to select it)
- Type the desired tag name in the input field in the top menu. If the tag doesn't exist yet, you can created it from this menu.
- After you created some tags, you will notice that Silk suggests tags to you on the left side of the input field. Simply click them to use this tag.
- Alternatively, you can use a keyboard shortcut to tag and link. It is Control+Shift+Space on Windows/Linux or Command+Shift+Space on Mac.
Choosing a tag name
If you are editing a page about Japan, and you want to tag the text Tokyo, complete the following sentence to come up with the proper tag name:
Tokyo is the _____ of Japan.
The answer to this is obviously capital, so tag Tokyo as Capital. So do not tag Tokyo as City, since Tokyo is not THE city of Japan. You can, however, create a page called Tokyo, and make City the page category.
To untag something you tagged, select your tag, and click the tag name that appears in bold in the top menu. More about untagging.
If you want toe learn more about using Silk, you can learn learn how to use widgets.