💾 Archived View for gemi.dev › gemini-mailing-list › 001097.gmi captured on 2024-08-31 at 19:36:32. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-12-28)

-=-=-=-=-=-=-

Refering to links?

1. Xavier B. (somenxavier (a) posteo.net)

Hi,

First of all, introduce myself. I'm a new gemini user. I like very much 
the philosophy behind this.

I have a question about gemini text syntax. Is there any way to refering 
to link within the text? Some canonical or 

Eg. something like this:

This is my resume [1] and my work [2]

=> gemini://.... My Resumé
=> gemini://.... My work

If then I insert a link betweem "My Resumé" and "My Work", the numbers 
refering would be wrong.

So, is there any way to identify links within the text? Something like <a 
href="..." id="">.... in HTML?


Thanks in advance,
Xavier

Link to individual message.

2. Botond BALÁZS (me (a) botond.online)

On Thu, 2021-12-23 at 11:29 +0000, Xavier B. wrote:
> I have a question about gemini text syntax. Is there any way to
> refering to link within the text? Some canonical or 
> 
> Eg. something like this:
> 
> This is my resume [1] and my work [2]
> 
> => gemini://.... My Resumé
> => gemini://.... My work
> 
> If then I insert a link betweem "My Resumé" and "My Work", the
> numbers refering would be wrong.

There is no standard way to do so, and this is by design (the current
line-based format is very easy to parse). Some people use [1], [2], ...
indexes like you, others use Unicode uppercase numbers (the latter is
semantically incorrect and therefore discouraged).

Link to individual message.

3. Xavier B. (somenxavier (a) posteo.net)

Mmm... I know the protocol is "simple by default". But I think something 
got trouble with impossibility to refering some element in text.

Thanks

On Thu, 23 Dec 2021 12:54:37 +0100
Botond BALÁZS <me@botond.online> ha escrit:

> On Thu, 2021-12-23 at 11:29 +0000, Xavier B. wrote:
> > I have a question about gemini text syntax. Is there any way to
> > refering to link within the text? Some canonical or 
> > 
> > Eg. something like this:
> > 
> > This is my resume [1] and my work [2]
> > 
> > => gemini://.... My Resumé
> > => gemini://.... My work
> > 
> > If then I insert a link betweem "My Resumé" and "My Work", the
> > numbers refering would be wrong.
> 
> There is no standard way to do so, and this is by design (the current
> line-based format is very easy to parse). Some people use [1], [2], ...
> indexes like you, others use Unicode uppercase numbers (the latter is
> semantically incorrect and therefore discouraged).

Link to individual message.

4. (colinkiama (a) gmail.com)

I do think that this would be worth adding in the future though. It’s not 
complex and clients can freely interpret these.

Any downsides?


> On 23 Dec 2021, at 12:25, Xavier B. <somenxavier@posteo.net> wrote:
> Mmm... I know the protocol is "simple by default". But I think something 
got trouble with impossibility to refering some element in text.

Link to individual message.

5. Philip Linde (linde.philip (a) gmail.com)

On Thu, 23 Dec 2021 12:58:48 +0000
colinkiama@gmail.com wrote:

> I do think that this would be worth adding in the future though. It’s 
not complex and clients can freely interpret these.
> 
> Any downsides?

Hi,
A syntax change is its own downside. Existing clients need to be
updated to support it. Existing content may need to be updated where
they use something that misidentifies as the new syntax.

Happy holidays!
Philip

Link to individual message.

6. Stephane Bortzmeyer (stephane (a) sources.org)

On Thu, Dec 23, 2021 at 12:58:48PM +0000,
 colinkiama@gmail.com <colinkiama@gmail.com> wrote 
 a message of 9 lines which said:

> I do think that this would be worth adding in the future
> though. It’s not complex and clients can freely interpret these.

Implement it and you'll see it is not so easy. Currently, gemtext can
be parsed mostly by using the first three characters of a line. There
is no inline markup. This makes parsing incredibly simple and
reliable.

Link to individual message.

7. Jonathan McHugh (indieterminacy (a) libre.brussels)

Hello Xavier,

FYI, I did start a thread concerning in body references previously
=> gemini://gemi.dev/gemini-mailing-list/messages/006684.gmi 2021-06-13 In 
Body URI references

Additionally, I made a suggestion with no takers:
=> gemini://gemi.dev/gemini-mailing-list/messages/007587.gmi 2021-11-11 In 
Body URI references from non Gemini content

Hopefully something there helps.

====================
Jonathan McHugh
indieterminacy@libre.brussels

December 23, 2021 12:30 PM, "Xavier B." <somenxavier@posteo.net> wrote:

