[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tellico-users
Subject:    Re: Using Tellico do make a website
From:       Robby Stephenson <robby () periapsis ! org>
Date:       2024-02-24 13:51:00
Message-ID: CACFDV65nfnRTc51ffyTNMZ0tcj=DUM76io=3PNZQYH96VDVoFg () mail ! gmail ! com
[Download RAW message or body]

On Fri, Feb 23, 2024 at 2:06 PM Bruno Cornec <bruno@musique-ancienne.org>
wrote:

> José Marcio Martins da Cruz said on Thu, Feb 22, 2024 at 04:23:52PM +0100:
> >For the moment, I've only digged into tellico database file format and
> it's just an idea on how I'd like to do that.
>
> AS I had a similar need as you, I did it on my side with some perl
> script using templating. Only tested with my collections, but ready to
> fix bugs if you have some using it on yours ;-)
>
> https://github.com/bcornec/tellico2html/tree/master
>

 Bruno has a great set of scripts. If you want the most basic of ways to
turn a Tellico file into a simply title list, for example,

unzip -p books.tc tellico.xml|xsltproc `kf5-config --path data --locate
tellico/tellico-by-
title.xsl` - > book-titles.html

That extracts the tellico.xml file from the zipped data, pipes it through
xsltproc and a basic template that is usually packaged with Tellico, and
directs it into an HTML file (no images). The tellico-by-title.xsl file has
some basic CSS styling which is probably clear enough to edit as you'd like.

Robby

[Attachment #3 (text/html)]

<div dir="ltr"><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Feb 23, \
2024 at 2:06 PM Bruno Cornec &lt;<a \
href="mailto:bruno@musique-ancienne.org">bruno@musique-ancienne.org</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px \
solid rgb(204,204,204);padding-left:1ex">José Marcio Martins da Cruz said on Thu, Feb 22, 2024 \
at 04:23:52PM +0100:<br> &gt;For the moment, I&#39;ve only digged into tellico database file \
format and it&#39;s just an idea on how I&#39;d like to do that.<br> <br>
AS I had a similar need as you, I did it on my side with some perl<br>
script using templating. Only tested with my collections, but ready to<br>
fix bugs if you have some using it on yours ;-)<br>
<br>
<a href="https://github.com/bcornec/tellico2html/tree/master" rel="noreferrer" \
target="_blank">https://github.com/bcornec/tellico2html/tree/master</a><br></blockquote><div><br></div><div> \
Bruno has a great set of scripts. If you want the most basic of ways to turn a Tellico file \
into a simply title list, for example,</div><div><br></div><div><span \
style="font-family:monospace"><span \
style="color:rgb(0,0,0);background-color:rgb(255,255,255)">unzip -p <a \
href="http://books.tc">books.tc</a> tellico.xml|xsltproc `kf5-config --path data --locate \
tellico/tellico-by-</span><br>title.xsl` - &gt; book-titles.html</span></div><div><span \
style="font-family:monospace"><br></span></div>That extracts the tellico.xml file from the \
zipped data, pipes it through xsltproc and a basic template that is usually packaged with \
Tellico, and directs it into an HTML file (no images). The tellico-by-title.xsl file has some \
basic CSS styling which is probably clear enough to edit as you&#39;d like.<div><span \
style="font-family:monospace"><br></span></div><div>Robby<span \
style="font-family:monospace"><br></span></div><div><span \
style="font-family:monospace"><br></span></div><div><span \
style="font-family:monospace"><br></span></div></div></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic