Before asking for help please read "How to request help" by clicking on that tab above here.
  • Page:
  • 1

TOPIC: Use of "@" sign

Use of "@" sign 2 weeks 3 days ago #1

  • hermann
  • hermann's Avatar Topic Author
  • Offline
  • Junior
  • Junior
  • Posts: 114
I'm using the "@" in all of my email-addresses (tag EMAIL) and in some of my notes. Following the GEDCOM standard, the "@" has to be duplicated when exporting such records e.g. like
2 EMAIL hermann@@hartenthaler.de
webtrees does not follow the standard at that point. Up to now I never got a problem with that; all importing programs, I used, can read tag EMAIL with only one "@" sign. Several GEDCOM validator programs generate an error message, if there is one @ instead of @@.

Was this ever discussed here and what was the decision?
webtrees 2.0.4 ahnen.hartenthaler.eu/
and webtrees 1.7.17 (many additional modules) ahnen1.hartenthaler.eu/

Please Log in or Create an account to join the conversation.

Use of "@" sign 2 weeks 3 days ago #2

  • fisharebest
  • fisharebest's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 12929
You are correct. webtrees *should* double the '@'.

I do not do it because I try to keep the export as fast and simple as possible - so that it will run on low powered servers.

The logic is complicated. For example, in this line, we must only double the 3rd @ sign.
The first two must not be doubled.

2 DATE @#DJULIAN@ 1234 (INT using data from This email address is being protected from spambots. You need JavaScript enabled to view it.)


Also, there is the difference between a inline note/source and a link to a record.
For example:

1 NOTE @X123@ (this is a link to record X123)
1 NOTE @@X123@@ (this is the text @X123@)

(webtrees cannot handle inline records that look like links. It will always assume they are links...)


But most importantly, it is harmless if you do not double them.

I do not know of any program that will have problems importing a file with single @ signs.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Use of "@" sign 2 weeks 3 days ago #3

  • hermann
  • hermann's Avatar Topic Author
  • Offline
  • Junior
  • Junior
  • Posts: 114
Thank you for the explanation. This makes sense.
webtrees 2.0.4 ahnen.hartenthaler.eu/
and webtrees 1.7.17 (many additional modules) ahnen1.hartenthaler.eu/

Please Log in or Create an account to join the conversation.

[SOLVED] Use of "@" sign 2 weeks 3 days ago #4

  • hermann
  • hermann's Avatar Topic Author
  • Offline
  • Junior
  • Junior
  • Posts: 114
Problem solved.
webtrees 2.0.4 ahnen.hartenthaler.eu/
and webtrees 1.7.17 (many additional modules) ahnen1.hartenthaler.eu/

Please Log in or Create an account to join the conversation.

Use of "@" sign 1 week 3 days ago #5

  • hermann
  • hermann's Avatar Topic Author
  • Offline
  • Junior
  • Junior
  • Posts: 114
btw: webtrees can handle inline records!
0 @N1@ NOTE Blubber

1 NOTE see @N1@
webtrees presents a link to N1

1 NOTE content of N1 is: @@N1@
webtrees presents: "content of N1 is: Blubber"

As fas as I have just learned, both is not complient with the GEDCOM standard 5.5.1, but inside webtrees it is working. Nice.
webtrees 2.0.4 ahnen.hartenthaler.eu/
and webtrees 1.7.17 (many additional modules) ahnen1.hartenthaler.eu/

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum