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

GenoPro Support Forum




HTML report displays pets as unknown gender

Click to view RSS...
Author
Posted Friday, September 1, 2006 - Post #12783
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Monday, June 2, 2025
Posts: 4,886, Visits: 22,796
For further details, you are welcome to read Upgrade of the phrase generator.
Posted Saturday, July 29, 2006 - Post #12121
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 @ 8:38 PM
Posts: 3,429, Visits: 26,549
Ok, say for example you have two custom tags for 'individuals' called PetBreed & PetGender.

1st generate a custom skin by clicking the 'New Skin' button. This will create a folder named Customized English Narrative Report. Then for example edit the file individual.htm in this folder to add the following line before line 63.

Report.WritePhrase "[{?0} {1} is a[ {2}][ {3}]. ]", (i.gender.id = "P"), i.name.short, i.PetBreed, i.PetGender
 

Then if the 'individual' is a pet, say a collie (PetBreed) bitch (PetGender) named Sue, this line will print 'Sue is a Collie bitch' on the report, in addition to the usual narrative. You can read about the GenoPro New Report Generator and more on the GenoPro Report Phrase Generator

I will look into better reporting of pets for a future release, e.g. not reporting parents & grandparents.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Friday, July 28, 2006 - Post #12109
Forum Writer

Forum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum Writer

Forum Members
GenoPro version: FTPClient1

Last Login: Monday, April 5, 2021
Posts: 72, Visits: 611
Seriously, I don't know how!!
Posted Thursday, July 27, 2006 - Post #12087
Forum Writer

Forum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum Writer

Forum Members
GenoPro version: FTPClient1

Last Login: Monday, April 5, 2021
Posts: 72, Visits: 611
How do I add the code?
Posted Saturday, July 15, 2006 - Post #11924
Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master

Gamma
Moderators
Administrators
FamilyTrees.GenoPro.com
Customers
GenoPro version: 3.1.0.1

Last Login: Monday, May 12, 2025
Posts: 952, Visits: 10,077
King Semsem (7/14/2006)
Yes, I see your point, but I don't think the tags appear in the reports. Am I wrong? If so, could GenoPro allow them to?

You are welcome to include custom tags to your report. This feature is not documented, however you may use the following code to display all the custom tags for each individuals.

For Each ind In Individuals
   Report.WriteTextBr ind.CUSTOM_TAG
Next


Edited: Saturday, July 15, 2006 by GenoProSupport
Posted Friday, July 14, 2006 - Post #11921
Forum Writer

Forum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum Writer

Forum Members
GenoPro version: FTPClient1

Last Login: Monday, April 5, 2021
Posts: 72, Visits: 611
Yes, I see your point, but I don't think the tags appear in the reports. Am I wrong? If so, could GenoPro alow them to?
Posted Friday, July 14, 2006 - Post #11919
Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master

Gamma
Moderators
Administrators
FamilyTrees.GenoPro.com
Customers
GenoPro version: 3.1.0.1

Last Login: Monday, May 12, 2025
Posts: 952, Visits: 10,077
GenoPro is not a software for pets but rather for individual, yes they do have gender, they probably also have different properties (race, vaccinated...), Pets were introduce to documents the fact that an individual is living with a pet for instance.

If you have extra information about the pet, you can use custom tags or wrote them in the comments section.

For many user the pet's gender is irrelevant.

Posted Friday, July 14, 2006 - Post #11917
Forum Writer

Forum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum Writer

Forum Members
GenoPro version: FTPClient1

Last Login: Monday, April 5, 2021
Posts: 72, Visits: 611
The pets should be allowed male and female as much as humans. Plus, one thing I find a bit on the odd side is that pets have an education, baptism, occupation, and a contact. Really, when do pets have these?

I think the Pet properties should be redesigned, to omit these things, and to add male, female, and unknown genders. Pets have genders too!!!Angry

Posted Saturday, December 3, 2005 - Post #9484
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Monday, June 2, 2025
Posts: 4,886, Visits: 22,796
The pet has not been included because the code is already to complicated to create narrative phrases.  After releasing v2.0, I will upgrade the phrase generator to be smarter for creating sentenses.  The upgrade will use the ObjectRepertory to construct narrative phrases.  Using this new technology, it will be easier to create long descriptive narrative phrases.

By the way, if you want to exclude a pet from the report, click on the "Make Label / Exclude From Report" in the Report tab.

Edited: Sunday, March 5, 2006 by GenoProSupport

Posted Saturday, December 3, 2005 - Post #9477
Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master

Gamma
Moderators
Administrators
FamilyTrees.GenoPro.com
Customers
GenoPro version: 3.1.0.1

Last Login: Monday, May 12, 2025
Posts: 952, Visits: 10,077
Actually your right, the pet is handle but not in the list of individuals.

<Gender _Blank="(Gender unknown)">
<M T="Male"/>
<F T="Female"/>
<P T="Pet" />
</Gender>

 From Dictionnary.xml

<!--
Collection summary by male, females and unknown gender, followed by the names in HTML format.
Example: "a brother and two sisters, named Benoit, Anne and Estelle"
0=males, 1=females, 2=unknown gender, 3=names in html format, missing something for pet here probably.
-
>

<PhCollectionMFU T="{0}[[{?0} and ]{1}][[{?0|1}, and also ]{2}][[{?0^1},] named {3h}]" />



Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse
Active: 3 - 1 guest, 1 member, 0 anonymous.
Refresh