Hi Stephen I suggest you log a bug report at:
https://rt.cpan.org/Public/Dist/Display.html?Name=Gedcom Although don't hold your breath :-(. On 24/12/12 09:32, Stephen Woodbridge wrote:
Hi all, I want to automate adding photos to my gedcom file. I created a trivial file in PAF 5.2.18.0 and added a photo and got the following file: 0 HEAD 1 SOUR PAF 2 NAME Personal Ancestral File 2 VERS 5.2.18.0 2 CORP The Church of Jesus Christ of Latter-day Saints 3 ADDR 50 East North Temple Street 4 CONT Salt Lake City, UT 84150 4 CONT USA 1 DEST PAF 1 DATE 23 Dec 2012 2 TIME 17:12:31 1 FILE test.ged 1 GEDC 2 VERS 5.5 2 FORM LINEAGE-LINKED 1 CHAR UTF-8 1 LANG English 1 SUBM @SUB1@ 0 @SUB1@ SUBM 1 NAME Stephen Woodbridge 0 @I1@ INDI 1 NAME Stephen /Woodbridge/ 2 SURN Woodbridge 2 GIVN Stephen 1 SEX M 1 _UID 51190DB94CBF254F8654B3F06C2E42343CF0 1 CHAN 2 DATE 23 Dec 2012 3 TIME 17:11:18 1 OBJE 2 FORM jpg 2 FILE Misc photos\Steve-large.jpg 2 TITL This is a caption. 2 NOTE Bla bla bla. 2 _SCBK Y 2 _PRIM Y 2 _TYPE PHOTO 2 _SSHOW Y 0 TRLR I tried to create the same in Gedcom.pm but I get these warnings: FORM is not a sub-item of OBJE FILE is not a sub-item of OBJE TITL is not a sub-item of OBJE *:0: FILE is not a sub-item of OBJE *:0: TITL is not a sub-item of OBJE *:0: FORM is not a sub-item of OBJE The output file appears to be created as requested, but I'm not sure why I'm getting these warnings. I also noticed that PAF adds a lot of _TAG items to the file. Is this part of the standard for application specific tags? Thanks, -Steve
-- Ron Savage http://savage.net.au/ Ph: 0421 920 622