DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

wt_socialbookmarks

Author:Kasper Skårhøj
Created:2002-11-01T00:32:00
Changed:2009-04-03T22:21:46
Author:Alex Kellner
Email:Alexander.Kellner@einpraegsam.net
Info 3:
Info 4:

wt_socialbookmarks

Extension Key: wt_socialbookmarks

Copyright 2005-2008,

Alex Kellner,

<Alexander.Kellner@einpraegsam.net>

This document is published under the Open Content License

available from http://www.opencontent.org/opl.shtml

The content of this document is related to TYPO3

- a GNU/GPL CMS/Framework available from www.typo3.com

Table of Contents

wt_socialbookmarks 1

wt_socialbookmarks introduction 2

What does it do? 2

Screenshots 3

Frontend: Showing some social bookmark icons 3

How to use 4

Step by step: 4

Small typoscript examples 5

Available Constants 6

Available Setup 10

FAQ 18

Why should I use a xml file instead of typoscript? 18

Where can I find an example xml file? 18

Something more to know about xml or typoscript for the icons? 18

Why is the manual so short? 18

Todos 19

Changelog 20

Additional links 21

wt_socialbookmarks introduction

What does it do?

This is a small extension which uses typoscript configuration or xml configuration and some icons to save your page on some social bookmark pages or in the local browser (via Javascript function)

You can use a typoscript object to include on (e.g.) a marker to show 8 (currently) different social bookmark icons. If the user clicks on an icon the URL and the title of the current page will be send to the chosen service.

This services are included per default: Local browser, Mister Wong, del.icio.us, digg, furl, linksilo, reddit, spurl, technorati, google, yahoo, facebook, stumbleupon, propeller and newsvine

If you want, you can set your own icons with your own typoscript or with a xml file

Screenshots

Frontend: Showing some social bookmark icons

img-1 Example at http://www.conject.com

How to use

Step by step:

  • Import wt_socialbookmarks from TER
  • Include the static template to your main template
  • Now you can use the constants editor to change the variables (image path, title text, class name, etc...)
  • Just use the typoscript object plugin.tx_wtsocialbookmarks_pi1 to show the bookmarks (e.g. on a marker)
  • That's all

Small typoscript examples

# show bookmark links on every page footer

page.1000 < plugin.tx_wtsocialbookmarks_pi1

# show bookmark links on a marker ###BOOKMARK###

page.10.marks.BOOKMARK < plugin.tx_wtsocialbookmarks_pi1

Available Constants

###

# This are the default TS-constants for wt_socialbookmarks

##

