« Limitando a quantidade de caracteres do post na saídaBlogroll com suporte a XFN »

XFN enabled Blogroll

03/07/08

XFN enabled Blogroll

To learn about xfn, read: http://gmpg.org/xfn/

Some days ago, while reading about the launch of the Google Social Graph API, I got interested and also a little disappointed,because b2evolution does not support the xfn attributes on its linkblog.

So I decided to implement a plugin that replaces the standard linkblog, but with the ability to use the xfn extensions. I haveincluded another desired feature: make my blogroll a simple list, instead of listing the links up according to there categories.

Installating this plugin will provide a new widget called 'Linkblog (xfn)', which you can use to replace the standard b2evolutionlinkblog widget. To add your relationship to the people in your linkblog I decided to use the tags field from the post. For example: if I add a link to a friend I have actually met, I add the tags 'friend' and 'met'.

There is also a hook for something that I will be implementing in the future, which is to make the linkblog links open in a newwindow, but the plugin is perfectly useable right now! I hope you enjoy!

You can set this plugin to open link on new windows! Just assure that your skin has jquery loaded. If you are using a b2evolution version greater than 2.x, you can just add to your skin:

require_js( '#jquery#');

You can add the 'rel="external"' to links outside of your linkroll, and all these links will open on a new window.

Download the plugin: http://devlog.waltercruz.com/media/blogs/b2evolution/linkblogxfn-0.2.zip http://devlog.waltercruz.com/media/blogs/b2evolution/linkblogxfn-0.1.zip

Translation by google, corrections by a blonde, coding by an unsung hero ;)


Email by Walter Cruz em plugins
Tags: linkroll-xfn

Trackback address for this post

Trackback URL (right click and copy shortcut/link location)

3 comments

Looks perfectly straight to me. Of course, I'm also the type of person who allegedly [ahem! allegedly] agree with everything.
04/11/08 @ 03:00
Comment from: Ben [Visitor] · http://www.apocalypsed.de
*****
Hello,

i just tried your plugin. its great, but the links in the linkblog don´t open in a new window. I inserted 'require_js( '#jquery#');' in the html head. Whats the mistake? Could you give me a hint?
Thanks.
Greetings from Hamburg (D)
Ben
06/06/08 @ 13:39
Comment from: Walter Cruz [Member] Email · http://waltercruz.com
Hey Ben!

Everything looks ok.. A thought: you use jquery and prototype in your site, and both define a $ function.. Maybe this can be the source of the problem?
06/06/08 @ 15:46

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
PoorExcellent
=> :!: :?: :idea: :) :D :p B) ;) :> :roll: :oops: :| :-/ :( >:( :'( |-| :>> ;D :P :)) 88| :. :no: XX( :lalala: :crazy: >:XX
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)

You can just use your OpenID to provide your name, e-mail and url.

Busca

Julho 2008
Dom Seg Ter Qua Qui Sex Sab
 << <   > >>
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

Participe!

Se você tem alguma duvida sobre o b2evolution, ou gostaria de compartilhar sua experiência com ele e seus conhecimentos, participe do grupo de discussão!

powered by b2evolution free blog software