By genome - Monday, June 20, 2005
|
I have created a 2nd report template for use with the GenoPro Beta Report Generator. You you can view a sample report generated using this template here http://www.priors.net/genealogy/reports/TreeIndex/default.htm.
If you want to try the Report Tempate on your own GenoPro files, download the zip file from http://www.priors.net/genealogy/skins/TreeIndex.zip. Unzip the contents into a new folder under your existing GenoPro skins folder. You should then be able to access the Template in the 'skin name' drop down list of the Report Generator dialog within GenoPro.
This report has a single index in the form of a tree view similar to Windows Explorer. (The javascript code used is xTree from WebFx http://webfx.eae.net).
I've dispensed with the Family Index and associated pages and just used the individual pages as these provide the same details. Picture comments are now included, see 'William John Simpson' in sample report for picture examples. Education and occupation details are in narrative form, alongside any pictures asscoiated with the place of education or occupation.
Enjoy.
|
By GenoProSupport - Thursday, August 18, 2005
|
WOW!!!! This is incredible stuff.
|
By Yehudad - Thursday, August 18, 2005
|
WOW!
I can't download the zip file though, it a wrong URL.
This is the right link http://www.priors.net/genealogy/skins/TreeIndex.zip
It is good that there is a link from the sample report...
|
By genome - Thursday, August 18, 2005
|
Download link now corrected
|
By maru-san - Thursday, August 18, 2005
|
Have downloaded also this report generator and it is getting better and better.
Noted that the font of the index on the left could be bigger for people with eyesight problems.
First line under education is bold and has larger fonts than the next education topic; I think they should be the same.
The index frame is very nice!
How about a slide show for education and occupation topics to the left of each topic, but smaller in size than the other slides?
Otherwise great work and thanks to ron.
|
By appleshaw - Thursday, August 18, 2005
|
Ron
Congratulations on a very polished looking Generator.
I have two comments so far; a minor one on the display of marriages and a more basic one on Browser use/type of coding
Marriages:- My own is displayed as "Peter's wife is Pamela (Pella) Marjorie Evans. They were married in a religious ceremony on 6-Jun-1959 at Canon Kirkham in Burton, Christchurch ".
I tried to look at the code to see if I could find how this works but got nowhere so comments are:
1 Type of ceremony not necessary here. In my file, which was generated from v.1.9 many cases are not distinguished and in most cases it is not known. The religious/civil difference can be inferred if the supporting data is present. Otherwise the report may incorrectly say the marriage is religious when in fact this is not known.
2 The prefixes are out of order for the fields. As the official is often not known I suggest the last sentence in my case would be better as "They were married on 6-Jun-1959 at Burton, Christchurch by Canon Kirkham"
Browser problems:- I have always used Netscape as a browser although with reports from v.1.9 this meant you could not view the Genogram. However everything else worked.
I am now using Mozilla Firefox as preferred browser and have also just upgraded to Netscape 8. In both cases there are problems with navigation from a person to their children and also looking at the other pictures in the list. No problem in IE6. I am not sure if this a Java problem, but I suspect that it is the use of ActiveX. I have installed the latest vesion of Java, so think this is not the problem. However I have not been able to download the ActiveX plug-in for Mozilla - I can not get the link to work, even when using IE6.
So two questions. Is this an ActiveX problem? If so can a Report Generator be developed that will work on all browsers. Reading about the Mozilla plug-in I think the default version has been developed to allow access to Windows Media Player files. The advice is not to use it for anything else as this is a favourite way for hackers to attack computers
|
By genome - Thursday, August 18, 2005
|
This report is still 'work in progress' so there are a few things yet to be sorted out: 1. tense of verbs should match status of individuals (living or dead). i.e 'A and B have x children' if still living or 'A and B had x children' if one or both dead. There are other similar cases.
2. pictures are not always rendered with correct size/ratio 1st time round, but are correct when viewed a 2nd time. Could this be a cacheing issue? - a question to Dan/GenoPro here - the picture object has cache entries for size, dimension etc. do you have any advice on how and when they can be used?
3. Where individuals have more than one partner the cronological order is not always correct even when genogram rules are followed for positioning. Perhaps extra field(s) are needed in GenoPro to fix this.
4. Individuals with no last name are sorted and displayed together with the last name in the index.
I also need to address the issues raised by 'maru-san', 'appleshaw' and others.
As for cross-browser issues, I don't think its a Java issue, Javascript doesn't use the Java run-time as far as I know. Also there are no ActiveX components involved. If I get the chance I'll download Firefox and try it. If anyone else out there has experience in Web development for various browsers please contribute!
Re 'marriages' issue - my report contains some 'customisations' for my own use that may not be suitable for everyone. For example I use the 'priest' & 'notary' fields to record the church or establishment at which the wedding took place as this is more often recorded in the UK rather than the priest etc. The prepositions used match this usage. There is a Dictionary.xml entry you can adjust to change this back to the normal form. (I only use 'place' for locations or 'locale' like town, village, city etc.)
I'll add a Config Parameter option to remove the references to 'religious ceremony' and 'civil ceremony' for marriages for those who would rather not have it. GenoPro itself makes the distinction so I think the report should also.
I also use the Dictionary to change Education items EducationLevel and StudyType to their UK equivalents. You may need to adjust these for your own use.
One more 'customisation' I have is the use of 'Resident' & 'Retired' as special 'Occupations' which are treated differently.
Maru-San, I may be missing something but I don't quite understand what you mean as regards a 'slide-show' for education & occupation topics, perhaps you could elaborate?
|
By GenoProSupport - Thursday, August 18, 2005
|
Where individuals have more than one partner the cronological order is not always correct even when genogram rules are followed for positioning. Perhaps extra field(s) are needed in GenoPro to fix this.
Thanks for your post. This is a known issue at http://www.genopro.com/newreportgenerator/ :
"Sort family by date and position (x-coordinates). At the moment, the families are sorted by marriage date. If there are no marriage date, the sorting should use the x-coordinate of the family and other clues depending on which parent we want to enumerate the families."
|
By appleshaw - Thursday, August 18, 2005
|
I have just tried to load a generated report into IE6 (SP2) and the Pop-Up blocker came up with "To help protect your security, Internet Explorere has restricted this file from showing active content that could access your computer."
The heading message is loaded in the right hand pane and the two buttons, Exapnd /Collapse in the left pane. Nothing works until the blocked content is overridden.
The security settings were medium; reducing to Low had no effect
|
By genome - Thursday, August 18, 2005
|
Were you able to view the sample report OK? It sounds like your browser is blocking the JavaScripts xtree.js (that drives the tree structure), tree.js (that populates the tree) & presumeably picviewer.js (that advances the pictures in the viewer). The sample uses exactly the same scripts so if that works your generated report should be ok too. Was the report on a web site or just on your local disc?
Update: I've just found a good explanation of the problem here http://www.phdcc.com/xpsp2.htm with some circumventions. IE6 with SP2 blocks all scripts run from the local machine.
|
By appleshaw - Thursday, August 18, 2005
|
I am viewing reports on the hard disc; do not want to post them until I am sure there are no problems.
IE6 only shows the initial information contained in Detail.htm + the two buttons in the other frame. The only way to procede is to turn off the Pop-up Blocker. I have tried modifying settings in the Options, such as making several items give a prompt but not got anywhere.
Firefox gets much further and loads both frames; you can navigate to an individual and also move to ancestors. However children are identified with extended links eg file:///E:/Data/GenoPro%20Beta%20Report/2.13e/ind00004.htm#0_0 and Firefox does not then move to #0_0.
The similar problem occurs with the picture viewer.
I have of course checked that Java & Javascript are enabled in Firefox. I suspect this may be down to the disagreement between MS & Sun over Java and now MS are doing their own thing again which 'extends' the standards
|
By genome - Thursday, August 18, 2005
|
To allow Javascript to run in IE6 under SP2 without the Blocker prompt, change IE6 options as follows, click Tools then Internet Options, click the Advanced tab, scroll down to the Security heading and tick the checkbox against "Allow active content to run in files on My Computer"
I have have looked into Firefox issues and now have a partial fix. links to family, education & occupation now work, child links now have a different problem! The picture viewer works but suffers the same issue as IE in that pictures are not resized to correct height/width ratio. If you keep going round the slides they are sometimes correct! Download site has been updated with this fix.
|
By appleshaw - Thursday, August 18, 2005
|
Thanks for that. It has cured the first problem in that I can now get into the file. However IE6 now behaves like Firefox, ie does not move to #0_0.
I will explore options, but if only life was simple!
|
By appleshaw - Thursday, August 18, 2005
|
IE6 now takes 15 secs to load my file from disc. Firefox takes 5
The picture viewer now works in IE6, but it still does not move down to children ie #0_1 etc.
Is it necessary to use this way of identifying children? V1.9 links directly to the GenoPro id
|
By maru-san - Thursday, August 18, 2005
|
Since I have also a lot of pictures related to education & occupation (edit via ctrl+E) I like to give people the chance to see at least the first picture, however better all the pictures via a slide-show. In order to make the page look better I think these pictues should be left (if included) to the education & occupation (notes).
I am also using sometimes "Firefox". The display (including your tools webpage) shows up different from IE6.
|
By genome - Thursday, August 18, 2005
|
I think I've sorted the problem with child links in IE & Firefox, it was my lack of understanding of HTML as I'm 'learning on the job' here! IE is a bit more forgiving (and misleading) than Firefox which, as you would expect, sticks rigidly to the standard.
As regards pictures, I've made some progress but not there yet. It is to do with cacheing, now the pictures don't change until you've clicked round once! I'm trying to get the size before the picture has loaded. I'll revisit this problem after the weekend, hopefully I can use the picture sizes in the GenoPro object model rather that trying to get this info dynamically from the JavaScript Image object.
Maru-san, I couldn't at first see how you were associating pictures with education & occupation events but I assume you mean pictures associated with the place of education, i.e. school, university etc. and similarly for occupation rather than the education/occupation item itself. I wasn't aware that this feature was in GenoPro. If this is the case then yes I should be able to add some code to deal with it, once I've got the slide viewer working properly.
I also want to make the slide viewer a slide show as well, i.e. pictures change automatically.
|
By maru-san - Thursday, August 18, 2005
|
Yes, you have figured right. I mean the pictures associated with places, at the moment related to education and occupation. I use them very extensively and always ask for pictures of relatives. Farms, buildings, etc.
In my own case pictures related to the various jobs in many parts of the world will make the report very informative.
Besides I am not in a hurry for this report. But if it is there I will use it.
But since this is still a Beta version, we are not quite sure what other fields for this report will come up.
|
By genome - Thursday, August 18, 2005
|
I've now fixed the picture viewer problem for both IE & Firefox and also added the slide show functionality.
I now want to concentrate on layout improvements, particularily to add more flexibility by moving more of the layout control into the stylesheets (css) rather than directly in the HTML. Hopefully this will allow GenoPro users to added their own 'look' to the reports. For examples of how Cascading Style Sheets (css) can be used to modify the layout of the same HTML file take a look at www.csszengarden.com and try some of the other stylesheets for that page.
|
By MR - Thursday, August 18, 2005
|
Thanks Ron for the great job! The picture problem is indeed fixed and I can see the slide show. For some reason, however, instead of 4 buttons I see 4 little squares with small red X. I assume the first one starts the slide show, but do not know the meaning of the others.
What could be wrong? Thanks, Mark
|
By genome - Thursday, August 18, 2005
|
Sorry, I forgot to add the new png images to the zip file. They are there now. The functions are play, stop, previous & next. I'll change them to gifs in the next version as IE does seem to support transparent png files.
|
By maru-san - Thursday, August 18, 2005
|
Have also downloaded the last zip file and made a report. It starts the picviewer with the 1st picture in its normal size, but all other pictures show only up as lines (no height).
Where could be the problem?
|
By genome - Thursday, August 18, 2005
|
The picture size is taken from the cache.dimension property of the picture object. If you view your pictures in table view mode within GenoPro, are entries present in the dimension column in the form 'width x height'? Are the pictures in jpg format? I've not tested any other format.
The other possibility is that your picture paths include html special entities such as & ' or ". I've uploaded a version that will now encode such characters.
If it is none of the above then email me a copy of one of the affected generated htm files (e.g indxxxxx.htm).
Each picture should have an entry in the htm file of the form <option value ="filename¦description¦wxh">picture name</option>. The ¦ character should not be used in the filename or description as it is used as a separator.
|
By GenoProSupport - Thursday, August 18, 2005
|
Is there anything I can do to help you guys?
|
By appleshaw - Thursday, August 18, 2005
|
I have just tried the latest version of your report and it works perfectly in Firefox. However in IE6 I now get the problem of other pictures displaying as a single line. I tried moving round the set but could not get the other images.
One thought. Could you add a button on the left to get back to the initial page of instructions etc?
|
By MR - Thursday, August 18, 2005
|
I had the same problem at the very first run. Some of the pictures gave just a horizontal line. The problem disappeared after I regenerated report. There was nothing special about those pictures. Strange as it is...
|
By maru-san - Thursday, August 18, 2005
|
Tried again and made another report after having removed some of my pictures. Checked on the individual.html file and followed your advice to check on certain lines.
Those pictures, which had shown up as lines only, did not have the size (hxw) shown, although in the table layout all pictures are properly listed with sizes and path.
|
By genome - Thursday, August 18, 2005
|
Then there is possibly something odd going on. To make sure try inserting this diagnostic line into the individual.htm template immediately after line 313 (313 contains ' for each p in obj.pictures')
report.logError p.path.file_unique & " size is " & p.cache.dimension |
Then generate the report again. This should display size information for each picture in the message log. If any sizes are missing that do appear in the GenoPro table view then perhaps Dan can explain why.
|
By maru-san - Thursday, August 18, 2005
|
Would have liked to give a coonfirmative answer with regard to this proplem, but whenever I change something on my testfile (double entries are deleted) the output report improves.
Used to insert the line, the message output was:
"Error at line 314 generating 'ind.....htm',
Object required 'p'
Microsoft VBScript runtime error 800A01A8"
Very difficult to give a clear cut answer. It may have something to do with double entries through a copying and pasting process and keeping them there.
However like to comment also on the expression under education in the report output. It sounds strange if you read "His achievement was 2 years" Wouldn't it be better to say here:
"He completed/attended a [achievement] course as [level]"
|
By genome - Thursday, August 18, 2005
|
With regard to your 1st point, are you sure you inserted the line after 'for each p in obj.pictures'? i.e. code fragment becomes for each p in obj.pictures
Report.logError p.path.file_unique & " size is " & p.cache.dimension
Report.Write "<option "&util.ifelse(p.id = obj.pictures.primary.id,"selected","")&" value="""&util.htmlencode(p.path.file_unique)&"¦"&util.htmlencode(p.description)&"¦"&p.cache.dimension&""">"
Report.WriteText p.name
Report.WriteLn "</option>"
next |
On the 2nd point, achievement can also be 'pass' , 'certificate' or 'diploma'. I think the answer here is to put the full text in the Dictionary, changing the existing values under EducationAchievement. Thus '2 years' would be replaced by 'completed 2 years' and 'pass' would become 'achieved a pass' and 'diploma' becomes 'was awarded a diploma' etc. It is difficult to combine [achievement] and [level] in the same sentence as you suggest as there is no guarantee both will be present and it is difficult to find a phrase that suits all possiblilities. [level] can be 'College' for example. It will also be necessary to change Dictionary entries for EducationLevel to complete phrases as well.
I am otherwise engaged for the next week but I will look into this and earlier points when I return.
|
By maru-san - Thursday, August 18, 2005
|
Have included the lines in the proper place (not line 313 as told before) and in the message log when creating the report the size of the pictures are shown, however only after I have cleaned up those files.
If I take a file I have been working on for some time without checking double entries or invalid entries, some of the sizes do not show up and consequently they show up in the report as lines only.
I will do the cleaning work shortly before the Version 2.0 comes out.
Have modified the ind.. htm as follows and it comes close to acceptable. However I think some of the so called "achievements" could be renamed to different expressions in order to make them more universal.
for each e in collEducations
Report.WriteText strPrefix&" attended "&e.school
Report.WriteT3 " ",e.study_type," "
Report.WriteT3 " from ",e.start.date
Report.WriteT3 " to ",e.end.date
Report.WriteT3 " for ",e.duration
Report.WriteT3 " and completed a ",e.level
Report.WriteT3 " course in ",e.program
Report.WriteT3 " with ",e.level.achievement
Report.Write ". "
|
By appleshaw - Thursday, August 18, 2005
|
Have not had any success with IE6; Firefox causes no problems with the picture display, and the show also works.
The code for an individual is
href="mypictures/pop.jpg"><img src="mypictures/pop.jpg" width="248" height="247" border=0 alt="pop"/></a></div></td></tr></table><tr><td></td><td width='248'><div align='center'><img border='0' src='images/play.png' onclick="showpics('ind00004','ind00004_pics',248,248,'mypictures/',3000);"/><img border='0' src='images/stop.png' onclick="stoppics();"/><img border='0' src='images/previous.png' onclick="pickpic('ind00004','ind00004_pics',248,248,-1,'mypictures/');"/><select id='ind00004_pics' onchange="pickpic('ind00004','ind00004_pics',248,248,0,'mypictures/');"><option selected value="pop.jpg¦¦500x499">pop</option>
<option value="apbatrocks.jpg¦¦">apb on beach</option>
</select><img border='0' src='images/next.png' onclick="pickpic('ind00004','ind00004_pics',248,248,1,'mypictures/');"/></div></td></tr><tr><td></td><td><table width='250px'><tr><td><div id='ind00004desc'></div></td></tr></table></td> |
I hope I have extracted the bit that counts. Any clues as to why IE6 can not recognise this code - when Firefox has no problems?
|
By genome - Thursday, August 18, 2005
|
Your second picture, apbatrocks.jpg, has no height or width information. I don't know why the Report Generator sometimes does not return this data (p.cache.dimension). Try removing the picture from GenoPro and adding it again and see if that helps.
|
By GenoProSupport - Thursday, August 18, 2005
|
I don't know why the Report Generator sometimes does not return this data (p.cache.dimension)
Could it be the picture is not there? Do you get errors while generating the report? If a picture is not there, there is an entry in the report log.
|
By appleshaw - Thursday, August 18, 2005
|
I did not change the original data set in GenoPro (all of the pictures show size in the table view)
However I followed MR's suggestion and regenerated the report into the same location and this time the size information is there and the report views in both
|
By GenoProSupport - Thursday, August 18, 2005
|
I see. I need to "document a hidden feature" about the report generator to trigger a load if the picture the picture cache is empty. In fact, I will add a method to explicitly update the picture cache if empty.
In the meantime, use the method ToHtmlHyperlinkPicture on each picture to trigger a picture to load if the cache is empty. Just discard the value returned by ToHtmlHyperlinkPicture .
|
By rdn - Thursday, August 18, 2005
|
Ron,
I like your report so much, I decided it best to try and improve a bit, rather than create a new one. The one issue I was not crazy about is the tense of the to-be verb. I have a snippit of code you can add to your version, which will correct this.
In the place where you write "parents were", the new code will change it to "parents are", if both alive, or "parents were" if not. This code can be used in other locations. See below...
Call from here:
if collparents.count > 0 then
Report.Write strName&"'s parents "
Write_to_be_verb collparents,true
for iParent = 0 to collparents.count - 1
...
|
This is the subroutine:
'===========================================================
sub write_to_be_verb(coll_list, always_plural)
printed_to_be_verb = false
if coll_list.count = 1 and not always_plural then
if coll_list(1).is_dead <> "Y" then
Report.Write " is "
else
Report.Write " was "
end if
else
for i_item = 0 to coll_list.count - 1
if coll_list(i_item).is_dead = "Y" and not printed_to_be_verb then
Report.Write " were "
printed_to_be_verb = true
end if
next
if not printed_to_be_verb then
Report.Write " are "
end if
end if
end sub
'===========================================================
|
|
By Frank1 - Thursday, August 18, 2005
|
Hello,
This is my first post in this forum.
I have been using GenoPro 1.91b for a long time.
I am trying to switch to V2.0 Beta as soon as I can. I am particularly waiting for a major feature. I have been hopping that the Unicode will allow me to enter some names in different languages.
I have installed the Beta V2.B13e. I have also downloaded the Ron's reports 1 and 2.
Report 1 doesn't appear to show any family photos at all. Report 2 only shows the one family default photo.
Has anyone actually converted the standard English HTML report template from V1.91b?
By the way I am still unable to enter names in different languages. I can only change the language for the whole tree.
Thank you,
Frank1
|
By maru-san - Thursday, August 18, 2005
|
If the input of foreign names using Unicode is a mayor feature for you, then I can answer this with confidence, having used this to input japanese names for app. 180 names without any problem.
The report #2 shows the first photo as a default, all other pictures are shown via a slide show using the utmost left arrow underneath the photo. The same goes for the family photos.
Is it the layout of the former HTML report you want to have?
The discussion around here goes into the direction of having an even better report than previously with the 1.91b version was possible. So any comment is welcome to improve things.
|
By GenoProSupport - Thursday, August 18, 2005
|
I am working on the report templates to include photos. In the future, GenoPro will support a different font for each GenoMap, allowing different alphabets to be displayed on the same genealogy tree. You can enter anny name with GenoPro, however you have to pick the right font to display such names.
|
By rdn - Thursday, August 18, 2005
|
Is there any thought about including mutliple languages for names entry? By that I mean, having the same name appear in more than one language, e.g. English and Japanese or Greek etc., so that the same person has another name (like an alias). Each name entry would appear in a different field. So, for example, the person's name would be "First Name, First Name (lang 2), second name, second name (lang 2)
There may be a better scheme to manage the multiple language entry.
The second language can be identified in some manner so as to print properly in the reports.
|
By rboshuis - Thursday, August 18, 2005
|
I tried the report......
Everything seems to work fine, I enabled the scripting on My Computer....
....but whenever I try to generate the whole report (on all Genomaps), Genopro crashes at the moment Genopro is starting/has started the browser.
Everything seems to be created fine.
If I have it generate only a single Genomap, it works fine.
Any idea?
rgds,
Ronald
PS. There is no memory issue (I think) since I have 1.5 GB memory in my laptop, of which more than 1GB physical memory is still available..
|
By Frank1 - Thursday, August 18, 2005
|
Thank you for your answers.
maru-san:
You are right, there is slide show that I didn't understand with all the buttons maked with X.
I can confirm that the slide show runs. But all the pictures but one, just show a line. I notice in pervious posts in this thread that this is a problem.
Is the latest Report #2 link at the start of this thread (ie. is that link updated to the latest revision of Report #2)? Or is the latest Report #2 at a different link?
Now to improvement. The report is great if there is just one tree or report to work on. What if one has, say, 8 reports (and family trees) to maintain. When viewing a report, how does one know which tree it is?
What would be great would be individual headings that could include the family tree name and perhaps the revision date.
I overcame this problem in V1.91b. I included 2 small .gif files (fam_name.gif and updated.gif) in the destination directory. These files include pictures of text of the family tree name and date of revision. These files were then referenced from the index.names.htm. This was fairly simple in HTML.
Thanks
Frank1
|
By GenoProSupport - Thursday, August 18, 2005
|
....but whenever I try to generate the whole report (on all Genomaps), Genopro crashes at the moment Genopro is starting/has started the browser.
Can you please send me a sample .gno file to produce the crash? I will fix this problem today.
|
By rboshuis - Thursday, August 18, 2005
|
....but whenever I try to generate the whole report (on all Genomaps), Genopro crashes at the moment Genopro is starting/has started the browser.
Can you please send me a sample .gno file to produce the crash? I will fix this problem today.
Done.
Thanks in advance,
rgds,
Ronald
|
By maru-san - Thursday, August 18, 2005
|
Is there any thought about including mutliple languages for names entry? By that I mean, having the same name appear in more than one language, e.g. English and Japanese or Greek etc., so that the same person has another name (like an alias). Each name entry would appear in a different field. So, for example, the person's name would be "First Name, First Name (lang 2), second name, second name (lang 2)
"rdn", as you know I work with japanese names, which can be written also in alphabet form.
At the moment I use japanese names in the field "alternative name", otherwise their names in alphabetic form in the field "First name", "Last name" a.s.o.
In the display field you can choose your display, both the english and the japanese is possible, however you can not mix vertical and horizontal display. If a combination of names is not available, I squeeze a name into the display field, but you have to be careful because Genopro may crash here. Besides if you change the settings under "properties" once, you loose this display, since it may have not been a predefined display option.
|
By GenoProSupport - Thursday, August 18, 2005
|
Thanks rboshuis for the .gno document. I am able to get the crash. The crash occurs in the file init.htm with circular references. I am investigating the issue and will fix this bug.
I squeeze a name into the display field, but you have to be careful because Genopro may crash here.[/quote]
Gee. This is not good. GenoPro should not crash under any condition. Can you please send me a sample file (or a scenario) where such a crash occurs. I will fix this bug too. Any crashing bug I can reproduce on my machine will be fixed. No mercy on bugs.
|
By rboshuis - Thursday, August 18, 2005
|
Thanks rboshuis for the .gno document. I am able to get the crash. The crash occurs in the file init.htm with circular references. I am investigating the issue and will fix this bug.
Dan,
There are a number of possibilities for circular relations, for example:
* double marriages (f.e. the brother of my father married a sister of my mother)
* there are genomaps that refer to each other because there are multiple points
in the two families where the families are related.
But then again, what you got was a tree, so also all situations in real life will happen in the tree.... hope it helps...
rgds,
Ronald
|
By appleshaw - Thursday, August 18, 2005
|
I have created reports on disc which behave in both Firefox and IE6. So felt it was worth loading on the web (Using WSFTP95).
Problems on the picture viewer - although I have to confess I did not reload any of the images. However the initial ones work but none of the others appear. The following 3 URLs came from Firefox. The first is the first loaded picture; the second is from the button loading the next picture and the last is behind the blank outline of the image.
IE6 behaves in a similar way but does not produce an image frame.
http://www.appleshaw.plus.com/Beaven2/mypictures/pop.jpg
http://www.appleshaw.plus.com/Beaven2/images/next.png
http://www.appleshaw.plus.com/Beaven2/mypictures/apbatrocks.jpg%C2 - so obviously this did not work
Any ideas what is happening? The site is of course
http://www.appleshaw.plus.com/Beaven2/default.htm
|
By genome - Thursday, August 18, 2005
|
The images folder on your website is incomplete - it does not contain the extra graphic files that are part of the 'treeindex' template, it merely contains the graphics from the original GenoPro template. Hence the tree is not displayed correctly.
As regards the picture slideshow not working, I notice that some of the referenced pictures are not present in the mypictures folder on the website. Also the reference to 'apbatrocks.jpg' in ind00004.htm does not have the size information present, which may account for the the strange %C2 (html encoded  character), although I can't explain it at present. It is not present in the html source.
I will implement Dan's workaround for picture cache (i.e use the method ToHtmlHyperlinkPicture) in the next few days in my next revision of the treeindex template. This should fix the missing size information and possibly resolve the problem.
|
By genome - Thursday, August 18, 2005
|
Is the latest Report #2 link at the start of this thread (ie. is that link updated to the latest revision of Report #2)? Or is the latest Report #2 at a different link?
The link given at the start of this thread always refers to the latest revision of the report template.
What would be great would be individual headings that could include the family tree name and perhaps the revision date. There is a 'Title' parameter in the config.xml file that can be changed to what ever you want.
Dan has said that he intends to provide an extra tab on the Generate Report dialog for parameters. Thus it will be possible to easily change this value for each run of the report generator. Until then you can manually change config.xml.
|
By appleshaw - Thursday, August 18, 2005
|
Ron
Thanks for looking into this. I reloaded all of the pictures but this did not alter things. Looking at the source of ind00004 showed some of the odd characters which seemed to be causing the picture problem. I reloaded all of these files again and every thing is now working properly.
I do not know how this happened or where these stray characters came from. It is possible, although unlikely, that they were introduced during transfer. Unlikely as they only seemed to occur with the pictures. I have found that WS_FTPlite does hang during transmission of a long sequence of files to my ISP, but this may be at the server.
1.9 Report Generator has the option of updating a report. This was useful after small changes as it means you only have to transfer newer files. I guess it was based on file size change, which was why there was a warning that it may not be correct. Editing 'Beaven' to 'Beavan' would probably not alter file size whereas 'Beaven' to 'Bevan' should do so.
Thanks for your efforts and help
|
By GenoProSupport - Thursday, August 18, 2005
|
GenoPro will have a field for the genealogy title. Also, each GenoMap will have a field for a title too.
I just finished the "FTP Upload" and the "Update / Resume" a few days ago...
|
By genome - Thursday, August 18, 2005
|
I have now uploaded an updated version of my 'TreeIndex' Report Generator template. The demonstration and download URLs are as per my 1st post in this thread.
I believe I have taken into account all feedback that I have received so far, both in this topic and via direct contact. If I have missed anything out please jog my memory.
It has1. improvements to the grammar including additions to the dictionary
2. forced picture cacheing (using ToHtmlHyperLInkPicture method)
3. pictures for places of education and occupations
4. date produced and version on the header
5. new parameter 'MarriageType' to allow the type of ceremony to be supressed
6. 'Home' button on index frame
7. 'Loading' message on index frameas before all comments & suggestions gratefully received.
|
By GenoProSupport - Thursday, August 18, 2005
|
1. The next beta will have better support to access the dictionary, including methods such as Report.WriteFormattedDic to automatically get the template from the language dictionary. Better support for ordinals, narrative dates, and fallback mechanism when accessing values from the dictionary.
2. You can use the method ToHtmlHyperlinkPicture until the method PictureCacheInit becomes available.
3. That will be great. If you need special methods to format pictures, such as calculating the aspect ratio, let me know.
By the way, the next update will allow to include code within a template. This will be handy to re-use the same routines/functions in different templates.
|
By GenoProSupport - Thursday, August 18, 2005
|
By the way, I have fixed the crashing bug regarding the circular reference. Ron's report uses the object's Session intensively. Under special conditions involving internal hyperlinks, the object's Session have references to each other. Upon terminating, the report generator was destroying all sessions in a single pass creating an invalid reference and consequently a crash. I modified the code to release all references before destroying the sessions.
|
By MR - Thursday, August 18, 2005
|
Ron,
Thanks for the new version. The picture problem seems to be fixed. Still some "problems" with present/past.
1. They had 2 children named... - when both parents are alive
2. Dave's parents were... - when the parents are alive
Regards, Mark
|
By genome - Thursday, August 18, 2005
|
Apologies Mark, I may have uploaded the demo but not the zip file. I have uploaded it again. If your report didn't have the date in the header then its the old version :oops:
|
By maru-san - Thursday, August 18, 2005
|
Ron, thanks for implementing our suggestions into your reports.
Have tried it today and like to suggest that you put the picture comments(edu/occ) to the right of the picture. Try to make long picture comments and you will see. Some of the pictures are not in line with others. I. e. you have 10 different occupations, 2 or 3 are not in line.
Another suggestion is to place the general notes of an individual before edu and occ and the family/partnership notes underneath of the "Niels family with .."
Have checked on the alignment and realized that this comes from long file names, the pictures above are center aligned and correspondingly the pictures look non aligned. It would be better to increase the picture size to 110/110 or 130/130 and eliminate the display of the file name. I think the file name is of no interest to people who will see this report. A comment is of more value
|
By beraha - Thursday, August 18, 2005
|
Hi Ron
Thanks for your Skin.
I have some suggestions:
1. Make links to each individual's brothers and sister 2. On each individual page, add the default picture of his/her husband/wife 3. Make links to the grand father/mother of each individual instead of just text.
Thank you again
|
By GenoProSupport - Thursday, August 18, 2005
|
This weekend, a new Beta will be available with a new report template. This new report template will use the latest features of the report generator.
|
By maru-san - Thursday, August 18, 2005
|
in one of my previous comments to ron I wrote
Have tried it today and like to suggest that you put the picture comments(edu/occ) to the right of the picture. Try to make long picture comments and you will see.
This comments goes as well for the new report generator from Version 13f
Since the basic layout is a table, the comment should stretch over the whole page, not limited to the table size of the picture.
Nice combination of work from Ron and Dan.
|
By genome - Thursday, August 18, 2005
|
I have noted the above and earlier comments from beraha. I have been waiting to see what Dan was doing in 13f before progressing. Now 13f is here I can start reviewing the new features and revision of the VBScripts and then work on the changes requested. I'll also add the camera icon against individuals in the tree index if photos are present.
I like the way Dan has merged the two index styles and his improvements to the code.
|
By GenoProSupport - Thursday, August 18, 2005
|
I promised an update during the weekend, so I gave you what was available on Sunday @ midnight. I am aware the picture comments make the HTML page appear to be moving, which is not good. Perhaps a solution would be to use a tooltip or an IFrame to display the picture description.
|
By maru-san - Thursday, August 18, 2005
|
Played around with borders around pictures and tables in ron's report. Most of these border settings are removed now.
Would like to be able to put a border around the individual's pictures, together with comments. Then in the future we have the choice of border settings to '0' or '1' or even '2'
|