Revision as of 08:00, 13 November 2019 by Fito (talk | contribs) (Created page with "'''Tellico''' puede hacer uso de diversas plantillas para modificar el formato de la información en la colección.")
Jump to: navigation, search
Other languages:
English • ‎dansk • ‎español • ‎polski • ‎português do Brasil • ‎українська
Tellico es una aplicación de catalogación que le facilita llevar un seguimiento de sus libros, vídeos, música… incluso sus vinos, o cualquier otra cosa. Su interfaz sencilla e intuitiva muestra imágenes de cubierta, agrupaciones y cualquier otro detalle importante para usted. Recupere información de numerosos sitios populares en Internet, incluidos, y muchas bibliotecas.

Tellico forma parte de KDE Extragear, en el módulo Oficina

De un vistazo

La ventana principal de Tellico luce semejante a esta imagen:


Tellico puede hacer uso de diversas plantillas para modificar el formato de la información en la colección.

Obtener Tellico

Tellico is available for most Linux distributions, as well as the ports repository for the BSD variants. Please check your package manager to see if a package is available there.

Links to many of the packages are listed on the Tellico download page.

Compiling Tellico from the source code requires installing several development packages.

For Ubuntu/Kubuntu there are unofficial packages available in a PPA.

More Information


Bug reports for Tellico use KDE's bugzilla.

Show all Tellico bugs.

XSLT processing

Tellico use XSL files for templates, reports, import, processing data source and export. XSL files apply on XML data. The Tellico's DTD will give you the exact name of fields (because Tellico displays translated titles instead of names). Common places for this file are /usr/share/tellico/tellico.dtd or /usr/share/kde4/apps/tellico/tellico.dtd Beware that Tellico use libxslt1.1 which implement XPath 1.0 functions only. Fortunately, you can use EXSLT extensions.

Basical XSLT for transforming export

First, do an XML export. The file will serve as a reference for testing. Testing will be easier if you install an XSLT processor (xsltproc is available on every distribution). Then write an xsl stylesheet. Here's a basic one :

 1 <?xml version="1.0" encoding="UTF-8"?>
 2 <xsl:stylesheet xmlns:xsl=""
 3                 xmlns:tc=""
 4                 version="1.0">
 5 <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
 7 <xsl:template match="/">
 8   <xsl:apply-templates select="tc:tellico"/>
 9 </xsl:template>
11 <xsl:template match="tc:tellico">
12   <xsl:apply-templates select="tc:collection"/>
13 </xsl:template>
15 <!-- about your collection -->
16 <xsl:template match="tc:collection">
17 <books><!-- sample xml  output -->
18 <xsl:apply-templates select="tc:entry"/>
19 <books>
20 </xsl:template>
22 <!-- transform each entry -->
23 <xsl:template match="tc:entry">
24 <book><!-- sample xml  output -->
25 <title><xsl:value-of select="title"/></title>
26 <!-- other fields -->
27 </book>
28 </xsl:template>
30 </xsl:stylesheet>

Default fields in use for import

If you want to extend Tellico, you will certainly modify its XSLT processing files. To do this you will need the name of fields from the DTD, but current xsl files use several other names specific of collections and data sources. Using these default names for fields will makes your XSLT more compatible with others (for example "dewey" and "loc" are used for several data sources).

The list is built at Tellico/DefaultFields

Content is available under Creative Commons License SA 4.0 unless otherwise noted.