plugin.wtsocialbookmarks {

# cat=plugin.wtsocialbookmarks//0001; type=text; label= Browser icon path: Enter a relative path to an icon which should be linked (e.g. fileadmin/icon.gif)

browser.imgfile = EXT:wt_socialbookmarks/img/browser.gif

# cat=plugin.wtsocialbookmarks//0010; type=text; label= Title text for image: Enter a title text for the icon if you want

browser.title = bookmark in your browser

# cat=plugin.wtsocialbookmarks//0020; type=text; label= Alt text for image: Enter a alternative text for the icon if you want

browser.alt = bookmark in your browser

# cat=plugin.wtsocialbookmarks//0030; type=text; label= CSS class for icon: Enter a class name for the icon if you want

browser.class = bookmark bookmark_browser

# cat=plugin.wtsocialbookmarks//0100; type=text; label= Mr. Wong icon path: Enter a relative path to an icon which should be linked (e.g. fileadmin/icon.gif)

mrwong.imgfile = EXT:wt_socialbookmarks/img/mister-wong.gif

# cat=plugin.wtsocialbookmarks//0110; type=text; label= Title text for image: Enter a title text for the icon if you want

mrwong.title = bookmark at mister wong

# cat=plugin.wtsocialbookmarks//0120; type=text; label= Alt text for image: Enter a alternative text for the icon if you want

mrwong.alt = bookmark at mister wong

# cat=plugin.wtsocialbookmarks//0130; type=text; label= CSS class for icon: Enter a class name for the icon if you want

mrwong.class = bookmark bookmark_misterwong

# cat=plugin.wtsocialbookmarks//0140; type=text; label= URL to mister wong homepage: Enter a correct url with all static GET params to the social bookmarking service homepage (e.g. http[colon]//www.mister- wong.de/index.php?action=addurl)

mrwong.url = http://www.mister-wong.de/index.php?action=addurl

# cat=plugin.wtsocialbookmarks//0200; type=text; label= del.icio.us icon path: Enter a relative path to an icon which should be linked (e.g. fileadmin/icon.gif)

delicious.imgfile = EXT:wt_socialbookmarks/img/delicious.gif

# cat=plugin.wtsocialbookmarks//0210; type=text; label= Title text for image: Enter a title text for the icon if you want

delicious.title = bookmark at del.icio.us

# cat=plugin.wtsocialbookmarks//0220; type=text; label= Alt text for image: Enter a alternative text for the icon if you want

delicious.alt = bookmark at del.icio.us

# cat=plugin.wtsocialbookmarks//0230; type=text; label= CSS class for icon: Enter a class name for the icon if you want

delicious.class = bookmark bookmark_delicious

# cat=plugin.wtsocialbookmarks//0240; type=text; label= URL to delicious homepage: Enter a correct url with all static GET params to the social bookmarking service homepage (e.g. http[colon]//www.mister- wong.de/index.php?action=addurl)

delicious.url = http://del.icio.us/post

# cat=plugin.wtsocialbookmarks//0300; type=text; label= digg icon path: Enter a relative path to an icon which should be linked (e.g. fileadmin/icon.gif)

digg.imgfile = EXT:wt_socialbookmarks/img/digg.gif

# cat=plugin.wtsocialbookmarks//0310; type=text; label= Title text for image: Enter a title text for the icon if you want

digg.title = bookmark at digg.com

# cat=plugin.wtsocialbookmarks//0320; type=text; label= Alt text for image: Enter a alternative text for the icon if you want

digg.alt = bookmark at digg.com

# cat=plugin.wtsocialbookmarks//0330; type=text; label= CSS class for icon: Enter a class name for the icon if you want

digg.class = bookmark bookmark_digg

# cat=plugin.wtsocialbookmarks//0340; type=text; label= URL to digg homepage: Enter a correct url with all static GET params to the social bookmarking service homepage (e.g. http[colon]//www.mister- wong.de/index.php?action=addurl)

digg.url = http://digg.com/submit?phase=2

# cat=plugin.wtsocialbookmarks//0400; type=text; label= furl icon path: Enter a relative path to an icon which should be linked (e.g. fileadmin/icon.gif)

furl.imgfile = EXT:wt_socialbookmarks/img/furl.gif

# cat=plugin.wtsocialbookmarks//0410; type=text; label= Title text for image: Enter a title text for the icon if you want

furl.title = bookmark at furl.net

# cat=plugin.wtsocialbookmarks//0420; type=text; label= Alt text for image: Enter a alternative text for the icon if you want

furl.alt = bookmark at furl.net

# cat=plugin.wtsocialbookmarks//0430; type=text; label= CSS class for icon: Enter a class name for the icon if you want

furl.class = bookmark bookmark_furl

# cat=plugin.wtsocialbookmarks//0440; type=text; label= URL to furl homepage: Enter a correct url with all static GET params to the social bookmarking service homepage (e.g. http[colon]//www.mister- wong.de/index.php?action=addurl)

furl.url = http://furl.net/storeIt.jsp

# cat=plugin.wtsocialbookmarks//0500; type=text; label= linksilo icon path: Enter a relative path to an icon which should be linked (e.g. fileadmin/icon.gif)

linksilo.imgfile = EXT:wt_socialbookmarks/img/linksilo.gif

# cat=plugin.wtsocialbookmarks//0510; type=text; label= Title text for image: Enter a title text for the icon if you want

linksilo.title = bookmark at linksilo.de

# cat=plugin.wtsocialbookmarks//0520; type=text; label= Alt text for image: Enter a alternative text for the icon if you want

linksilo.alt = bookmark at linksilo.de

# cat=plugin.wtsocialbookmarks//0530; type=text; label= CSS class for icon: Enter a class name for the icon if you want

linksilo.class = bookmark bookmark_linksilo

# cat=plugin.wtsocialbookmarks//0540; type=text; label= URL to linksilo homepage: Enter a correct url with all static GET params to the social bookmarking service homepage (e.g. http[colon]//www.mister- wong.de/index.php?action=addurl)

linksilo.url = https://www.linksilo.de/index.php?area=bookmarks&func=bookmark_new

# cat=plugin.wtsocialbookmarks//0600; type=text; label= reddit icon path: Enter a relative path to an icon which should be linked (e.g. fileadmin/icon.gif)

reddit.imgfile = EXT:wt_socialbookmarks/img/reddit.gif

# cat=plugin.wtsocialbookmarks//0610; type=text; label= Title text for image: Enter a title text for the icon if you want

reddit.title = bookmark at reddit.com

# cat=plugin.wtsocialbookmarks//0620; type=text; label= Alt text for image: Enter a alternative text for the icon if you want

reddit.alt = bookmark at reddit.com

# cat=plugin.wtsocialbookmarks//0630; type=text; label= CSS class for icon: Enter a class name for the icon if you want

reddit.class = bookmark bookmark_reddit

# cat=plugin.wtsocialbookmarks//0640; type=text; label= URL to reddit homepage: Enter a correct url with all static GET params to the social bookmarking service homepage (e.g. http[colon]//www.mister- wong.de/index.php?action=addurl)

reddit.url = http://reddit.com/submit

# cat=plugin.wtsocialbookmarks//0700; type=text; label= spurl icon path: Enter a relative path to an icon which should be linked (e.g. fileadmin/icon.gif)

spurl.imgfile = EXT:wt_socialbookmarks/img/spurl.gif

# cat=plugin.wtsocialbookmarks//0710; type=text; label= Title text for image: Enter a title text for the icon if you want

spurl.title = bookmark at spurl.net

# cat=plugin.wtsocialbookmarks//0720; type=text; label= Alt text for image: Enter a alternative text for the icon if you want

spurl.alt = bookmark at spurl.net

# cat=plugin.wtsocialbookmarks//0730; type=text; label= CSS class for icon: Enter a class name for the icon if you want

spurl.class = bookmark bookmark_spurl

# cat=plugin.wtsocialbookmarks//0740; type=text; label= URL to spurl homepage: Enter a correct url with all static GET params to the social bookmarking service homepage (e.g. http[colon]//www.mister- wong.de/index.php?action=addurl)

spurl.url = http://www.spurl.net/spurl.php

# cat=plugin.wtsocialbookmarks//0800; type=text; label= technorati icon path: Enter a relative path to an icon which should be linked (e.g. fileadmin/icon.gif)

technorati.imgfile = EXT:wt_socialbookmarks/img/technorati.gif

# cat=plugin.wtsocialbookmarks//0810; type=text; label= Title text for image: Enter a title text for the icon if you want

technorati.title = bookmark at technorati.com

# cat=plugin.wtsocialbookmarks//0820; type=text; label= Alt text for image: Enter a alternative text for the icon if you want

technorati.alt = bookmark at technorati.com

# cat=plugin.wtsocialbookmarks//0830; type=text; label= CSS class for icon: Enter a class name for the icon if you want

technorati.class = bookmark bookmark_technorati

# cat=plugin.wtsocialbookmarks//0840; type=text; label= URL to technorati homepage: Enter a correct url with all static GET params to the social bookmarking service homepage (e.g. http[colon]//www.mister- wong.de/index.php?action=addurl)

technorati.url = http://technorati.com/faves/

# cat=plugin.wtsocialbookmarks//0900; type=text; label= google icon path: Enter a relative path to an icon which should be linked (e.g. fileadmin/icon.gif)

google.imgfile = EXT:wt_socialbookmarks/img/google.gif

# cat=plugin.wtsocialbookmarks//0910; type=text; label= Title text for image: Enter a title text for the icon if you want

google.title = bookmark at google.com

# cat=plugin.wtsocialbookmarks//0920; type=text; label= Alt text for image: Enter a alternative text for the icon if you want

google.alt = bookmark at google.com

# cat=plugin.wtsocialbookmarks//0930; type=text; label= CSS class for icon: Enter a class name for the icon if you want

google.class = bookmark bookmark_google

# cat=plugin.wtsocialbookmarks//0940; type=text; label= URL to google homepage: Enter a correct url with all static GET params to the social bookmarking service homepage (e.g. http[colon]//www.mister- wong.de/index.php?action=addurl)

google.url = http://www.google.com/bookmarks/mark?op=add&hl=de&annotation=&labels=

# cat=plugin.wtsocialbookmarks//1000; type=text; label= yahoo icon path: Enter a relative path to an icon which should be linked (e.g. fileadmin/icon.gif)

yahoo.imgfile = EXT:wt_socialbookmarks/img/yahoo.gif

# cat=plugin.wtsocialbookmarks//1010; type=text; label= Title text for image: Enter a title text for the icon if you want

yahoo.title = bookmark at yahoo.com

# cat=plugin.wtsocialbookmarks//1020; type=text; label= Alt text for image: Enter a alternative text for the icon if you want

yahoo.alt = bookmark at yahoo.com

# cat=plugin.wtsocialbookmarks//1030; type=text; label= CSS class for icon: Enter a class name for the icon if you want

yahoo.class = bookmark bookmark_yahoo

# cat=plugin.wtsocialbookmarks//1040; type=text; label= URL to yahoo homepage: Enter a correct url with all static GET params to the social bookmarking service homepage (e.g. http[colon]//www.mister- wong.de/index.php?action=addurl)

yahoo.url = http://bookmarks.yahoo.com/toolbar/savebm?opener=bm&ei=UTF-8

# cat=plugin.wtsocialbookmarks//1100; type=text; label= facebook icon path: Enter a relative path to an icon which should be linked (e.g. fileadmin/icon.gif)

facebook.imgfile = EXT:wt_socialbookmarks/img/facebook.gif

# cat=plugin.wtsocialbookmarks//1110; type=text; label= Title text for image: Enter a title text for the icon if you want

facebook.title = bookmark at facebook.com

# cat=plugin.wtsocialbookmarks//1120; type=text; label= Alt text for image: Enter a alternative text for the icon if you want

facebook.alt = bookmark at facebook.com

# cat=plugin.wtsocialbookmarks//1130; type=text; label= CSS class for icon: Enter a class name for the icon if you want

facebook.class = bookmark bookmark_facebook

# cat=plugin.wtsocialbookmarks//1140; type=text; label= URL to facebook homepage: Enter a correct url with all static GET params to the social bookmarking service homepage (e.g. http[colon]//www.mister- wong.de/index.php?action=addurl)

facebook.url = http://www.facebook.com/sharer.php

# cat=plugin.wtsocialbookmarks//1200; type=text; label= stumbleupon icon path: Enter a relative path to an icon which should be linked (e.g. fileadmin/icon.gif)

stumbleupon.imgfile = EXT:wt_socialbookmarks/img/stumbleupon.gif

# cat=plugin.wtsocialbookmarks//1210; type=text; label= Title text for image: Enter a title text for the icon if you want

stumbleupon.title = bookmark at stumbleupon.com

# cat=plugin.wtsocialbookmarks//1220; type=text; label= Alt text for image: Enter a alternative text for the icon if you want

stumbleupon.alt = bookmark at stumbleupon.com

# cat=plugin.wtsocialbookmarks//1230; type=text; label= CSS class for icon: Enter a class name for the icon if you want

stumbleupon.class = bookmark bookmark_stumbleupon

# cat=plugin.wtsocialbookmarks//1240; type=text; label= URL to stumbleupon homepage: Enter a correct url with all static GET params to the social bookmarking service homepage (e.g. http[colon]//www .mister-wong.de/index.php?action=addurl)

stumbleupon.url = http://www.stumbleupon.com/submit

# cat=plugin.wtsocialbookmarks//1300; type=text; label= propeller icon path: Enter a relative path to an icon which should be linked (e.g. fileadmin/icon.gif)

propeller.imgfile = EXT:wt_socialbookmarks/img/propeller.gif

# cat=plugin.wtsocialbookmarks//1310; type=text; label= Title text for image: Enter a title text for the icon if you want

propeller.title = bookmark at propeller.com

# cat=plugin.wtsocialbookmarks//1320; type=text; label= Alt text for image: Enter a alternative text for the icon if you want

propeller.alt = bookmark at propeller.com

# cat=plugin.wtsocialbookmarks//1330; type=text; label= CSS class for icon: Enter a class name for the icon if you want

propeller.class = bookmark bookmark_propeller

# cat=plugin.wtsocialbookmarks//1340; type=text; label= URL to propeller homepage: Enter a correct url with all static GET params to the social bookmarking service homepage (e.g. http[colon]//www.mister- wong.de/index.php?action=addurl)

propeller.url = http://www.propeller.com/submit/

# cat=plugin.wtsocialbookmarks//1400; type=text; label= newsvine icon path: Enter a relative path to an icon which should be linked (e.g. fileadmin/icon.gif)

newsvine.imgfile = EXT:wt_socialbookmarks/img/newsvine.gif

# cat=plugin.wtsocialbookmarks//1410; type=text; label= Title text for image: Enter a title text for the icon if you want

newsvine.title = bookmark at newsvine.com

# cat=plugin.wtsocialbookmarks//1420; type=text; label= Alt text for image: Enter a alternative text for the icon if you want

newsvine.alt = bookmark at newsvine.com

# cat=plugin.wtsocialbookmarks//1430; type=text; label= CSS class for icon: Enter a class name for the icon if you want

newsvine.class = bookmark bookmark_newsvine

# cat=plugin.wtsocialbookmarks//1440; type=text; label= URL to newsvine homepage: Enter a correct url with all static GET params to the social bookmarking service homepage (e.g. http[colon]//www.mister- wong.de/index.php?action=addurl)

newsvine.url = http://www.newsvine.com/_wine/save?popoff=1&tags=

# cat=plugin.wtsocialbookmarks//1500; type=text; label= jumptags icon path: Enter a relative path to an icon which should be linked (e.g. fileadmin/icon.gif)

jumptags.imgfile = EXT:wt_socialbookmarks/img/jumptags.gif

# cat=plugin.wtsocialbookmarks//1510; type=text; label= Title text for image: Enter a title text for the icon if you want

jumptags.title = bookmark at jumptags.com

# cat=plugin.wtsocialbookmarks//1520; type=text; label= Alt text for image: Enter a alternative text for the icon if you want

jumptags.alt = bookmark at jumptags.com

# cat=plugin.wtsocialbookmarks//1530; type=text; label= CSS class for icon: Enter a class name for the icon if you want

jumptags.class = bookmark bookmark_jumptags

# cat=plugin.wtsocialbookmarks//1540; type=text; label= URL to jumptags homepage: Enter a correct url with all static GET params to the social bookmarking service homepage (e.g. http[colon]//www.mister- wong.de/index.php?action=addurl)

jumptags.url = http://www.jumptags.com/add/

### XML - SETTINGS ###

# cat=plugin.wtsocialbookmarks//9000; type=text; label= Get config from XML: If you want to show some icons and get the settings from an XML file and not from typoscript, you can enter an absolute or relative path to a fitting xml document (example xml file in ext/wt_socialbookmarks/doc/example.xml) (e.g. http[colon]//www.domain.org/file.xml or e.g. fileadmin/bookmarks.xml)

xml.file =

# cat=plugin.wtsocialbookmarks//9010; type=text; label= Picturepath - XML: If you use a xml file for showing bookmark icons, you have to set the local picturepath (e.g. EXT:wt_socialbookmarks/img/)

xml.picturepath = EXT:wt_socialbookmarks/img/

# cat=plugin.wtsocialbookmarks//9020; type=int; label= Picture width - XML: Picture width in px (e.g. 20)

xml.picturewidth = 20

# cat=plugin.wtsocialbookmarks//9030; type=int; label= Picture height - XML: Picture height in px (e.g. 20)

xml.pictureheight = 20

}

