You can add a bookmark button on your Manialink for people to add your Manialink in their bookmarks.
In this guide we will see how to add such a button on your Manialink by using XML code only. Everything is based on a Manialink Include, you just need to specify the right URL. Let's see how!
2 - Simple button
At least, you need to specify the code/url of your Manialink. Let's take an example with "manialoto" (change manialoto with whatever your Manialink is!). The code is very simple. Just put it in your page where you want to display the button.
Code: Select all
<include url="http://maniahome.maniaplanet.com/add/?url=manialoto"/>
3 - Button with a formatted name
You can also specify the name of your Manialink using special characters. Let's take an example with the manialink "manialoto" and it's name "$i$F60ManiaLoto" (change manialoto and the formatted name with whatever your Manialink is!). The code is the same but we add the "name" parameter. Note that parameters are not separated by "&" but by "&". This because the URL is XML-escaped.
Code: Select all
<include url="http://maniahome.maniaplanet.com/add/?url=manialoto&name=%24i%24F60ManiaLoto"/>
URL-ENCODE YOUR PARAMETERS BEFORE PUTTING THEM IN THE URL!
URL-encoding is very simple. Here's a tool to do that: http://meyerweb.com/eric/tools/dencoder/
4 - Button with an image
Images are no longer supported in ManiaHome bookmarks.
5 - Manialink version="0" support
The included view uses by default version="1" with the new position/size system. If you're Manialink still uses version="0", you can specify it in the URL of the include:
Code: Select all
<include url="http://maniahome.maniaplanet.com/add/?url=manialoto&version=0"/>