> Hi,
> 
> First of all, introduce myself. I'm a new gemini user. I like very much 
the philosophy behind this.
> 
> I have a question about gemini text syntax. Is there any way to refering 
to link within the text?
> Some canonical or 
> 
> Eg. something like this:
> 
> This is my resume [1] and my work [2]
> 
> => gemini://.... My Resumé
> => gemini://.... My work
> 
> If then I insert a link betweem "My Resumé" and "My Work", the numbers 
refering would be wrong.
> 
> So, is there any way to identify links within the text? Something like 
<a href="..." id="">.... in
> HTML?
> 
> Thanks in advance,
> Xavier

Link to individual message.

8. Xavier B. (somenxavier (a) posteo.net)

Thanks for the references.

I feel that the majority of people say "forget!. We'll stay as we are" ;-)

No problem. I have to trust to reader's intelligence :-)

On Thu, 23 Dec 2021 21:59:10 +0000
"Jonathan McHugh" <indieterminacy@libre.brussels> ha escrit:

> Hello Xavier,
> 
> FYI, I did start a thread concerning in body references previously
> => gemini://gemi.dev/gemini-mailing-list/messages/006684.gmi 2021-06-13 
In Body URI references
> 
> Additionally, I made a suggestion with no takers:
> => gemini://gemi.dev/gemini-mailing-list/messages/007587.gmi 2021-11-11 
In Body URI references from non Gemini content
> 
> Hopefully something there helps.
> 
> ====================
> Jonathan McHugh
> indieterminacy@libre.brussels
> 
> December 23, 2021 12:30 PM, "Xavier B." <somenxavier@posteo.net> wrote:
> 
> > Hi,
> > 
> > First of all, introduce myself. I'm a new gemini user. I like very 
much the philosophy behind this.
> > 
> > I have a question about gemini text syntax. Is there any way to 
refering to link within the text?
> > Some canonical or 
> > 
> > Eg. something like this:
> > 
> > This is my resume [1] and my work [2]
> > 
> > => gemini://.... My Resumé
> > => gemini://.... My work
> > 
> > If then I insert a link betweem "My Resumé" and "My Work", the numbers 
refering would be wrong.
> > 
> > So, is there any way to identify links within the text? Something like 
<a href="..." id="">.... in
> > HTML?
> > 
> > Thanks in advance,
> > Xavier

Link to individual message.

9. (indieterminacy (a) libre.brussels)

Which is gravy, the Gemini space is lovely!


FWIW, Im migrating a lot of my GemText content so that it all rests
within Emacs-Hyperbole's Kotl file format.

That way I structure my thoughts into blocks, using more terse
interfaces.

One aproach is to create a master block containing only '=>', with the
logic that child blocks would contain links (which would be outputted
properly as GemText).

Using a parser (the Lisp TXR in my case), Im hoping to have good
operability using URI type assets and toolsets.

The author of TXR has a script for its manpage to be converted to HTML
=> http://www.kylheku.com/cgit/man/tree/man2html/README

Its main utility is for cross referencing across the 800+ page document.

Naturally in document anchors are not a feature of Gemini but it may
give you ideas regarding how you could have intermediate processes to
align your references for correctly annotated URIs.


Jonathan

"Xavier B." <somenxavier@posteo.net> writes:

> Thanks for the references.
>
> I feel that the majority of people say "forget!. We'll stay as we are" ;-)
>
> No problem. I have to trust to reader's intelligence :-)
>
> On Thu, 23 Dec 2021 21:59:10 +0000
> "Jonathan McHugh" <indieterminacy@libre.brussels> ha escrit:
>
>> Hello Xavier,
>> 
>> FYI, I did start a thread concerning in body references previously
>> => gemini://gemi.dev/gemini-mailing-list/messages/006684.gmi 2021-06-13 
In Body URI references
>> 
>> Additionally, I made a suggestion with no takers:
>> => gemini://gemi.dev/gemini-mailing-list/messages/007587.gmi 2021-11-11 
In Body URI references from non Gemini content
>> 
>> Hopefully something there helps.
>> 
>> ====================
>> Jonathan McHugh
>> indieterminacy@libre.brussels
>> 
>> December 23, 2021 12:30 PM, "Xavier B." <somenxavier@posteo.net> wrote:
>> 
>> > Hi,
>> > 
>> > First of all, introduce myself. I'm a new gemini user. I like very 
much the philosophy behind this.
>> > 
>> > I have a question about gemini text syntax. Is there any way to 
refering to link within the text?
>> > Some canonical or 
>> > 
>> > Eg. something like this:
>> > 
>> > This is my resume [1] and my work [2]
>> > 
>> > => gemini://.... My Resumé
>> > => gemini://.... My work
>> > 
>> > If then I insert a link betweem "My Resumé" and "My Work", the 
numbers refering would be wrong.
>> > 
>> > So, is there any way to identify links within the text? Something 
like <a href="..." id="">.... in
>> > HTML?
>> > 
>> > Thanks in advance,
>> > Xavier

Link to individual message.

---

Previous Thread: Suggestions for a Gemini server

Next Thread: [tech] QOI image support in browsers