Available Setup

# WT_SOCIALBOOKMARKS PLUGIN #

# Pure typoscript configuration of bookmarks

plugin.tx_wtsocialbookmarks = COA

plugin.tx_wtsocialbookmarks {

5 = COA

5 {

10 = TEXT

10.field = subtitle // title

10.wrap = <a href="#" onclick="wt_socialbookmarks_add2favourite('|',

20 = COA

20.wrap = '|'); return false;">

20 {

10 = TEXT

10.data = getIndpEnv:TYPO3_SITE_URL

20 = TEXT

20.typolink.value = x

20.typolink.parameter.data = TSFE:id

20.typolink.returnLast = url

}

30 = IMAGE

30.file = {$plugin.wtsocialbookmarks.browser.imgfile}

30.altText = {$plugin.wtsocialbookmarks.browser.alt}

30.titleText = {$plugin.wtsocialbookmarks.browser.title}

30.params = class="{$plugin.wtsocialbookmarks.browser.class}"

40 = TEXT

40.value = </a>

}

# Mr. Wong

10 = COA

10 {

10 = COA

10.htmlSpecialChars = 1

10.wrap = <a href="|" target="_blank">

10 {

10 = TEXT

10.value = {$plugin.wtsocialbookmarks.mrwong.url}

20 = COA

20.wrap = &bm_url=|

20 {

10 = TEXT

10.data = getIndpEnv:TYPO3_SITE_URL

10.rawUrlEncode = 1

20 = TEXT

20.typolink.value = x

20.typolink.parameter.data = TSFE:id

20.typolink.returnLast = url

20.rawUrlEncode = 1

}

30 = TEXT

30.wrap = &bm_description=|

30.field = subtitle // title

30.rawUrlEncode = 1

}

20 = IMAGE

20.file = {$plugin.wtsocialbookmarks.mrwong.imgfile}

20.altText = {$plugin.wtsocialbookmarks.mrwong.alt}

20.titleText = {$plugin.wtsocialbookmarks.mrwong.title}

20.params = class="{$plugin.wtsocialbookmarks.mrwong.class}"

30 = TEXT

30.value = </a>

}

