emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* how to disable timestamp html export
@ 2013-06-05 16:06 OSiUX
  2013-06-05 16:44 ` Nick Dokos
  2013-06-27 14:54 ` Bastien
  0 siblings, 2 replies; 4+ messages in thread
From: OSiUX @ 2013-06-05 16:06 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 829 bytes --]

When export using org-publish-project,
Org add a comment with timestamp in HTML:

 # git diff

 <html xmlns="http://www.w3.org/1999/xhtml" lang="es" xml:lang="es">
  <head>
  <title>viewing two years of orgmode with gnuplot</title>
 -<!-- 2013-06-05 mié 12:10 -->
 +<!-- 2013-06-05 mié 12:38 -->
  <meta  http-equiv="Content-Type" content="text/html;charset=utf-8" />
  <meta  name="generator" content="Org-mode" />

In my .emacs, I have:

    (setq org-publish-project-alist
          (quote (("osiux-blog-org"
                ...others...options...
                :with-timestamps nil

How I can disable this feature?

Thanks!

-- 

::

  Osiris Alejandro Gomez (OSiUX) osiux@osiux.com.ar
  DC44 95D2 0D5D D544 FC1A F00F B308 A671 9237 D36C
  http://www.osiux.com.ar http://www.altermundi.net

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: how to disable timestamp html export
  2013-06-05 16:06 how to disable timestamp html export OSiUX
@ 2013-06-05 16:44 ` Nick Dokos
  2013-06-11 15:12   ` OSiUX
  2013-06-27 14:54 ` Bastien
  1 sibling, 1 reply; 4+ messages in thread
From: Nick Dokos @ 2013-06-05 16:44 UTC (permalink / raw)
  To: emacs-orgmode

OSiUX <xuiso@osiux.com.ar> writes:

> When export using org-publish-project,
> Org add a comment with timestamp in HTML:
>
>  # git diff
>
>  <html xmlns="http://www.w3.org/1999/xhtml" lang="es" xml:lang="es">
>   <head>
>   <title>viewing two years of orgmode with gnuplot</title>
>  -<!-- 2013-06-05 mié 12:10 -->
>  +<!-- 2013-06-05 mié 12:38 -->
>   <meta  http-equiv="Content-Type" content="text/html;charset=utf-8" />
>   <meta  name="generator" content="Org-mode" />
>
> In my .emacs, I have:
>
>     (setq org-publish-project-alist
>           (quote (("osiux-blog-org"
>                 ...others...options...
>                 :with-timestamps nil
>
> How I can disable this feature?
>

To do it globally, customize org-export-time-stamp-file and set it to
nil.

Per file, you can use an option:

--8<---------------cut here---------------start------------->8---
#+OPTIONS: timestamp:nil
--8<---------------cut here---------------end--------------->8---

or through a local variable by adding this at the *end* of the file:

--8<---------------cut here---------------start------------->8---
# Local Variables:
# org-export-time-stamp-file: nil
# End:
--8<---------------cut here---------------end--------------->8---

You will need to close and reopen the file in this case, for it
to take effect.

OTOH, it's just a comment: org is trying to be helpful and tell you
when the html file was produced. Why do you want to get rid of it?
At some point, it might save you hours of debugging (ok, rhetorical
exaggeration perhaps, but still...)
-- 
Nick

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

* Re: how to disable timestamp html export
  2013-06-05 16:44 ` Nick Dokos
@ 2013-06-11 15:12   ` OSiUX
  0 siblings, 0 replies; 4+ messages in thread
From: OSiUX @ 2013-06-11 15:12 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 2513 bytes --]

El mié, 05 jun 2013, Nick Dokos decía:

> OSiUX <xuiso@osiux.com.ar> writes:
> 
> > When export using org-publish-project,
> > Org add a comment with timestamp in HTML:
> >
> >  # git diff
> >
> >  <html xmlns="http://www.w3.org/1999/xhtml" lang="es" xml:lang="es">
> >   <head>
> >   <title>viewing two years of orgmode with gnuplot</title>
> >  -<!-- 2013-06-05 mié 12:10 -->
> >  +<!-- 2013-06-05 mié 12:38 -->
> >   <meta  http-equiv="Content-Type" content="text/html;charset=utf-8" />
> >   <meta  name="generator" content="Org-mode" />
> >
> > In my .emacs, I have:
> >
> >     (setq org-publish-project-alist
> >           (quote (("osiux-blog-org"
> >                 ...others...options...
> >                 :with-timestamps nil
> >
> > How I can disable this feature?
> >
> 
> To do it globally, customize org-export-time-stamp-file and set it to
> nil.
> 
> Per file, you can use an option:
> 
> --8<---------------cut here---------------start------------->8---
> #+OPTIONS: timestamp:nil
> --8<---------------cut here---------------end--------------->8---
> 
> or through a local variable by adding this at the *end* of the file:
> 
> --8<---------------cut here---------------start------------->8---
> # Local Variables:
> # org-export-time-stamp-file: nil
> # End:
> --8<---------------cut here---------------end--------------->8---
> 
> You will need to close and reopen the file in this case, for it
> to take effect.
> 
> OTOH, it's just a comment: org is trying to be helpful and tell you
> when the html file was produced. Why do you want to get rid of it?
> At some point, it might save you hours of debugging (ok, rhetorical
> exaggeration perhaps, but still...)

Nic, currently Orgmode is regenerating all .html
files, not just modified (.org), maybe that's
the error?

I use git as version control for html files
because it facilitates the deploy of my blog and
was going to be detected modified files when in
fact they were exactly the same except for the
timestamp.

Thanks!

org-export-time-stamp-file: nil works as I need.

The source files *.org:

http://github.com/osiris/osiux-blog

The HTML files with images:

https://github.com/osiris/osiris.github.com

The main site:

http://osiux.com

The git mirror:

http://git.osiux.com

::

  Osiris Alejandro Gomez (OSiUX) osiux@osiux.com.ar
  DC44 95D2 0D5D D544 FC1A F00F B308 A671 9237 D36C
  http://www.osiux.com.ar http://www.altermundi.net

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: how to disable timestamp html export
  2013-06-05 16:06 how to disable timestamp html export OSiUX
  2013-06-05 16:44 ` Nick Dokos
@ 2013-06-27 14:54 ` Bastien
  1 sibling, 0 replies; 4+ messages in thread
From: Bastien @ 2013-06-27 14:54 UTC (permalink / raw)
  To: OSiUX; +Cc: emacs-orgmode

OSiUX <xuiso@osiux.com.ar> writes:

> When export using org-publish-project,
> Org add a comment with timestamp in HTML:
>
>  # git diff
>
>  <html xmlns="http://www.w3.org/1999/xhtml" lang="es" xml:lang="es">
>   <head>
>   <title>viewing two years of orgmode with gnuplot</title>
>  -<!-- 2013-06-05 mié 12:10 -->
>  +<!-- 2013-06-05 mié 12:38 -->
>   <meta  http-equiv="Content-Type" content="text/html;charset=utf-8" />
>   <meta  name="generator" content="Org-mode" />
>
> In my .emacs, I have:
>
>     (setq org-publish-project-alist
>           (quote (("osiux-blog-org"
>                 ...others...options...
>                 :with-timestamps nil
>
> How I can disable this feature?

(setq org-export-time-stamp-file nil)

or

:time-stamp-file nil

in publishing projects.

-- 
 Bastien

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

end of thread, other threads:[~2013-06-27 15:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-05 16:06 how to disable timestamp html export OSiUX
2013-06-05 16:44 ` Nick Dokos
2013-06-11 15:12   ` OSiUX
2013-06-27 14:54 ` Bastien

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