Sublime Forum

Properly formatting Outlook links in org-html-export

#1

I’ve followed a solution found at https://superuser.com/a/100084 for capturing the unique identifier (UID) of an Outlook message stored in a PST file, and creating a org link of the form:

[[outlook:UID][Message subject]]

Selecting this link in emacs opens the message in Outlook using a little Lisp stored as org-outlook.el in my .emacs.d/lisp directory, so I can access specific messages right from org. Really nice solution for integrating emails that I need to reference right from my notes.

The problem is that I also like to export my notes as html using org-htm-export through C-c C-e h o, but the Outlook links get rendered as:

<a href="UID">Message subject</a>

which tries (and fails, of course) to open a local file named "UID" instead of:

<a href="outlook:UID">Message subject</a>

which my browser correctly passes off to Outlook.

Is there a way for me to custom define the link export format for an outlook: link? Kinda a newbie here, and I couldn’t find anything on the topic.

Thanks

0 Likes

#2

How come you posted this on the Sublime Text product forum?

1 Like

#3

(embarrassed) 'Cause I’m a knucklehead. Seriously - just posted another question for Sublime, and started working on this issue - forgot that I wasn’t in the emacs forum. My apologies.

1 Like