# del.icio.us

20 = COA

20 {

10 = COA

10.htmlSpecialChars = 1

10.wrap = <a href="|" target="_blank">

10 {

10 = TEXT

10.value = {$plugin.wtsocialbookmarks.delicious.url}

20 = COA

20.wrap = ?url=|

20 {

10 = TEXT

10.data = getIndpEnv:TYPO3_SITE_URL

10.rawUrlEncode = 1

20 = TEXT

20.typolink.value = x

20.typolink.parameter.data = TSFE:id

20.typolink.returnLast = url

20.rawUrlEncode = 1

}

30 = TEXT

30.wrap = &title=|

30.field = subtitle // title

30.rawUrlEncode = 1

}

20 = IMAGE

20.file = {$plugin.wtsocialbookmarks.delicious.imgfile}

20.altText = {$plugin.wtsocialbookmarks.delicious.alt}

20.titleText = {$plugin.wtsocialbookmarks.delicious.title}

20.params = class="{$plugin.wtsocialbookmarks.delicious.class}"

30 = TEXT

30.value = </a>

}

# digg

30 = COA

30 {

10 = COA

10.htmlSpecialChars = 1

10.wrap = <a href="|" target="_blank">

10 {

10 = TEXT

10.value = {$plugin.wtsocialbookmarks.digg.url}

20 = COA

20.wrap = &url=|

20 {

10 = TEXT

10.data = getIndpEnv:TYPO3_SITE_URL

10.rawUrlEncode = 1

20 = TEXT

20.typolink.value = x

20.typolink.parameter.data = TSFE:id

20.typolink.returnLast = url

20.rawUrlEncode = 1

}

30 = TEXT

30.wrap = &title=|

30.field = title

30.rawUrlEncode = 1

40 = TEXT

40.wrap = &bm_description=|

40.field = subtitle // title

40.rawUrlEncode = 1

}

20 = IMAGE

20.file = {$plugin.wtsocialbookmarks.digg.imgfile}

20.altText = {$plugin.wtsocialbookmarks.digg.alt}

20.titleText = {$plugin.wtsocialbookmarks.digg.title}

20.params = class="{$plugin.wtsocialbookmarks.digg.class}"

30 = TEXT

30.value = </a>

}

