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

Blogroll com suporte a XFN

07/03/2008

Para conhecer mais sobre o xfn, leia: http://gmpg.org/xfn/

Há alguns dias, ao ler sobre o lançamento da Social Graph API do google, eu fiquei interessado e também um pouco desapontado, já que o b2evolution não suporta xfn nos links do linkroll.

Então, eu decidi implementar um plugin que substituísse o linkblog padrão, mas com a possibilidade de usar as extensões xfn. Eu aproveitei para incluir uma outra característica que eu desejava: eu gostaria que meu linkroll fosse uma lista só, sem divisões de acordo com as categorias.

A instalação desse plugin irá disponibilizar um novo widget chamado 'Linkblog (xfn)', que você pode usar em substituição ao widget de linkblog padrão do b2evolution. Para adicionar o seu relacionamento com as pessoas referenciadas no seu blogroll, eu decidi aproveitar o campo de tags. Por exemplo, se eu vou adicionar um link para um amigo que eu já encontrei, eu adiciono as tags: 'friend'e 'met'.

Existe ainda um gancho para algo que vou implementar no futuro, que é fazer os links do linkroll abrirem em outro janela, mas da forma que está, já é bem útil. Espero que vocês gostem!

Baixe o plugin: http://devlog.waltercruz.com/media/blogs/b2evolution/linkblogxfn-0.1.zip


Email por Walter Cruz em plugins
Tags: linkroll-xfn

Busca

Maio 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