Features
- Share on any Diaspora* pod, with a default pod list for faster sharing.
- Remember the last 3 chosen pods, and add/move them to the top of the list. This feature can be disabled if desired.
- Optional URL shortening (via j.mp).
- Optional Markdown formatting.
Privacy
D*AS doesn't track or obtain any information from the user. As it is hosted on Github, Github may track the user's IP address. Pods are stored on the user's browser localStorage. The shared URL is passed to J.mp (from Bit.ly) only if URL shortening is enabled.Sharing buttons
These are templates for sharing buttons that you can use in you website or blog.Normal website
Copy this HTML code where you want the button to appear.Without Javascript:
<a href="http://sharetodiaspora.github.com/?title=Your title here&url=http://www.example.com/some/path" target="_blank"> <img src="https://joindiaspora.com/favicon.ico" style="border: 0px solid;" /> </a>
With Javascript:
<a href="javascript:window.open('http://sharetodiaspora.github.com/?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title),'das','location=no,links=no,scrollbars=no,toolbar=no,width=620,height=550');">
<img src="https://joindiaspora.com/favicon.ico" style="border: 0px solid;" />
</a>Alternative version (with text):
<a href="javascript:window.open('http://sharetodiaspora.github.com/?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title),'das','location=no,links=no,scrollbars=no,toolbar=no,width=620,height=550');"
style="padding: 3px 4px 2px; background: #fafafa; border: 1px solid #ddd; font-size: 13px; color: #222; text-decoration: none; vertical-align: top;">
<img src="https://joindiaspora.com/favicon.ico" style="border: 0px solid;" /> Diaspora*
</a>
Blogger blogs
This method will include a Diaspora* share button next to Google +1 button. It is necessary to enable the sharing buttons.- Enter your dashboard and choose your blog.
- In section Template, click on Edit HTML. If a warning appears, click Continue.
- Check Expand widget templates, press Ctrl+F and write sharebuttons.
- Find the line
<b:includable id='shareButtons' var='post'>. Just after that, copy the following code:
<a expr:href='"http://sharetodiaspora.github.com/?url=" + data:post.url + "&title=" + data:post.title' target='_blank' title='Share on Diaspora'> <img src='http://joindiaspora.com/favicon.ico' style='width:16px; height:16px; padding:0; border:0; vertical-align:middle;'/> </a>