Couldn't find anything in a search and I'm trying to eradicate a few persistent errors. PGV puts EMAIL in the GEDCOM record if you add an email address. The 5.5.1 standard seems to specify EMAI. PGV doesn't recognize EMAI but Webtrees does, however both will flag it as an error in gedcheck although it may be my usage.
The 5.5.1 standard seems to put EMAI subordinate to RESI in one place, and not in another. The former doesn't make much sense.
What's the right thing to do? I know it's not an important error at all, but there has to be a solution that validates. At the moment I am using 1 EMAI or 1 EMAIL lines.
I really thought there was a discussion about this a few years ago. I'm having the same problem with WWW, where I have a WWW link for a source 1 TITL followed by 2 WWW).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There are practical considerations regarding these types of information that the GEDCOM standard does not address.
There's no specific UI in PGV for either of these. For web addresses in sources, my practice is to put them in the Citation Details if there's a distinct URL for individual citations of a source, otherwise put them with Publication Information. Sometimes both.
I wouldn't want to include emails for any living people, and they're not much use with dead folks. If there was something remarkable about a deceased person's email I might include it as part of a note or on an external wiki page if the person has one. Generally people should be more careful about information published on the web. Anything not protected by SSL (https), including login credentials, is sent in plain text and is trivially easy for anonymous strangers to intercept over wifi, besides other risks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Go to an INDI and hit Edit. Toward the bottom is a field for email. Alternatively, both PGV and WT have it listed in the dropdown "Add item" menu. Both use the 1 EMAIL tag, and then fail it at gedcheck.
What did you mean by "There's no specific UI in PGV for either of these"?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I stand corrected, there is specific code for the EMAIL tag (and some for _EMAIL) in includes/config_data.php. In addition, the tag EMAL is in /includes/classes/class_event.php. I did not find EMAI mentioned.
I was surprised to find these lists of tags in the PHP code - I expected them to be in tables.
Having waded in over my head on this once, I won't comment more except to mention that in your situation I would delete email-related tags from the GEDCOM before importing.
George
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The other thing about e-mail addresses is that they DO change. They're really not a lot of use, since people don't always notify everybody when they change e-mail addresses.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sure. But my question is really just about format that will validate. The same issue applies to WWW links for a source. Really, I'm just looking for a best practice in this whole address/phone/email thing in the hopes that it is actually valid 5.5.1.
Looking through gedcheck.php, I think the problem is that it does not look for the right thing (whatever that is). My rudimentary reading indicates that EMAIL (not EMAI) is only looked for in an ADDR record, whereas it seems to be technically valid in the 1-level context. WWW isn't looked for at all. IOW, gedcheck is either wrong or at the very least out of date. The relevant parts of the file haven't been changed in WT yet and it behaves the same way there.
I added new phone, email and address to my own record, using the UI. All were added as 1-level, and all were flagged as errors by gedcheck. It could be that PGV is right, but I'm pretty sure than in any case gedcheck is wrong.
I looked online for a gedchecker but the two links I found were 404.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Couldn't find anything in a search and I'm trying to eradicate a few persistent errors. PGV puts EMAIL in the GEDCOM record if you add an email address. The 5.5.1 standard seems to specify EMAI. PGV doesn't recognize EMAI but Webtrees does, however both will flag it as an error in gedcheck although it may be my usage.
The 5.5.1 standard seems to put EMAI subordinate to RESI in one place, and not in another. The former doesn't make much sense.
What's the right thing to do? I know it's not an important error at all, but there has to be a solution that validates. At the moment I am using 1 EMAI or 1 EMAIL lines.
I really thought there was a discussion about this a few years ago. I'm having the same problem with WWW, where I have a WWW link for a source 1 TITL followed by 2 WWW).
There are practical considerations regarding these types of information that the GEDCOM standard does not address.
There's no specific UI in PGV for either of these. For web addresses in sources, my practice is to put them in the Citation Details if there's a distinct URL for individual citations of a source, otherwise put them with Publication Information. Sometimes both.
I wouldn't want to include emails for any living people, and they're not much use with dead folks. If there was something remarkable about a deceased person's email I might include it as part of a note or on an external wiki page if the person has one. Generally people should be more careful about information published on the web. Anything not protected by SSL (https), including login credentials, is sent in plain text and is trivially easy for anonymous strangers to intercept over wifi, besides other risks.
Go to an INDI and hit Edit. Toward the bottom is a field for email. Alternatively, both PGV and WT have it listed in the dropdown "Add item" menu. Both use the 1 EMAIL tag, and then fail it at gedcheck.
What did you mean by "There's no specific UI in PGV for either of these"?
Hi Anton,
I stand corrected, there is specific code for the EMAIL tag (and some for _EMAIL) in includes/config_data.php. In addition, the tag EMAL is in /includes/classes/class_event.php. I did not find EMAI mentioned.
I was surprised to find these lists of tags in the PHP code - I expected them to be in tables.
Having waded in over my head on this once, I won't comment more except to mention that in your situation I would delete email-related tags from the GEDCOM before importing.
George
The other thing about e-mail addresses is that they DO change. They're really not a lot of use, since people don't always notify everybody when they change e-mail addresses.
Sure. But my question is really just about format that will validate. The same issue applies to WWW links for a source. Really, I'm just looking for a best practice in this whole address/phone/email thing in the hopes that it is actually valid 5.5.1.
Looking through gedcheck.php, I think the problem is that it does not look for the right thing (whatever that is). My rudimentary reading indicates that EMAIL (not EMAI) is only looked for in an ADDR record, whereas it seems to be technically valid in the 1-level context. WWW isn't looked for at all. IOW, gedcheck is either wrong or at the very least out of date. The relevant parts of the file haven't been changed in WT yet and it behaves the same way there.
I added new phone, email and address to my own record, using the UI. All were added as 1-level, and all were flagged as errors by gedcheck. It could be that PGV is right, but I'm pretty sure than in any case gedcheck is wrong.
I looked online for a gedchecker but the two links I found were 404.