Web based family history software

Question Link input to external website!

  • HornSpacer
  • Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 7 months ago #1 by HornSpacer
Link input to external website! was created by HornSpacer
I used the current version 2.0.0-alpha.4.

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.

More
3 years 7 months ago #2 by fisharebest
Replied by fisharebest on topic Link input to external website!
> I used the current version 2.0.0-alpha.4.

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.

More
3 years 7 months ago #3 by georg
Replied by georg on topic Link input to external website!
Personally, I always use multimedia objects for this. webtrees 2 give a warning that this is not standard GEDCOM, but this is ill-founded. GEDCOM 5.5.1 explicitly allow referencing remote files, and nobody has proposed an alternative naming scheme to URL. This approach treats the external document like any other document that I might have locally, and can be linked to most entries and subentries without further comment.

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.

More
3 years 7 months ago - 3 years 7 months ago #4 by Klugesherz
Replied by Klugesherz on topic Link input to external website!
Hi all,
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
Attachments:
Last edit: 3 years 7 months ago by Klugesherz.

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

More
3 years 7 months ago #5 by Klugesherz
Replied by Klugesherz on topic Link input to external website!
Better.. Markdown in TEXT would be graceful .

WebTrees 2.1.x---> My famility tree
PHP 8.0

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

More
3 years 7 months ago - 3 years 7 months ago #6 by Klugesherz
Replied by Klugesherz on topic Link input to external website!
Does anybody agree with this approach ?
--> 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
Last edit: 3 years 7 months ago by Klugesherz.

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

More
3 years 7 months ago #7 by Sir Peter
Replied by Sir Peter on topic Link input to external website!
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.

You can add commas in the address field to increasy readability.

Peter

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

More
3 years 7 months ago #8 by Klugesherz
Replied by Klugesherz on topic Link input to external website!
Not really the answer I expected :-(
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.

More
3 years 7 months ago #9 by rsbarreiro
Replied by rsbarreiro on topic Link input to external website!

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
  • Platinum Member
More
3 years 7 months ago - 3 years 7 months ago #10 by norwegian_sardines
Replied by norwegian_sardines on topic Link input to external website!
rsbarreiro,

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
Last edit: 3 years 7 months ago by norwegian_sardines.

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

More
3 years 7 months ago #11 by rsbarreiro
Replied by rsbarreiro on topic Link input to external website!

norwegian_sardines wrote: The ADDR and CONT lines are required for any address.

required? I looked in my address records and none of them has a CONT tag ...
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.

More
3 years 7 months ago - 3 years 7 months ago #12 by Klugesherz
Replied by Klugesherz on topic Link input to external website!
Sorry I didn't catch.
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
Attachments:
Last edit: 3 years 7 months ago by Klugesherz.

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

More
3 years 7 months ago #13 by Sir Peter
Replied by Sir Peter on topic Link input to external website!
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

Peter

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

More
3 years 7 months ago #14 by rsbarreiro
Replied by rsbarreiro on topic Link input to external website!

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.

More
3 years 7 months ago #15 by rsbarreiro
Replied by rsbarreiro on topic Link input to external website!
see this example: I registered an address and put a font with text in it.
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
Attachments:

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

  • norwegian_sardines
  • Offline
  • Platinum Member
  • Platinum Member
More
3 years 7 months ago - 3 years 7 months ago #16 by norwegian_sardines
Replied by norwegian_sardines on topic Link input to external website!
rsbarreiro,

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
Last edit: 3 years 7 months ago by norwegian_sardines.

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

More
3 years 7 months ago #17 by Klugesherz
Replied by Klugesherz on topic Link input to external website!
Based on the GEDCOM construction for both TEXT and ADDR based on CONT, I guess too, that we are dealing here about a BUG.
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.

More
3 years 7 months ago #18 by Sir Peter
Replied by Sir Peter on topic Link input to external website!
From the the GEDCOM 5.5.1 specifications:
  • 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
  • Platinum Member
  • Greetings from Utrecht, Holland
More
3 years 6 months ago #19 by bertkoor
Replied by bertkoor on topic Link input to external website!
It bothers me also that webtrees does not differentiate between CONT and CONC for addresses. But not bothered enough to report the bug.

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.

More
3 years 6 months ago #20 by Klugesherz
Replied by Klugesherz on topic Link input to external website!
Issue highlighted in : #3495 : Missing Carriage Return in ADDR

WebTrees 2.1.x---> My famility tree
PHP 8.0

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

Powered by Kunena Forum
}