emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bastien.guerry@wikimedia.fr>
To: Hrvoje Niksic <hniksic@xemacs.org>
Cc: Marc-Oliver Ihm <marc-oliver.ihm@online.de>, emacs-orgmode@gnu.org
Subject: Re: A way to export agenda with links into org-files to html ?
Date: Fri, 18 Feb 2011 10:30:35 +0100	[thread overview]
Message-ID: <874o81g05g.fsf@gnu.org> (raw)
In-Reply-To: <87vd0jkamb.fsf@xemacs.org> (Hrvoje Niksic's message of "Wed, 16 Feb 2011 21:06:20 +0100")

Hi Hrvoje,

Hrvoje Niksic <hniksic@xemacs.org> writes:

> Bastien <bastien.guerry@wikimedia.fr> writes:
>
>> Sadly enough, htmlize.el only handles <http://orgmode.org> links. 
>>
>> Patch to make htmlize.el handle org links welcome!
>
> htmlize looks for urls and converts them to links.  

Yes, some urls.

> What are org links that you refer to,

Links like [[http://orgmode.org][Org website]] or even raw links like
http://orgmode.org, with no <...> bracket.

See the manual:

  http://orgmode.org/manual/Link-format.html
  http://orgmode.org/manual/External-links.html

> and how should htmlize find them in the buffer?

See org-*-link-regexp regular expressions. 

We definitely don't need to match every (org-)link these expressions
match.  Only hyperlinks with external protocols (http, ftp, mailto,
etc.)

Thanks for taking a look at this!

-- 
 Bastien

  reply	other threads:[~2011-02-18  9:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-05 21:46 A way to export agenda with links into org-files to html ? Marc-Oliver Ihm
2011-02-11 16:34 ` Bastien
2011-02-16 20:06   ` Hrvoje Niksic
2011-02-18  9:30     ` Bastien [this message]
2011-02-18  9:42       ` Hrvoje Niksic
2011-02-26  9:45         ` Bastien
2011-02-28 23:00           ` Hrvoje Niksic
2011-03-01 17:57             ` Bastien
2011-03-02  8:48               ` Hrvoje Niksic
2011-02-21 21:40 ` Marc-Oliver Ihm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874o81g05g.fsf@gnu.org \
    --to=bastien.guerry@wikimedia.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=hniksic@xemacs.org \
    --cc=marc-oliver.ihm@online.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).