English 中文(简体)
addthis api? Is it possible to bookmark another URL?
原标题:

At the moment, I try to include addthis social-bookmarks to my site. My problem is, that I have to bookmark another link than the url on my site. Instead of www.example.com, I have to bookmark www.example.com?media=my-media-file.

From the beginning: A User comes to my site. On my site are several movies. He can click on a movie thumbnail and watch the movie without reloading the site (javascript). Now he can click on my social bookmark icon to share this movie. Now the addthis framework thinks that the User want s to share www.example.com (cause this is whats in my url). But I want the user to share www.example.com?media=foo-bar .

Opening www.example.com?media=foo-bar for the correct movie is still working, but no social bookmaring.

I hope you understand my problem and can help me. I searched without success in the addthis api.

So, can u help me?

最佳回答

Okay, I found it:

$( .addthis_button ).attr( addthis:url ,shareURL);
$( .addthis_button ).attr( addthis:title ,shareTitle);
$( .addthis_button ).attr( addthis:description ,shareTitle);
问题回答

暂无回答




相关问题
Python CLI to edit Firefox bookmarks?

Has anyone done a Python CLI to edit Firefox bookmarks ? My worldview is that of Unix file trees; I want find /re/ in given or all fields in given or all subtrees cd ls with context mv this ../there/ ...

Is it possible to bookmark an alternate URL

When a user tries to bookmark one of my pages, I really want it to bookmark a different URL (in my case a tel:// URL -- on the iPhone). Is there a meta tag or something I can use to specify that the ...

VIM Marks and Project Management

So I ve been using NERDTree in vim as it adds great functionality being able to browse around the file system. And with the Bookmarks capabilities it works great for switching between projects. ...

Configuring Android Web Applications

iPhone web apps have four configuration features available (not including the HTML5 application cache) to configure how web pages behave when you save the web page to the home screen as a bookmark. ...

Programmatically Bookmark Link with Javascript Cross-Browser

Is there a script out there that solves this problem? I would like to be able to say "onclick, save as bookmark". I have searched around a bit and found this one, but it doesn t work with Safari. ...

Chrome Bookmark Search

Can you get results from chome.bookmark.search without having to display them? Update (Answer): Ok. Maybe my problem is more complex. If I want to use the result globally. function _search() { ...

Better looking PDF bookmarks

Does anybody know if I can improve the visual appearance of bookmarks in a PDF. My marketing dept wants me to make them look more "webby" - by which they mean they want them to look more "designed" ...

热门标签