Export - JPG
Posted 07 September 2007 - 06:44 PM
Q1 - where does the VCF person ID# come from
Q2 - could this ID be made the same as person number in TMG?
Q3 - could a custom string be added including leading zeros on the ID number?
Posted 07 September 2007 - 09:28 PM
It is some time since played with the HTML map file, so my memory may be incorrect. (I post-processed this file to create an index to a printed chart - just like you have for a street directory.)
I think that you can get the TMG ID# included if you ask fpr the TMG name output to to include that number, but not the leading zeros. It will be difficult to get VCF to add other custom information placed into the HTML map.
However, it is possible to post-process the file if you can define the rules for that augmentation. You may need to create 2 charts (one for the real JPG output) and the other to create the HTML map file with your identifiers for extra content. Of course you need to do this so that the box layout remains identical for both runs - care and experimentation here. The HTML file is just a text file, so a macro any programmable text editor can make those changes (but don't try yo do that in a word-processor). In the UNIX/LINIX world you can use one of Python, Perl, Awk, Sed, etc to do this task. I used a Windows version of Awk to do my changes.
Open the HTML file in your browser and take a look at the Source and you will then see how each chart box is treated.
Posted 08 September 2007 - 08:08 AM
For Q3, only Wholly Genes can answer, but I suspect you'll have to post-process the HTML map file. That's what Second Site does.
If it's not feasible for you to convert the internal number to the TMG ID#, you could use Second Site to do it for you, and then edit the HTML produced by Second Site. Create a one-person per page site in SS with Static Page Assignments turned on. Import the chart by adding a VCF Chart User Item. Make the site. In the MAP for the chart page that SS makes, the links for each person will be to "pN.htm" where N is the TMG ID#.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users