Just played around to add support for the german business community XING to service links - German service.

To add the support:
Download the icon from: https://www.xing.com/app/user?op=downloads;tab=widgets

Add following code to "service_links/services/german_services.module"

$links['_de_xing'] = array(
'name' => 'Xing',
'description' => t('Share on Xing.'),
'link' => 'http://www.xing.com/app/user?op=share;url=?wtmc=XING;title=',
);

Activate the service in admin settings and enjoy.

Hope that is a help for anybody. If it does, it would be great to add this to the german services module.

Comments

rteuber’s picture

Code posted missed the <encode-url> and <encode-title>

So the correct code is:

  $links['_de_xing'] = array(
    'name' => 'Xing',
    'description' => t('Share on Xing.'),
    'link' => 'http://www.xing.com/app/user?op=share;url=<encoded-url>?wtmc=XING;title=<encoded-title>',
  );
TheCrow’s picture

Version: 6.x-2.0 » 6.x-2.x-dev
Status: Active » Fixed

Added it, thank you (soon i'll apply also in 7.x-2.x)!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

simon_s’s picture

Version: 6.x-2.x-dev » 7.x-2.x-dev
Category: task » bug
Status: Closed (fixed) » Needs work

The XING share link does not work. (Tested in 7.x-2.x-dev on 2011-08-18).
It results to a "Page not found site" on Xing. I guess the API has changed?

TheCrow’s picture

Try this:

$links['_de_xing'] = array(
    'name' => 'Xing',
    'description' => t('Share on Xing.'),
    'link' => 'https://www.xing.com/app/user?op=share&url=<raw-encoded-url>',
  );
TheCrow’s picture

Status: Needs work » Fixed

Committed, if there are troubles just follow here!

simon_s’s picture

Thanks a lot!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

damiandab’s picture

Status: Closed (fixed) » Active

I have a problem with spezial characters, when I share a content to xing from my side.
Xing take html code, not the formated code, example:

€ take as &euro;

or

' is by xing &#039;

TheCrow’s picture

Status: Active » Closed (fixed)

for encoding chars troubles continue here #1330830: encoding of titles