Piero V.

Plugin Tag (v2.1) [Flatpress]

Italiano

Ho aggiornato il plugin Tag (ora alla versione 2.1).

È stato riscritto in modo che fosse più leggero e che gravasse meno sul server.

Inoltre ho commentato tutto il codice per rendere più facile la vita agli sviluppatori e ho corretto il malfunzionamento con le pagine e PrettyURLs (grazie a Hubert).

L’algoritmo dei widget è stato riscritto: ora la grandezza dei tag non è più per classi, ma calcola la dimensione per ogni tag. Questa può essere personalizzata nel file plugin.tag.php. Le classi sono state comunque mantenute per poter colorare i tag. Bisogna rimuovere la cache dei widget o eliminando la cache, o modificando un post o eliminando il file fp-content/cache/tag-widget.tmp.

Mancano un pannello di amministrazione per i tag perché non lo ritengo necessario e i post simili che usano il meccanismo dei tag (è una cosa troppo difficile da fare senza SQL).

C’è invece una lista dei tag già usati nell’editor dei post ma è disattivata di default perché ingombra troppo. Invece fare una soluzione tipo Facebook mi pareva troppo pesante e complicato.

Anche se alla versione 2.1 e funziona (vedi il mio sito) è ancora in fase beta. … [Leggi il resto]

Plugin Tag (v2.0) [Flatpress]

Italiano

Ho aggiornato il plugin Tag (ora alla versione 2.0).

È stato riscritto in modo che fosse più leggero e che gravasse meno sul server.

Anche se alla versione 2.0 e funziona (vedi il mio sito) è ancora in fase beta.

Per l’utente non è cambiato niente dalla versione 1.0 o dalla versione 1.1: è stato aggiunto solo una classe in più nella tag cloud (.tag-m).

Una cosa sola: prima di aggiornare, eliminate la directory fp-content/plugin_tag: verrà ricreata usando il nuovo database dei tag.

Lingue: en-us, it-it, de-de (grazie a Martin di hintertuxified).

Licenza: GNU GPL v2.

Download: Plugin Tag v2.0.

English

I’ve updated Tag Plugin (now there is the version 2.0).

It has been rewritten to be lighter and faster and to use less server resources.

Even though it’s at version 2.0, it’s still in beta stage but it works very well.

For user, there aren’t any changes from version 1.0 or version 1.1: I’ve only added a new class of links in tag cloud (.tag-m).

Before updating, delete the directory fp-content/plugin_tag: it will be made with the new database automatically.

Languages: en-us, it-it, de-de (thanks to Martin of hintertuxified).

License: GNU GPL v2.

Download: Plugin Tag v2.0.

Ho messo a posto il sito

Dopo tempo ho finalmente messo a posto il sito.

Ho messo a posto tutti i tag e le categorie.

In realtà ho finito parecchio tempo fa ma mi mancava solo l’articolo sulla configurazione di Postfix ma è andata meglio di come credessi.

Spero sia più aprezzabile ora.

Plugin Tag (v1.1) [Flatpress]

See below for English.

Italiano

Ho aggiornato il Plugin Tag.

Ci sono pochi miglioramenti e solo dal punto di vista “grafico”, perciò per più informazioni vi rimando alla vecchia pagina.

Ho sistemato la compatibilità con i plugin che vengono subito come readmore o autoreadmore.

È stato aggiunto l’hook tag_link (che vuole un parametro e cioè il nome del tag) e il supporto per visualizzare l’elenco dei tag sul proprio template che si usa così:

{if $tags}Tag: {$tags|@tagplugin_list}{/if}

Il modificatore tagplugin_list accetta due parametri:

  1. glue (opzionale, se non presente “, “): cosa deve unire i tag
  2. default (opzionale, se non presente “No Tags”): cosa deve apparire in assenza di Tag

Lingue: en-us, it-it.

Licenza: GNU GPL v2.

Download: [iurl:relative:fp-content/attachs/tag_v1.1.tar.gz title=”Tarball della versione 1.1”]Plugin Tag v1.1.

English

I’ve updated the Tag Plugin.

There aren’t so much changes so for more information, read the old page.

I’ve fixed the compatibility with some plugins like readmore o autoreadmore.

tag_link hook has been added (it wants one parameter, the tag name) and now you can list the tags of the entry in your template. This is the code to do it:

{if $tags}Tag: {$tags|@tagplugin_list}{/if}

tagplugin_list accepts two parameters:

  1. glue (optional, default: “, “): what joins the tags
  2. default (optional, default: “No tags): what is seen if there aren’t tag.

Languages: en-us, it-it.

License: GNU GPL v2.

Download: [iurl:relative:fp-content/attachs/tag_v1.1.tar.gz title=”Tarball of version 1.1”]Tag Plugin v1.1.

Plugin Tag (v1.0) [Flatpress]

Italiano

(See below for English)

Ho scritto un plugin che implementa i tag su flatpress.

Li implementa tramtite bbcode con [tag]i miei, tag, separati, da virgola[/tag].

Questo plugin in più aggiunge di default la lista dei tag alla fine del post ma questa funzione può essere disattivata (penso però sia possibile anche fare con $tags in smarty, ma non l’ho provato).

In più rende disponibile un widget con la tagcloud e si integra perfettamente (dopo un sacco di codice fatto a posta) con PrettyURLs.

Essendo un plugin complicato non ne garantisco il corretto funzionamento.

Lingue: en-us, it-it.

Licenza: GNU GPL v2.

Download: [iurl:relative:fp-content/attachs/tag_v1.0.tar.gz title=”Tarball della versione 1.0”]Tag v1.0.

English

I’ve written a plugin that implements tags on flatpress.

It uses BBCode: [tag]my tags, comma, separated[/tag].

This plugin adds by default the tag list in the bottom of every entry but you can disable this (I think you should use $tags on Smarty but I haven’t tested, yet).

The plugin makes available a widget with tag cloud and it’s compatible with PrettyURLs (with a lot of ad-hoc code for the integration).

As it is a complicated plugin, I don’t ensure the proper functioning.

Languages: en-us, it-it.

License: GNU GPL v2.

Download: [iurl:relative:fp-content/attachs/tag_v1.0.tar.gz title=”Version 1.0, gzipped tarball”]Tag v1.0.