XML Toolkit for GenoPro
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 
GenoPro Support Forum
Home        Members    Who's On
Welcome Guest ( Login | Register )
        


««12

XML Toolkit for GenoPro Expand / Collapse
Author
Message
Post #19587 Posted 10/21/2007 6:50:54 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Customers
Last Login: 11/19/2007 1:37:05 AM
GenoPro Version: 2.0.1.1
Posts: 6, Visits: 15
Hello,

This toolkit is very usefull and should be incorporated in Genopro.

I would like to add the place of marriage (maybe under the line) to the date.
Is that possible ?

Thank You Ron.

Philippe Mercier
Post #19821 Posted 11/14/2007 4:52:19 PM


Grand Master

Grand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand Master This user is a contributor to FamilyTrees.GenoPro.com This user is an important contributor to the GenoPro community 

Group: Customers
Last Login: Today @ 8:46:16 AM
GenoPro Version: 2.0.1.6
Posts: 1,347, Visits: 6,680
337209 (10/21/2007)
I would like to add the place of marriage (maybe under the line) to the date.
Is that possible ?

Apologies for the delay in response Philippe.

It is indeed possible to add place of marriage, but only to the standard family line text position, i.e. above the line.

If you edit the Dictionary.xml file contained in the XML Toolkit skin, adding the following lines after line 100
    
 <FamilyDisplayText5 C1="Date and place of marriage (dd MMM yyyy Place)"

    T="{0}[{?0} {1}][{?!0}{1}]"
    P="u.Date.ToString(&#34;&#34;), u.Place.Name"/>

Then a 5th item is added to the drop down list templates for the family/marriage label, allowing for generation of date and place of marriage.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Post #19840 Posted 11/16/2007 5:59:22 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Customers
Last Login: 11/19/2007 1:37:05 AM
GenoPro Version: 2.0.1.1
Posts: 6, Visits: 15
Thanks Ron,

It's really usefull...

I have a problem with the birth, death dates :

Is it possible to have before, after or circa when the date is not sure, than only the year ?

Thanks again
Philippe
Post #19841 Posted 11/16/2007 6:23:47 AM
Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master This user is an important contributor to the GenoPro community This user is a contributor to FamilyTrees.GenoPro.com 

Group: Customers
Last Login: Today @ 6:10:29 AM
GenoPro Version: 2.0.1.6
Posts: 980, Visits: 9,340
If you use the toolkit to create a Custom Tag, this can have a display item such as c. or bpt.
This will appear on the GenoMap (if you set the Display properties) and also on the .svg display of a report
Post #19842 Posted 11/16/2007 7:19:27 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Customers
Last Login: 11/19/2007 1:37:05 AM
GenoPro Version: 2.0.1.1
Posts: 6, Visits: 15
When I select Date of birth and date of birth I get it (i.e. <, > or a tilde) but not when I select DisplayTopLabel (i.e. just d. or b. and year).

I have made two screen captures but I don't know how to put them in a message.

Thanks
Phil
Post #19843 Posted 11/16/2007 7:51:04 AM


Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer This user is an important contributor to the GenoPro community 

Group: Customers
Last Login: Today @ 5:21:26 AM
GenoPro Version: 2.0.1.6
Posts: 362, Visits: 2,313
337209 (11/16/2007)
I have made two screen captures but I don't know how to put them in a message.

Thanks
Phil

see here: http://support.genopro.com/FindPost5148.aspx

Post #19844 Posted 11/16/2007 8:00:33 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Customers
Last Login: 11/19/2007 1:37:05 AM
GenoPro Version: 2.0.1.1
Posts: 6, Visits: 15
I'm using Firefox and I have no "browse button" so I cannot send the pics ! cf post 13867

Phil

Post #19845 Posted 11/16/2007 8:13:06 AM
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru This user is an important contributor to the GenoPro community 

Group: Customers
Last Login: Yesterday @ 12:39:38 AM
GenoPro Version: 2.0.1.6
Posts: 199, Visits: 2,994
Use the edit attachments button at the bottom of the page. Upload the picture, then post


Feri


  Post Attachments 
AlbumArtSmall.jpg (13 views, 2.89 KB)
Post #19846 Posted 11/16/2007 8:32:27 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Customers
Last Login: 11/19/2007 1:37:05 AM
GenoPro Version: 2.0.1.1
Posts: 6, Visits: 15
done

  Post Attachments 
Image 1.png (15 views, 11.68 KB)
Image 2.png (16 views, 8.92 KB)
Post #19847 Posted 11/16/2007 10:18:02 AM
Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master This user is an important contributor to the GenoPro community This user is a contributor to FamilyTrees.GenoPro.com 

Group: Customers
Last Login: Today @ 6:10:29 AM
GenoPro Version: 2.0.1.6
Posts: 980, Visits: 9,340
I'm using Firefox and I have no "browse button" so I cannot send the pics ! cf post 13867

