emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Linking/referencing static HTML
@ 2010-02-18  1:09 Zachary Young
  2010-02-18  1:24 ` Matt Lundin
  0 siblings, 1 reply; 2+ messages in thread
From: Zachary Young @ 2010-02-18  1:09 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 699 bytes --]

Hi all,

I've looked around at the orgmode and org babel manuals, and I am still not
sure that I want to do is possible...

I have an HTML file that is an e-mail signature that I use. Up to now I've
had copies of the HTML in couple of template ORG files, like so:

#+BEGIN_HTML
<div>
  signature and corporate disclamer stuff
</div>
#+END_HTML

This has been working, but again, I have the exact same HTML copied in 5
different files, which means 5 separate edits for any changes.

I just tried:

#+BEGIN_HTML
  <iframe src="signature.html"/>
#+END_HTML

but getting the CSS right has been challenging.

Is there any way to make orgmode insert a the contents of file during
export?

Thank you,
Zach

[-- Attachment #1.2: Type: text/html, Size: 2135 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Linking/referencing static HTML
  2010-02-18  1:09 Linking/referencing static HTML Zachary Young
@ 2010-02-18  1:24 ` Matt Lundin
  0 siblings, 0 replies; 2+ messages in thread
From: Matt Lundin @ 2010-02-18  1:24 UTC (permalink / raw)
  To: Zachary Young; +Cc: emacs-orgmode

Zachary Young <zacharysyoung@gmail.com> writes:

> I've looked around at the orgmode and org babel manuals, and I am still
> not sure that I want to do is possible...
>
> I have an HTML file that is an e-mail signature that I use. Up to now
> I've had copies of the HTML in couple of template ORG files, like so:
>
> #+BEGIN_HTML
> <div>
>   signature and corporate disclamer stuff
> </div>
> #+END_HTML
>
> This has been working, but again, I have the exact same HTML copied in
> 5 different files, which means 5 separate edits for any changes.

You could put the snippet above into a file called signature.org and
then place a line such as the following wherever you want the signature
to appear:

#+INCLUDE: /path/to/signature.org

Best,
Matt

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-02-18  1:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-18  1:09 Linking/referencing static HTML Zachary Young
2010-02-18  1:24 ` Matt Lundin

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).