Skip to content

Commit

Permalink
Add tech faq discussion about source URLs
Browse files Browse the repository at this point in the history
Fixes FamilySearch#174

Signed-off-by: Dave Thaler <[email protected]>
  • Loading branch information
dthaler2 committed May 30, 2024
1 parent c31bc9e commit da067fb
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions _pages/techfaqs.md
Original file line number Diff line number Diff line change
Expand Up @@ -334,3 +334,51 @@ unknown parties.
Relative paths, however, are permitted in both GEDCOM and GEDZIP files and so may be more convenient to
use in both cases. Any tool that converts FamilySearch GEDCOM 7.0 to GEDZIP should convert local file URLs
to relative paths within the resulting GEDZIP file.

# How do I record the URL of a source?

While `EVENT_DETAIL` and `REPOSITORY_RECORD` both allow a URL to be placed in a `WWW` substructure,
`SOURCE_CITATION`, `SOURCE_RECORD`, and `SOURCE_REPOSITORY_CITATION` do not.

Some applications might put the source URL for an `EVENT_DETAIL` in a `WWW` substructure
in parallel to a `SOURCE_CITATION` as follows:

```
1 DEAT
2 DATE 14 DEC 1799
2 WWW https://www.findagrave.com/memorial/1075
2 SOUR @S1@
3 PAGE Memorial: 1075
```

However, since there can be multiple source citations per event, this does not allow associating the URL
with a specific source citation. Instead, the URL can be placed in the `PAGE` structure with the "URL:"
label, along with any other label: value pairs, as follows:

```
1 DEAT
2 DATE 14 DEC 1799
2 SOUR @FindAGraveSourceRecord@
3 PAGE Memorial: 1075, URL: https://www.findagrave.com/memorial/1075
```

Similarly, some applications might put the source URL for a `SOURCE_RECORD` in a `PUBL` substructure
as follows:

```
0 @S1@ SOUR
1 TITL Grave of George Washington
1 PUBL https://www.findagrave.com/memorial/1075
```

while others might put it in the `CALN` of a `SOURCE_REPOSITORY_CITATION` as follows:

```
0 @S1@ SOUR
1 TITL Grave of George Washington
1 REPO @FindAGraveRepositoryRecord@
2 CALN https://www.findagrave.com/memorial/1075
```

Note that unlike the `PAGE` structure, the `CALN` structure has no current recommendation about using
label: value pairs.

0 comments on commit da067fb

Please sign in to comment.