If you use IE Tab plug-in you can switch into IE mode just for the sites that insist on using MS specific features
Post #19848 Posted 11/16/2007 10:25:49 AM
Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master This user is an important contributor to the GenoPro community This user is a contributor to FamilyTrees.GenoPro.com 

Group: Customers
Last Login: Today @ 6:10:29 AM
GenoPro Version: 2.0.1.6
Posts: 980, Visits: 9,340
When I select Date of birth and date of birth I get it (i.e. <, > or a tilde) but not when I select DisplayTopLabel (i.e. just d. or b. and year).

Depends on what you want to display. At present GenoPro has a small preset list of display options. The use of the Custom Tag means you can display almost exactly what you want. There are several options in the XML toolkit and if they are not enough the results can be changed.

There are two ways to do this. Either modify Toolkit.js in the skin or more simply edit the Custom tag directly in the table. Depends on how many samples need changing. (NB I have not attempted to modify the skin myself)
Post #19866 Posted 11/18/2007 6:53:07 PM


Grand Master

Grand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand Master This user is a contributor to FamilyTrees.GenoPro.com This user is an important contributor to the GenoPro community 

Group: Customers
Last Login: Today @ 8:46:16 AM
GenoPro Version: 2.0.1.6
Posts: 1,347, Visits: 6,680
appleshaw (11/16/2007)
There are several options in the XML toolkit and if they are not enough the results can be changed.

There are two ways to do this. Either modify Toolkit.js in the skin or more simply edit the Custom tag directly in the table. Depends on how many samples need changing. (NB I have not attempted to modify the skin myself)

There is a third way that is my recommendation - edit the Dictionary.xml file in the XML Toolkit. Phil would like to see the date approximation symbols. this can be achieved by using the GenoPro Report Generator Date 'ToString' method. This is means changing the 1st option in the dictionary
from
 <IndividualCustomTag1 C1="Year of Birth or Baptism & Death or Burial (b./bpt. yyyy - d./bur. yyyy)"

    T="[b. {0}][{?!0}bpt. {1}][{?0|1}{?2|3} - ][d. {2}][{?!2}bur. {3}]"
    P="i.Birth.Date.Year, i.Birth.Baptism.Date.Year, i.Death.Date.Year, i.Death.Disposition.Year"/>
to
 <IndividualCustomTag1 C1="Year of Birth or Baptism & Death or Burial (b./bpt. yyyy - d./bur. yyyy)"

    T="[b. {0}][{?!0}bpt. {1}][{?0|1}{?2|3} - ][d. {2}][{?!2}bur. {3}]"
    P="i.Birth.Date.ToString(&#34;[|~|&lt;|&gt;]yyyy&#34;), i.Birth.Baptism.Date.ToString(&#34;[|~|&lt;|&gt;]yyyy&#34;), i.Death.Date.ToString(&#34;[|~|&lt;|&gt;]yyyy&#34;), i.Death.Disposition.Date.ToString(&#34;[|~|&lt;|&gt;]yyyy&#34;)" />

Note that in XML the entity &#34; represents a double quote " symbol and &lt; &gt; represent < and > respectively, and so .ToString(&#34;[|~|&lt;|&gt;]yyyy&#34;) in Dictionary.xml actually gets read by the Report Generator as .ToString("[|~|<|>]yyyy")


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Post #19867 Posted 11/19/2007 1:55:26 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Customers
Last Login: 11/19/2007 1:37:05 AM
GenoPro Version: 2.0.1.1
Posts: 6, Visits: 15
Hello Ron,

Thanks again.

In fact it's not the IndividualCustomTag1 I need to modify but the IndividualCustomTag4 and the IndividualCustomTag6 because I use all the 5 lines.

I have made this change




T="[b. {0}][{?!0}[bpt. {1}]]"
P="i.Birth.Date.ToString(""), i.Birth.Baptism.Date.ToString("")"/>

to


T="[b. {0}][{?!0}[bpt. {1}]]"
P="i.Birth.Date.ToString("[|~|<|>]yyyy"), i.Birth.Baptism.Date.ToString("[|~|<|>]yyyy")"/>


but it doesn't work !

Thanks for your help Ron.

Phil
Post #22738 Posted 9/27/2008 1:00:32 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Customers
Last Login: 10/31/2008 5:44:58 PM
GenoPro Version: 2.0.0.1
Posts: 2, Visits: 10
I am really a novice at all of this.  Here's what I need to do.  I need to add 2 custom tags to a genogram. The custom tag Tab is Health History; the custom tags are Illness 1 and Illness 2.

I have downloaded and unzipped the XML Toolkit and have placed the 3 extracted files in the Skin folder.  The form displays perfectly when I click on Generate.   The 'instruction' at the birth-death and marriage-divorce drop downs indicated that I should refer to the dictionary.  When I open the dictionary, it looks like I have to add some html [with which I am only remotely familiar!].

Can someone help me get these 2 custom tags to appear on my genogram or on a printed copy of it?

Jim

Post #22739 Posted 9/27/2008 2:27:29 PM
Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master This user is an important contributor to the GenoPro community This user is a contributor to FamilyTrees.GenoPro.com 

Group: Customers
Last Login: Today @ 6:10:29 AM
GenoPro Version: 2.0.1.6
Posts: 980, Visits: 9,340
Have you looked at the Help file, particularly
http://www.genopro.com/help/custom-tags/

You can create custom tags directly and use the Display menu to choose which tags to show. The XML Tool kit is there to provide extra features but these are mainly to extend the information found related to baptism or marriage and also data created in gedcom files. You could use it to create a Tag with a specific name but the Tag Editor is your best bet
Post #22742 Posted 9/27/2008 5:46:06 PM


Grand Master

Grand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand Master This user is a contributor to FamilyTrees.GenoPro.com This user is an important contributor to the GenoPro community 

Group: Customers
Last Login: Today @ 8:46:16 AM
GenoPro Version: 2.0.1.6
Posts: 1,347, Visits: 6,680
You are almost there Jim.

Edit the Dictionary.xml file in the custom skin folder you have created, add these lines after IndividualCustomTag8

 <IndividualCustomTag9 C1="Illness 1"
    T="{0}"
    P="i.Illness1"/>

 <IndividualCustomTag10 C1="Illness 2"
    T="{0}"
    P="i.Illness2"/>

I am assuming your Custom Tag names are Illness1 & Illness2

Now when you use Generate Report, you should see Illness 1 & Illness 2 in the drop down list. You can select Illness 1 for the 1st line and Illness 2 for the 2nd line, or any other combination of fields you require. Then click OK to generate the modified .xml file.

Then open the generated .xml file with GenoPro and use the Display / All Custom Tags Menu item to set the top display for each individual to the DisplayTopLabel Custom Tag. And there you have it.

Note that you will need to run the XML Toolkit each time you want an updated genogram as the generated DisplayTopLabel custom tag will not be updated by GenoPro.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Post #22744 Posted 9/28/2008 10:53:57 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Customers
Last Login: 10/31/2008 5:44:58 PM
GenoPro Version: 2.0.0.1
Posts: 2, Visits: 10
Whoo Hooo!  Thanks, Ron.  It worked!  My project will be complete and without 'explanations' or handwritten illnesses because of this.  I truly appreciate the time you gave to me!

Jim

Post #23066 Posted 11/16/2008 7:27:51 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 11/17/2008 1:08:11 PM
GenoPro Version: 2.0.1.6
Posts: 2, Visits: 8
Why can't I download attachments?
Post #23827 Posted 3/24/2009 4:30:54 PM


Grand Master

Grand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand Master This user is a contributor to FamilyTrees.GenoPro.com This user is an important contributor to the GenoPro community 

Group: Customers
Last Login: Today @ 8:46:16 AM
GenoPro Version: 2.0.1.6
Posts: 1,347, Visits: 6,680
Report Skin attached to 1st post has been updated with option to translate name case. This has only had limited testing and so if used please check results carefully and save you previous files! It will convert UPPER CASE names to Initial Captials or convert all names to upper case. N.B. does not currently handle Italian names with Di prefix correctly e.g. DiMarco, DiCaprio etc.

Also added date and place of marriage ooption for family text, and finally ensured dialogue window is brought to front.

And to the last poster in this thread - if you haven't found out already - it appears that you must be logged into the forum before you can download attachments (with IE, right click, Save Target As). If not the forum just dumps you on another page with no word of explanation.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Post #24388 Posted 7/28/2009 6:21:52 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 7/28/2009 6:23:23 PM
GenoPro Version: 2.0.1.6
Posts: 1, Visits: 3
Hello Ron.

I can't seem to download the attachment. When I click the link it opens a new tab with the main support forum page. I have tried itmany times and I also have tried right clicking and Selecting save file as... but it wants to save an html file not the zip file. Any suggestion?
- lowell
Post #24397 Posted 7/30/2009 6:47:31 PM


Grand Master

Grand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand Master This user is a contributor to FamilyTrees.GenoPro.com This user is an important contributor to the GenoPro community 

Group: Customers
Last Login: Today @ 8:46:16 AM
GenoPro Version: 2.0.1.6
Posts: 1,347, Visits: 6,680
I believe you must be logged in to the forum before you can download attachements. It's a pity the forum software doesn't give a more explicit error in such cases. If you were logged in when you tried to download then that's a mystery to me!


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
« Prev Topic | Next Topic »

««12

Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: GenoProSupport, JcMorin, Ron

Permissions Expand / Collapse

All times are GMT -5:00, Time now is 10:32 AM

Copyright 1998-2009 GenoPro. All rights reserved. GenoPro and the GenoPro logo are trademarks.