emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [PATCH] Export of irc links in ox-html


From: Nicolas Goaziou
Subject: Re: [O] [PATCH] Export of irc links in ox-html
Date: Sun, 24 Sep 2017 09:20:57 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Hello,

Jay Kamat <address@hidden> writes:

> IRC links in ox-html are currently broken.

They are not handled, which is slightly different.

> There exists a special 'irc'
> content handler on the web, telling browsers to open an irc link in an
> external irc client. The format for such links seems identical to org
> (irc:irc.freenode.net/user).
>
> Previously links such as:
>
> [[irc:irc.freenode.net/test][Irc link]]
>
> Would export to 
>
> <a href="irc.freenode.net/test">Irc link</a>
>
> in ox-html.

The proper fix would be to patch "org-irc.el" and add an export function
there. "irc" links are not default links in Org, so there is no reason
to hard-code them in "ox-html.el".

You can look into `org-info-export' in "org-info.el", which is an
example on how optional link types are handled.

Thank you!

Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]