- Posts: 1
Question Link input to external website!
- HornSpacer
- Topic Author
- Offline
- New Member
Is it possible to enter a link to an external website? For example, a link to a descriptive Wikipedia page. I was only able to do this in the Address field of an event if I entered the HTML code. Is this an error or a feature?
I would find a principle input for an external weblink (and the corresponding description) useful.
[size=8pt]ทีเด็ดบอลชุด[/size]
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
That is quite old. You ought to upgrade to the latest stable release. Currently 2.0.7
> Is it possible to enter a link to an external website?
Yes. You can add URLs to notes (and source-citations), and they are converted to links.
You can also enable markdown formatting for notes, which will let you change the link text.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- georg
- Offline
- New Member
- Posts: 50
Writing the link directly in a note works, as fisharebest says, but I like to avoid it because it ruins the flow of reading and can be tricky for other processors to parse. YMMV.
Markdown is a suggestion which I have not looked into. I was not aware until recently that webtrees would handle it. That has, of course, the advantage that you can write prose and cross-reference (hyperlink), and both protect the flow of reading and link the external site with the relevant point in your text. There is a warning, I think, that few software packages reading GEDCOM will support markdown. The standard does not support it, but may be vague enough to allow it
Please Log in or Create an account to join the conversation.
- Klugesherz
- Offline
- Junior Member
- Posts: 228
Do you know if it is scheduled to improve REPO too ?
* Add markdown in : url
* Carriage Return for the location : <br> has no effect
Thank you.
WebTrees 2.1.x---> My famility tree
PHP 8.0
Please Log in or Create an account to join the conversation.
- Klugesherz
- Offline
- Junior Member
- Posts: 228
WebTrees 2.1.x---> My famility tree
PHP 8.0
Please Log in or Create an account to join the conversation.
- Klugesherz
- Offline
- Junior Member
- Posts: 228
--> To have markdown in
* Text
* Repo
* ..
Or is it a limitation because GEDCOM is forbidding markdown ?
It is scheduled in a new webtrees release ?
Thx
WebTrees 2.1.x---> My famility tree
PHP 8.0
Please Log in or Create an account to join the conversation.
- Sir Peter
- Offline
- Senior Member
- Posts: 487
You can add commas in the address field to increasy readability.
Peter
Please Log in or Create an account to join the conversation.
- Klugesherz
- Offline
- Junior Member
- Posts: 228
but understood, I have to live with that
Thx for your quick answer.
WebTrees 2.1.x---> My famility tree
PHP 8.0
Please Log in or Create an account to join the conversation.
- rsbarreiro
- Offline
- Junior Member
Sir Peter wrote: GEDCOM standard wasn't made for markdown. Consider it a bonus that webtrees can deal with markdown in notes which you can add almost everywhere.
In the text field of the source record, the line break is recorded in GEDCOM as "2 CONT", couldn't there be something similar in the address textarea? if the address is "2 ADDR" the line break would be "3 CONT"... wouldn't that be valid in GEDCOM?
* translated by Google
Please Log in or Create an account to join the conversation.
- norwegian_sardines
- Offline
- Platinum Member
- Posts: 2993
The Address_structure allows for a maximum of three CONT tags following the ADDR tag. The standard says:
The address structure should be formed as it would appear on a mailing label using the ADDR and the CONT lines to form the address structure. The ADDR and CONT lines are required for any address.
Ken
Please Log in or Create an account to join the conversation.
- rsbarreiro
- Offline
- Junior Member
required? I looked in my address records and none of them has a CONT tag ...norwegian_sardines wrote: The ADDR and CONT lines are required for any address.
Anyway, I found that if I actually wrap the line, webtrees creates the CONT tag. But when it comes to presenting the information on the screen, he does not apply a line break as he does with other places where CONT exists ...
* translated by Google
Please Log in or Create an account to join the conversation.
- Klugesherz
- Offline
- Junior Member
- Posts: 228
Following the ADDR tags , there are CONT Tags, however, there are no line feeds in the display.
This was the initial quest.
Same as highlighted by sbarreiro
WebTrees 2.1.x---> My famility tree
PHP 8.0
Please Log in or Create an account to join the conversation.
- Sir Peter
- Offline
- Senior Member
- Posts: 487
1 ADDR 31 Brigade Drive,
2 CONT Eagleby,
2 CONT Queensland,
2 CONT Australia
displays
31 Brigade Drive, Eagleby, Queensland, Australia
Peter
Please Log in or Create an account to join the conversation.
- rsbarreiro
- Offline
- Junior Member
Sir Peter wrote: CONT does not result in a line break. Instead it does exactly the opposite. Example:
1 ADDR 31 Brigade Drive,
2 CONT Eagleby,
2 CONT Queensland,
2 CONT Australia
displays
31 Brigade Drive, Eagleby, Queensland, Australia
in the address the line break in the register is converted into a CONT tag but in the display everything is combined.
in other parts, as in the source citation, the line break in the text is also converted into a CONT tag, but there, the display is done with a line break for each CONT ...
* translated by Google
Please Log in or Create an account to join the conversation.
- rsbarreiro
- Offline
- Junior Member
note that both in the address and in the source text I just broke the line [fig1].
in GEDCOM both texts were tagged with CONT [fig2]
but in the presentation, only the source text had a line break [fig3] ...
* translated by Google
Please Log in or Create an account to join the conversation.
- norwegian_sardines
- Offline
- Platinum Member
- Posts: 2993
I guess this would be a bug in the display of an address. I dont use this construct so had never noticed.
They should be displayed as three separate lines when three separate CONT tags are generated. The CONT tags are generated correctly and kept just not displayed correctly. Yes CONT is the preferred use in the ADDR structure so conform to internationalization standards.
webtrees allows for more than 3 CONT line which would be wrong, but I don't think the current code differentiates from CONTs created by ADDR vs everywhere else.
Ken
Please Log in or Create an account to join the conversation.
- Klugesherz
- Offline
- Junior Member
- Posts: 228
If still not done, I'm willing to create a new issue in Github
Let me know.
WebTrees 2.1.x---> My famility tree
PHP 8.0
Please Log in or Create an account to join the conversation.
- Sir Peter
- Offline
- Senior Member
- Posts: 487
- Grammar Rules: Long values can be broken into shorter GEDCOM lines by using a subordinate CONC or CONT tag. The CONC tag assumes that the accompanying subordinate value is concatenated to the previous line value without saving the carriage return prior to the line terminator. If a concatenated line is broken at a space, then the space must be carried over to the next line. The CONT assumes that the subordinate line value is concatenated to the previous line, after inserting a carriage return. (page 10)
- The total length of a GEDCOM line, including level number, cross-reference number, tag, value, delimiters, and terminator, must not exceed 255 (wide) characters. (page 11)
- CONT line implies that a new line should appear to preserve formatting. CONC implies concatenation to the previous line without a new line. This is used so that a text note or description can be processed (word wrapped) in a text window without fixed carriage returns. (page 41)
Peter
Please Log in or Create an account to join the conversation.
- bertkoor
- Offline
- Platinum Member
- Greetings from Utrecht, Holland
It crept in around v1.5 or 1.6 iirc. For notes though it does make some sense.
stamboom.BertKoor.nl runs on webtrees v1.7.13
Please Log in or Create an account to join the conversation.
- Klugesherz
- Offline
- Junior Member
- Posts: 228
WebTrees 2.1.x---> My famility tree
PHP 8.0
Please Log in or Create an account to join the conversation.