For webmasters and website owners
Text link
You can add ULDIR link on your website. Your visitors will be then able to add link of your website to online social bookmarking system.
It is as simple as it can be - just place on your site this Javascript code:
<!— start uldir —>
<script type="text/javascript">
badge = 'Add bookmark to Uldir.com: <a href="http://www.uldir.com/bookmarks/?action=add&address=' + encodeURIComponent(document.URL) + '&title=' + encodeURIComponent(document.title) + '">click here</a>';
document.writeln(badge);
</script>
<!— end uldir —>
This code will add text Add bookmark to Uldir.com: click here.
After click will be reloaded windows and there will appear a form with prefilled URL and title of your site. If user is not logged in, he need to log in first.
It will use URL and title of current website where ULDIR button was pressed. If you put code on your homepage, it will bookmark URL and title of your homepage. It make better sense to put code after article, rather then on homepage.
Of course, you can modify code and use it via your Content Management System. You need just call URL:
http://www.uldir.com/bookmarks/?action=add&address=URL&title=TITLE
instead URL and TITLE let your CMS generate right values in UTF-8.
Icon
If you want to use icon and text ULDIR it!, use this code:
<!— start ULDIR it —>
<script type="text/javascript">
badge = '<a
href="http://www.uldir.com/bookmarks/?action=add&address=' +
encodeURIComponent(document.URL) + '&title=' +
encodeURIComponent(document.title) +
'"><img style="width: 16px; height: 16px;"
alt="ULDIR it!" title="Click here to bookmark page with Uldir.com" src="http://www.uldir.com/icon.png"> Uldir it!</a>';
document.writeln(badge);
</script>
<!— end ULDIR it —>
Icon
is placed here: http://www.uldir.com/icon.png