# furl

40 = COA

40 {

10 = COA

10.htmlSpecialChars = 1

10.wrap = <a href="|" target="_blank">

10 {

10 = TEXT

10.value = {$plugin.wtsocialbookmarks.furl.url}

20 = COA

20.wrap = ?u=|

20 {

10 = TEXT

10.data = getIndpEnv:TYPO3_SITE_URL

10.rawUrlEncode = 1

20 = TEXT

20.typolink.value = x

20.typolink.parameter.data = TSFE:id

20.typolink.returnLast = url

20.rawUrlEncode = 1

}

30 = TEXT

30.wrap = &t=|

30.field = subtitle // title

30.rawUrlEncode = 1

}

20 = IMAGE

20.file = {$plugin.wtsocialbookmarks.furl.imgfile}

20.altText = {$plugin.wtsocialbookmarks.furl.alt}

20.titleText = {$plugin.wtsocialbookmarks.furl.title}

20.params = class="{$plugin.wtsocialbookmarks.furl.class}"

30 = TEXT

30.value = </a>

}

# linksilo

50 = COA

50 {

10 = COA

10.htmlSpecialChars = 1

10.wrap = <a href="|" target="_blank">

10 {

10 = TEXT

10.value = {$plugin.wtsocialbookmarks.linksilo.url}

20 = COA

20.wrap = &addurl=|

20 {

10 = TEXT

10.data = getIndpEnv:TYPO3_SITE_URL

10.rawUrlEncode = 1

20 = TEXT

20.typolink.value = x

20.typolink.parameter.data = TSFE:id

20.typolink.returnLast = url

20.rawUrlEncode = 1

}

30 = TEXT

30.wrap = &addtitle=|

30.field = subtitle // title

30.rawUrlEncode = 1

}

20 = IMAGE

20.file = {$plugin.wtsocialbookmarks.linksilo.imgfile}

20.altText = {$plugin.wtsocialbookmarks.linksilo.alt}

20.titleText = {$plugin.wtsocialbookmarks.linksilo.title}

20.params = class="{$plugin.wtsocialbookmarks.linksilo.class}"

30 = TEXT

30.value = </a>

}

