Home  |  Linux  | Mysql  | PHP  | XML
From:Philip Durbin Date:Tue Aug 19 22:16:02 2008
Subject:Re: HTML::Timeline
 > Also, I think this forum is a better place to share ideas than RT.
 >
 > Also, unless sending me files or private material, please keep  
emails on
 > this list, and not to me personally.

I agree that perl-gedcom is a better place to discuss HTML::Timeline  
than RT, but if people think a new list is justified please just say so.

 >> 1) Put the code in a public repository
 >
 > I've recently switched from svn to git.
 >
 > If I put the code somewhere public, it'll probably be:
 >
 > http://github.com

Sounds good.  I like git.

 >> 2) The include_spouses option may not always work
 >
 > If you run:
 >
 > shell> timeline.pl -r "Lucia Elisabeth Munchhusen" -i
 >
 > with and without the -i, you'll see 2 different results, taking  
care to
 > view the output in a browser between runs :-)).

What you say is true, but my point was not that the include_spouses  
option may not always work, but rather that it doesn't include the  
spouse of the root person, which in this case is Johann Christoph  
Friedrich Bach.

 >> 6) Using 'cpan' and packaging and timeline.pl -h under MacOS
 >
 > I don't have any experience with MacOS (I use Debian), so can't help
 > there.
 >
 > If timeline.pl -h does not work from the command line, I'd suggest  
the
 > install did not work perfectly, but, again, that must be a Mac  
problem.

Regarding trouble installing HTML::Timeline from CPAN on the Mac, I  
just reponded to my earlier post to say that it finally installed.   
Mostly, anyway. . . timeline.pl wasn't installed.  /usr/bin/perlcritic  
was correctly installed on my Mac with Perl::Critic and I'm not sure  
why the same is not true for timeline.pl.

 >> 7) Fuzzy dates and Gedcom::Date

Originally, I put in a note about fuzzy dates when the date couldn't  
be resolved precisely (i.e. multiple years given as a birth date such  
as "1772-1773"), but now it seems like any date (even a precise one  
such as "31 Mar 1685") is considered fuzzy:

[pdurbin@macbook simile]$ ./timeline.pl
[pdurbin@macbook simile]$ grep "Johann Sebastian Bach" timeline.xml
   <event title="Johann Sebastian Bach" start="1685" end="1750">Fuzzy  
birthdate: 1685</event>
[pdurbin@macbook simile]$
[pdurbin@macbook simile]$ sed -i -e 's/1685/31 Mar 1685/g' bach.ged
[pdurbin@macbook simile]$ ./timeline.pl
Argument "31 Mar 1685" isn't numeric in numeric lt (<) at /Library/ 
Perl/5.8.8/HTML/Timeline.pm line 119, <GEN0> line 216.
[pdurbin@macbook simile]$ grep "Johann Sebastian Bach" timeline.xml
   <event title="Johann Sebastian Bach" start="31 Mar 1685"  
end="1750">Fuzzy birthdate: 31 Mar 1685</event>
[pdurbin@macbook simile]$

 >> 8) Support for ~/.timelinerc
 >
 > Possible. Various issue arise:
 >
 > o Why not use little batch files which call timeline.pl?
 >
 > The advantage of this is that each batch file can be customised to  
suit
 > one particular Gedcom file.

Sure, I could create scripts to call timeline.pl with the correct  
GEDCOM file each time, but I only have one GEDCOM file.

 >> 11) The -ancestors options may not always work
 >
 > If you run:
 >
 > shell> timeline.pl -r "Lucia Elisabeth Munchhusen" -a
 >
 > with and without the -a, you'll see 2 different results, taking  
care to
 > view the output in a browser between runs :-)).
 >
 > So, I reject this bug report.

Well, Lucia Elisabeth Munchhusen doesn't have any ancestors in  
bach.ged, so it's not the best test, but the -a option seems to be  
working fine for me.

 >> 13) Horizontal slider problem
 >
 > I suspect this just requires timeline.html getting on-screen help.
 >
 > Or am I mistaken here?
 >
 > I've patched timeline.html to explain the availability of
 > click-and-drag.

This seems like a very good solution, and the other improvements  
you've made are great too, Ron.  Keep up the good work!

Phil
Navigate in group perl.gedcom at sever nntp.perl.org
Previous Next




  
© No Copyright
You are free to use Anything
Site Maintained by PHP Developer
Powered By PHP Consultants