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

List:       tellico-users
Subject:    Re: Using Tellico do make a website
From:       José_Marcio_Martins_da_Cruz <jose.marcio.mc () gmail ! com>
Date:       2024-02-26 11:39:33
Message-ID: a603d7e6-0dcc-4ede-8f79-4ba786f0407c () gmail ! com
[Download RAW message or body]

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.patch" (text/x-patch)]

--- 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);


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

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