# reddit

60 = COA

60 {

10 = COA

10.htmlSpecialChars = 1

10.wrap = <a href="|" target="_blank">

10 {

10 = TEXT

10.value = {$plugin.wtsocialbookmarks.reddit.url}

20 = COA

20.wrap = ?url=|

20 {

10 = TEXT

10.data = getIndpEnv:TYPO3_SITE_URL

10.rawUrlEncode = 1

20 = TEXT

20.typolink.value = x

20.typolink.parameter.data = TSFE:id

20.typolink.returnLast = url

20.rawUrlEncode = 1

}

30 = TEXT

30.wrap = &title=|

30.field = subtitle // title

30.rawUrlEncode = 1

}

20 = IMAGE

20.file = {$plugin.wtsocialbookmarks.reddit.imgfile}

20.altText = {$plugin.wtsocialbookmarks.reddit.alt}

20.titleText = {$plugin.wtsocialbookmarks.reddit.title}

20.params = class="{$plugin.wtsocialbookmarks.reddit.class}"

30 = TEXT

30.value = </a>

}

# spurl

70 = COA

70 {

10 = COA

10.htmlSpecialChars = 1

10.wrap = <a href="|" target="_blank">

10 {

10 = TEXT

10.value = {$plugin.wtsocialbookmarks.spurl.url}

20 = COA

20.wrap = ?url=|

20 {

10 = TEXT

10.data = getIndpEnv:TYPO3_SITE_URL

10.rawUrlEncode = 1

20 = TEXT

20.typolink.value = x

20.typolink.parameter.data = TSFE:id

20.typolink.returnLast = url

20.rawUrlEncode = 1

}

30 = TEXT

30.wrap = &title=|

30.field = subtitle // title

30.rawUrlEncode = 1

}

20 = IMAGE

20.file = {$plugin.wtsocialbookmarks.spurl.imgfile}

20.altText = {$plugin.wtsocialbookmarks.spurl.alt}

20.titleText = {$plugin.wtsocialbookmarks.spurl.title}

20.params = class="{$plugin.wtsocialbookmarks.spurl.class}"

30 = TEXT

30.value = </a>

}

# technorati

80 = COA

80 {

10 = COA

10.htmlSpecialChars = 1

10.wrap = <a href="|" target="_blank">

10 {

10 = TEXT

10.value = {$plugin.wtsocialbookmarks.technorati.url}

20 = COA

20.wrap = ?add=|

20 {

10 = TEXT

10.data = getIndpEnv:TYPO3_SITE_URL

10.rawUrlEncode = 1

20 = TEXT

20.typolink.value = x

20.typolink.parameter.data = TSFE:id

20.typolink.returnLast = url

20.rawUrlEncode = 1

}

}

20 = IMAGE

20.file = {$plugin.wtsocialbookmarks.technorati.imgfile}

20.altText = {$plugin.wtsocialbookmarks.technorati.alt}

20.titleText = {$plugin.wtsocialbookmarks.technorati.title}

20.params = class="{$plugin.wtsocialbookmarks.technorati.class}"

30 = TEXT

30.value = </a>

}

# Google

90 = COA

90 {

10 = COA

10.htmlSpecialChars = 1

10.wrap = <a href="|" target="_blank">

10 {

10 = TEXT

10.value = {$plugin.wtsocialbookmarks.google.url}

20 = COA

20.wrap = &bkmk=|

20 {

10 = TEXT

10.data = getIndpEnv:TYPO3_SITE_URL

10.rawUrlEncode = 1

20 = TEXT

20.typolink.value = x

20.typolink.parameter.data = TSFE:id

20.typolink.returnLast = url

20.rawUrlEncode = 1

}

30 = TEXT

30.wrap = &title=|

30.field = subtitle // title

30.rawUrlEncode = 1

}

20 = IMAGE

20.file = {$plugin.wtsocialbookmarks.google.imgfile}

20.altText = {$plugin.wtsocialbookmarks.google.alt}

20.titleText = {$plugin.wtsocialbookmarks.google.title}

20.params = class="{$plugin.wtsocialbookmarks.google.class}"

30 = TEXT

30.value = </a>

}

# Yahoo

100 = COA

100 {

10 = COA

10.htmlSpecialChars = 1

10.wrap = <a href="|" target="_blank">

10 {

10 = TEXT

10.value = {$plugin.wtsocialbookmarks.yahoo.url}

20 = COA

20.wrap = &u=|

20 {

10 = TEXT

10.data = getIndpEnv:TYPO3_SITE_URL

10.rawUrlEncode = 1

20 = TEXT

20.typolink.value = x

20.typolink.parameter.data = TSFE:id

20.typolink.returnLast = url

20.rawUrlEncode = 1

}

30 = TEXT

30.wrap = &t=|

30.field = subtitle // title

30.rawUrlEncode = 1

}

20 = IMAGE

20.file = {$plugin.wtsocialbookmarks.yahoo.imgfile}

20.altText = {$plugin.wtsocialbookmarks.yahoo.alt}

20.titleText = {$plugin.wtsocialbookmarks.yahoo.title}

20.params = class="{$plugin.wtsocialbookmarks.yahoo.class}"

30 = TEXT

30.value = </a>

}

# Facebook

110 = COA

110 {

10 = COA

10.htmlSpecialChars = 1

10.wrap = <a href="|" target="_blank">

10 {

10 = TEXT

10.value = {$plugin.wtsocialbookmarks.facebook.url}

20 = COA

20.wrap = ?u=|

20 {

10 = TEXT

10.data = getIndpEnv:TYPO3_SITE_URL

10.rawUrlEncode = 1

20 = TEXT

20.typolink.value = x

20.typolink.parameter.data = TSFE:id

20.typolink.returnLast = url

20.rawUrlEncode = 1

}

30 = TEXT

30.wrap = &t=|

30.field = subtitle // title

30.rawUrlEncode = 1

}

20 = IMAGE

20.file = {$plugin.wtsocialbookmarks.facebook.imgfile}

20.altText = {$plugin.wtsocialbookmarks.facebook.alt}

20.titleText = {$plugin.wtsocialbookmarks.facebook.title}

20.params = class="{$plugin.wtsocialbookmarks.facebook.class}"

30 = TEXT

30.value = </a>

}

# Stumbleupon

120 = COA

120 {

10 = COA

10.htmlSpecialChars = 1

10.wrap = <a href="|" target="_blank">

10 {

10 = TEXT

10.value = {$plugin.wtsocialbookmarks.stumbleupon.url}

20 = COA

20.wrap = ?url=|

20 {

10 = TEXT

10.data = getIndpEnv:TYPO3_SITE_URL

10.rawUrlEncode = 1

20 = TEXT

20.typolink.value = x

20.typolink.parameter.data = TSFE:id

20.typolink.returnLast = url

20.rawUrlEncode = 1

}

30 = TEXT

30.wrap = &title=|

30.field = subtitle // title

30.rawUrlEncode = 1

}

20 = IMAGE

20.file = {$plugin.wtsocialbookmarks.stumbleupon.imgfile}

20.altText = {$plugin.wtsocialbookmarks.stumbleupon.alt}

20.titleText = {$plugin.wtsocialbookmarks.stumbleupon.title}

20.params = class="{$plugin.wtsocialbookmarks.stumbleupon.class}"

30 = TEXT

30.value = </a>

}

# Propeller

130 = COA

130 {

10 = COA

10.htmlSpecialChars = 1

10.wrap = <a href="|" target="_blank">

10 {

10 = TEXT

10.value = {$plugin.wtsocialbookmarks.propeller.url}

20 = COA

20.wrap = ?U=|

20 {

10 = TEXT

10.data = getIndpEnv:TYPO3_SITE_URL

10.rawUrlEncode = 1

20 = TEXT

20.typolink.value = x

20.typolink.parameter.data = TSFE:id

20.typolink.returnLast = url

20.rawUrlEncode = 1

}

30 = TEXT

30.wrap = &T=|

30.field = subtitle // title

30.rawUrlEncode = 1

}

20 = IMAGE

20.file = {$plugin.wtsocialbookmarks.propeller.imgfile}

20.altText = {$plugin.wtsocialbookmarks.propeller.alt}

20.titleText = {$plugin.wtsocialbookmarks.propeller.title}

20.params = class="{$plugin.wtsocialbookmarks.propeller.class}"

30 = TEXT

30.value = </a>

}

# Newsvine

140 = COA

140 {

10 = COA

10.htmlSpecialChars = 1

10.wrap = <a href="|" target="_blank">

10 {

10 = TEXT

10.value = {$plugin.wtsocialbookmarks.newsvine.url}

20 = COA

20.wrap = &u=|

20 {

10 = TEXT

10.data = getIndpEnv:TYPO3_SITE_URL

10.rawUrlEncode = 1

20 = TEXT

20.typolink.value = x

20.typolink.parameter.data = TSFE:id

20.typolink.returnLast = url

20.rawUrlEncode = 1

}

30 = TEXT

30.wrap = &blurb=|

30.field = subtitle // title

30.rawUrlEncode = 1

}

20 = IMAGE

20.file = {$plugin.wtsocialbookmarks.newsvine.imgfile}

20.altText = {$plugin.wtsocialbookmarks.newsvine.alt}

20.titleText = {$plugin.wtsocialbookmarks.newsvine.title}

20.params = class="{$plugin.wtsocialbookmarks.newsvine.class}"

30 = TEXT

30.value = </a>

}

# Jumptags

150 = COA

150 {

10 = COA

10.htmlSpecialChars = 1

10.wrap = <a href="|" target="_blank">

10 {

10 = TEXT

10.value = {$plugin.wtsocialbookmarks.jumptags.url}

20 = COA

20.wrap = ?url=|

20 {

10 = TEXT

10.data = getIndpEnv:TYPO3_SITE_URL

10.rawUrlEncode = 1

20 = TEXT

20.typolink.value = x

20.typolink.parameter.data = TSFE:id

20.typolink.returnLast = url

20.rawUrlEncode = 1

}

30 = TEXT

30.wrap = &title=|

30.field = subtitle // title

30.rawUrlEncode = 1

}

20 = IMAGE

20.file = {$plugin.wtsocialbookmarks.jumptags.imgfile}

20.altText = {$plugin.wtsocialbookmarks.jumptags.alt}

20.titleText = {$plugin.wtsocialbookmarks.jumptags.title}

20.params = class="{$plugin.wtsocialbookmarks.jumptags.class}"

30 = TEXT

30.value = </a>

}

}

# Configuration for XML

plugin.tx_wtsocialbookmarks_pi1 = USER_INT

plugin.tx_wtsocialbookmarks_pi1 {

userFunc = tx_wtsocialbookmarks_pi1->main

configuration < plugin.tx_wtsocialbookmarks

xml.file = {$plugin.wtsocialbookmarks.xml.file}

xml.url = COA

xml.url {

10 = TEXT

10.data = getIndpEnv:TYPO3_SITE_URL

10.rawUrlEncode = 1

20 = TEXT

20.typolink.value = x

20.typolink.parameter.data = TSFE:id

20.typolink.returnLast = url

20.rawUrlEncode = 1

}

xml.title = TEXT

xml.title.field = subtitle//title

xml.picturepath = {$plugin.wtsocialbookmarks.xml.picturepath}

xml.picture.maxW = {$plugin.wtsocialbookmarks.xml.picturewidth}

xml.picture.maxH = {$plugin.wtsocialbookmarks.xml.pictureheight}

}

# Add Javascript for saving into own browser

page.includeJS.file3138 = EXT:wt_socialbookmarks/files/add2favourite.js

FAQ

Why should I use a xml file instead of typoscript?

  • Maybe you know an online resource for your bookmark icons
  • Maybe it's easier for you to change the xml instead of typoscript

Where can I find an example xml file?

Example xml file in ext/wt_socialbookmarks/doc/example.xml

Something more to know about xml or typoscript for the icons?

  • Typoscript configuration is used by default
  • If you enter an URL to a fitting xml file In the constants, this configuration is used now!

I use a XML online resource but no icons will be shown

  • Note that all icon filenames which are listed in the XML file should be available from your server
  • Check if picture path is correct

Why is the manual so short?

Sorry - but thats all to say (write)

Todos

Add some more social bookmark services

Do you need a new feature? Maybe we can help you, so just write us!

Changelog

((generated))

wt_socialbookmarks version 0.5.x beta
Update on 03.04.2009 version 0.5.3
  • Small fix to get validated html code
  • Jumptags added
Update on 16.02.2009 version 0.5.2

Small changes in the typoscript

Update on 06.12.2008 version 0.5.1
  • Small changes in the default XML file
  • Small changes in the typoscript
Update on 04.12.2008 version 0.5.0
  • Javascript for saving to local bookmarks added
  • Added some new social bookmark services: Google, Yahoo, Facebook, Stumbleupon, Propeller, Newsvine and Jumptags (last is currently deactivated but full prepared)
wt_socialbookmarks version 0.2.x alpha
Update on 08.07.2008 version 0.2.0

configuration can complete set via xml file (or via typoscript like before)

wt_socialbookmarks version 0.1.x alpha
Initial Release to TER on 26.06.2008 version 0.1.0

wt_socialbookmarks available in TER with basic functions