Using Tellico do make a website
Bruno Cornec
bruno at musique-ancienne.org
Mon Feb 26 17:11:00 GMT 2024
Hello José,
If you see how to improve by documentation the field names issue you
encoutered, let me know.
Indeed, I have a similar cron job on my side ;-)
I adopted your suggestion and pushed it. Thanks for that.
Next time, feel free to fork the repo and make a pull request so your
contact info are used and you're directly credited.
Best regards,
Bruno.
José Marcio Martins da Cruz said on Mon, Feb 26, 2024 at 12:39:33PM +0100:
>Date: Mon, 26 Feb 2024 12:39:33 +0100
>From: José Marcio Martins da Cruz <jose.marcio.mc at gmail.com>
>Subject: Re: Using Tellico do make a website
>To: Bruno Cornec <bruno at musique-ancienne.org>
>Cc: tellico-users at kde.org
>User-Agent: Mozilla Thunderbird
>
>
>Salut Bruno,
>
>My feedback,
>
>It's what I was intending to do.
>
>I've created the web pages for one of my collections - 1600 books, with the Livres.tt template.
>
>HTML generation took only 15 seconds against some minutes on the
>tellico application. Just 1.5 secs to update after a tellico database
>modification. Some problems with field names, but very easy to solve.
>The template example is a good quick start.
>
>A command line tool is what I was wanting : put it in a crontab and push it to my webserver... ;-)
>
>A little suggestion : when launching tellico2html for the first time
>you create a default configuration file with default values and create
>directories. But if directory places aren't the proposed, ... I
>suggest to just create the configuration file, exit and tell user to
>personalize the configuration file and launch tellico2html again.
>
>It's very simple to do this. I'm attaching a patch, if you accept.
>
>Best regards and thank you for this tool
>
>José-Marcio
>
>On 2/26/24 00:01, Bruno Cornec wrote:
>>Hello José,
>>
>>José Marcio Martins da Cruz said on Sun, Feb 25, 2024 at 01:52:51AM +0100:
>>>It lacks a colon just after tmpldir in the rc file created at first time.
>>
>>Nice catch ! Fixed upstream at https://github.com/bcornec/tellico2html/tree/master
>>
>>Let me know if it's also useful for you !
>>
>>Greetings,
>>Bruno.
>--- tellico2html.org 2024-02-26 09:59:59.945717401 +0100
>+++ tellico2html 2024-02-26 12:12:05.066011588 +0100
>@@ -90,7 +90,8 @@
> print CF " sharedir: $sharedir\n";
> print CF " tmpldir: $tmpldir\n";
> close(CF);
>- print "Please review $cf to adapt to your context\n";
>+ print "Please review $cf to adapt to your context and launch tellico2html again\n";
>+ exit 0
> }
> print "Loading YAML conf file $cf\n";
> my $lh = YAML::LoadFile($cf);
--
Des infos sur la musique ancienne -- http://www.musique-ancienne.org
Des infos sur les logiciels libres -- http://www.HyPer-Linux.org
Home, sweet musical Home -- Lover of Andromède, Béatrice, Early Music,
Josquin, Linux, Mélisande, Recorder, and Ségolène (not in that order)
More information about the tellico-users
mailing list