GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




Descendant_Tree 2013.08.04

Click to view RSS...
Author Date formats
Posted Wednesday, January 22, 2014 - Post #33034
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
GenoPro version: 3.1.0.1

Last Login: Monday, March 11, 2024
Posts: 221, Visits: 1,599
Hello

I hopeless with phrase editor ( Dictionary.xml), please help (Questions [2] in the picture below)!



BR, Jarmo
Posted Wednesday, January 22, 2014 - Post #33039
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Yesterday @ 9:40 PM
Posts: 3,325, Visits: 25,526
See the FmtDateDefault section of Dictionary.xml

<!--
Date Formatting Options:
d = day in numerical format
D = day with rank (1st, 2nd, 3rd, ... 31st)
DD = day ordinal (first, second third, ... thirty-first)
DDD = day cardinal (one, two, three, ... thirty-one)
[ ] = display a date prefix (exact date, approximate date, before or after)
GenoPro uses the standard date formatting options from the .NET framework.
-->
<FmtDateDefault>
<!-- Default date formatting templates -->
<FmtYMD>[|~|&lt;|&gt;]d MMM yyyy</FmtYMD>
<FmtYM>[|~|&lt;|&gt;]MMM yyyy</FmtYM>
<FmtY>[|~|&lt;|&gt;]yyyy</FmtY>
<FmtMD>[|~|&lt;|&gt;]MMM D</FmtMD>
</FmtDateDefault>


Do you have the comma in there in your Dictionary.xml?


for e.g. 9.7.1776 use 
<FmtDateDefault>
<!-- Default date formatting templates -->
<FmtYMD>[|~|&lt;|&gt;]d.M.yyyy</FmtYMD>
<FmtYM>[|~|&lt;|&gt;]M.yyyy</FmtYM>
<FmtY>[|~|&lt;|&gt;]yyyy</FmtY>
<FmtMD>[|~|&lt;|&gt;]d.M</FmtMD>
</FmtDateDefault>

[/code]


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Wednesday, January 22, 2014 - Post #33045
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
GenoPro version: 3.1.0.1

Last Login: Monday, March 11, 2024
Posts: 221, Visits: 1,599
Hello

1. Yes, I had comma (,) in my Dictionary after letter "d" Blush

2. I did the change in Dictionary / "FmtDateDefault" -tag in order to achieve "9.7.1776" format as you suggested.  After change I run the report generator, with Descendatnt_Tree 2013.08.04, again with new updated "Dictionary.xml" and got following error msg:

Luodaan web-sivu kohteeseen 'C:\Temp\Parkkari\'
Kloonataan dokumentti saksi...
Avataan asetustiedosto Config.xml mallille '\a Fi Descendant_Tree_2013.08.04\*  (Descendants Tree Chart)'...
Ladataan sanakirjatiedosto Dictionary.xml...
[0.00] Prosessoidaan mallia 'DescendantTree.js'...
[0.01] Error loading xml data Incorrect syntax was used in a comment.

Virhe rivillä 971, paikassa 9 (Code/GnoLib.js) luotaessa 'DescendantTree.rtf': Exception thrown and not caught
 Microsoft JScript runtime error 800A139E

What errors I might have done this time?  BR. Jarmo
Posted Wednesday, January 22, 2014 - Post #33046
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Yesterday @ 9:40 PM
Posts: 3,325, Visits: 25,526
The error
Error loading xml data Incorrect syntax was used in a comment.

suggests another Dictionary.xml syntax error involving <!-- and --> delimiters, but as I cannot see you file I cannot tell where.  Perhaps you deleted the text -->  above the <FmtDateDefault> tag?


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Friday, January 24, 2014 - Post #33056
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
GenoPro version: 3.1.0.1

Last Login: Monday, March 11, 2024
Posts: 221, Visits: 1,599
Hello

I believe that you are right but I just don't see where my mistake might be.  Will you please look at my "Dictionary.xml" file attached?

BR, Jarmo


Dictionary.xml (114 views, 139.09 KB)
Posted Friday, January 24, 2014 - Post #33057
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Yesterday @ 9:40 PM
Posts: 3,325, Visits: 25,526
If you remove that stray 'f' at the very start of the file (i.e. 1st character!) it should work better for you Smile


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Friday, January 31, 2014 - Post #33097
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
GenoPro version: 3.1.0.1

Last Login: Monday, March 11, 2024
Posts: 221, Visits: 1,599
Hello

This is so typical for me Blush.  Many thanks for your kind support.  BR, Jarmo
Posted Friday, January 31, 2014 - Post #33099
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
GenoPro version: 3.1.0.1

Last Login: Monday, March 11, 2024
Posts: 221, Visits: 1,599
Here is the meathead again
How should I define in order to get the "Descendant_tree 2013.08.04"
a)  in "Libre Office" format.  Now it seems to appear always in MS Word rtf format? 
b)  in IE it works beautifully but in Foxpro I do not get is right. 
BR, Jarmo
Posted Saturday, February 1, 2014 - Post #33101
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Yesterday @ 9:40 PM
Posts: 3,325, Visits: 25,526
The Descendant Tree Chart skin is only output in either Rich Text Format (text) or HTML (web page).  The rtf format can be opened with most word processing packages, including MS Word, WordPad, Open Office and Libre Office.

Are you perhaps confusing it with the Descendants Report skin which can produce either MS Word .doc format or Open/Libre Office format output.

My testing indicates that the HTML Descendant Tree Chart page opens successfully with FireFox (what is FoxPro? The only one I remember is a very old database product Wink). 

Please supply a sample report that does not open with Firefox.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Tuesday, February 4, 2014 - Post #33121
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
GenoPro version: 3.1.0.1

Last Login: Monday, March 11, 2024
Posts: 221, Visits: 1,599
Hello

Yes, you are right, as always, I'm confusing things, I'm very sorry.  I really meant "Descendant_tree 2013.08.04" but my questions were badly formulated.  What I meant was:

a) I do not have "official" MS Word program in my PC but instead some "truncated" (ie. not full version but limited, only browsing is possible) version delivered together with operating system, obviously because of compatability reasons? 
Created "Descendant_tree 2013.08.04" -report, in *.rtf format, is always opened (default) with my "truncated" MS Word.  Now, I just close "MS Word" and open the created *.rtf file with LibreOffice.    This works quite fine but I just thought if there were a workaround method to avoid automatically opening the "MS Word" and open the created *.rtf automatically in "LibreOffice" instead.  Anyways, todays version works fine.

b) Also here I'm confusing things.  I really meant Firefox and not Foxpro as you said.  Sorry for beeing inaccurate.  I tested again with Firefox and now it works as expected.

Thanks for you patience and kind support. 
Regards, Jarmo


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse