Thursday, March 1, 2012

KDE on Diaspora... why not?

Just a little ago, I thought about a question: KDE is free software. Diaspora is free software. So, why not share KDE related posts on Diaspora? Doing this is quite easy, and I'm gonna tell you how. Every one of you (everyone that have a blog) can follow these instructions to let people share blog posts on Diaspora.

By the way, if you don't know what I'm talking about, Diaspora is a free social network, built in an interesting way that allows you to have always control on you datas. For more info have a look at www.whatisdiaspora.com and register on joindiaspora.com.
A little info: on the official diaspora pod is not possibile, acutally, to create groups of users. It is, anyway, possible on another pod: https://diasp0ra.ca/. Also, on joindiaspora you can't simply register, since the number of users is limited. But on other pods the registration is immedate.

Some KDE developers are already on Diaspora, and there is also the official Krita account (https://joindiaspora.com/u/krita). But we could also create a KDE-offical account, and use it to share official announcements.
Another idea: it would be nice to put a little button "share on diaspora" in the posts of dot.kde.org.


If you have a wordpress blog, there is a dedicated add-on. If your blog uses another platform, wee, have a look at the official site to see what is better for you (http://diasporial.com/articles/share-on-diaspora-the-requirements). Basically, just use this code:
<img src="http://iliketoast.net/img/diasporaWebBadge80x15_3.png" border="0" onClick="dshare();"> 
<script type="text/javascript"> 
function dshare() { 
var url = window.location.href; 
var title = document.title; window.open('http://iliketoast.net/dshare.html?url='+encodeURIComponent(url)+'&title='+encodeURIComponent(title),'dshare','location=no,links=no,scrollbars=no,toolbar=no,width=620,height=400'); 
return false; 
</script>But hey: if you use blogspot, then just follow reading this little tutorial I have made this morning:

 Ok, first of all enter the "Model" tab on your blog's settings and click on the button "Edit HTML".
 Blogger will tell you that it's dangerous to edit directly the html structure of your blog's model, and ask you if you are sure to do this. Since you are a cool guy/girl you don't care about this alert. So, click on "Proceed".
 Now look at the HTML. Nice, right? We will need to see all the code, so click on the checkbox "Expand Widget Templates".
 What we are looking for is the "shareButton" section, so press Ctrl+F and search for  "<b:includable id='shareButtons' var='post'>".
 Just after this line, we need to insert this code:
<a expr:href='"http://iliketoast.net/dshare.html?url=" + data:post.url + "&amp;title=" + data:post.title' target='_blank' title='Share on Diaspora'><img src='http://joindiaspora.com/favicon.png' style='width:16px; height:16px; padding:0; border:0; vertical-align:top;'/></a>
Then just save the code, and look at your blog. 
Under every post you will see the usual share buttons, but there's also the little Diaspora asterisk.
So, if you click on that simbol, will be opened another tab that allows you to choose the message to post, and the "aspects" to share with. After the last update of the Diaspora code, this interface is a little broken, but it sitll works.

Obiously, don't forget to use the button, once you placed it into your blog.

5 comments:

  1. Cool idea, I would love to follow KDE on diaspora, and it would add value to diaspora as well as make me follow kde easier

    ReplyDelete
  2. Yes, it seems the «natural» prolongation of every FOSS community on the net. It's a pity see all that hype about Facebook and Google+ among FOSS users and Linux dedicated blogs, fora, etc. Although the fact of Diaspora being still unusable for most of the mortals, doesn't help either (I'm waiting my invitation since 4 months ago).
    Anyway if Diaspora ever starts to work normally for every user who wants to register I believe it should be the «official» social network for FOSS people.

    ReplyDelete
  3. I thought about a question: KDE is free software.

    clearconcept.com.au/

    ReplyDelete
  4. KDE Community on Diaspora : https://joindiaspora.com/u/kdecommunity

    ReplyDelete