From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: org-publish Date: Sun, 22 Jun 2008 00:27:04 -0400 Message-ID: <25984.1214108824@gamaville.dokosmarshall.org> References: <7s4p7nouop.fsf@richardriley.net> Reply-To: nicholas.dokos@hp.com Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KAHBu-0004aY-Vz for emacs-orgmode@gnu.org; Sun, 22 Jun 2008 00:28:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KAHBt-0004ZV-Ra for emacs-orgmode@gnu.org; Sun, 22 Jun 2008 00:28:38 -0400 Received: from [199.232.76.173] (port=49142 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KAHBt-0004ZQ-LE for emacs-orgmode@gnu.org; Sun, 22 Jun 2008 00:28:37 -0400 Received: from qmta07.westchester.pa.mail.comcast.net ([76.96.62.64]:56656) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KAHBt-0000hU-B1 for emacs-orgmode@gnu.org; Sun, 22 Jun 2008 00:28:37 -0400 In-Reply-To: Message from Richard G Riley of "Sat, 21 Jun 2008 15:05:53 +0200." List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Richard G Riley Cc: org-mode Richard G Riley wrote: > >>> Not sure if this will help in your case but try adding: > >>> > >>> :publishing-function org-publish-org-to-html > >>> > Could someone who uses org-publish possibly post their setting for this > variable and possibly a subset (including header) of a published file? > Richard, I have a minimal setup that works fine for me. Here is the relevant section from my org initialization file, which gets loaded from .emacs: ;;; org-publish (setq org-publish-project-alist '(("status" :base-directory "~/lib/status/weekly" :publishing-directory "/ssh:nick@foo.bar.com:~/public_html/logs" :publishing-function org-publish-org-to-html :headline-levels 3 :section-numbers nil :table-of-contents nil ; :style nil :auto-preamble t :auto-postamble nil ))) (require 'org-publish) Basically, I jot down status at the end of each day and then publish the jottings at the end of the week. The org and published files look like this (this is an edited version of the ones from the week that ended on June 13): --------------------------------------------------------------------------- * Status ** [2008-06-09 Mon] - foo - bar - baz ** [2008-06-10 Tue] - foo - bar - baz ** [2008-06-11 Wed] - foo - bar ** [2008-06-12 Thu] - foo - bar ** [2008-06-13 Fri] - foo - bar - baz #+TITLE: Status #+OPTIONS: num:nil toc:nil author:nil timestamp:nil --------------------------------------------------------------------------- Status

Status

Status

2008-06-09 Mon

  • foo
  • bar
  • baz

2008-06-10 Tue

  • foo
  • bar
  • baz

2008-06-11 Wed

  • foo
  • bar

2008-06-12 Thu

  • foo
  • bar

2008-06-13 Fri

  • foo
  • bar
  • baz
--------------------------------------------------------------------------- HTH, Nick