emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Phil! Gold <phil_g@pobox.com>
To: emacs-orgmode@gnu.org
Subject: Include a limited level of subheadings for export/publish?
Date: Wed, 7 Nov 2012 11:48:22 -0500	[thread overview]
Message-ID: <20121107164821.GD4519@elros.aperiodic.net> (raw)

I've been through all of the export and publishing documentation and what
I could find about includes and I can't see a way to do what I want to
accomplish.

I have multiple org files, each of which represents a project, with the
first level headings representing milestones for the project and lower
headings providing more detail.  I currently publish these as HTML for my
manager to peruse.  I would like to construct, as automatically as
possible, an overview page for my manager.  I would like to be able to
list my active and inactive projects and, for each one, include just the
milestone headings from the project file, ideally any SCHEDULED, DEADLINE,
or CLOSED timestamps on the headings.  I haven't found anything that seems
to come close to doing what I want.  Any pointers to similar examples,
useful functions or settings, and the link would be appreciated.

For a concrete example, say I have the following two project files.

# project-a.org
* DONE Milestone A-1
  CLOSED: [2012-11-01 Thu 15:54] DEADLINE: <2012-11-01 Thu>
** Milestone details
* STARTED Milestone A-2
* TODO Milestone A-3
  Some descriptive text.

# project-b.org
* STALLED Milestone B-1
  DEADLINE: <2012-11-05 Mon>
* TODO Milestone B-3
* Future Goal
** Future goal details.

I would like to do something that gets me HTML output similar to the
following:

<h2>Projects In Progress</h2>

<h3>Project A</h3>
<h4>DONE Milestone A-1</h4>
<p>CLOSED: 2012-11-01 Thu 15:54 DEADLINE: 2012-11-01 Thu</p>
<h4>STARTED Milestone A-2</h4>
<h4>TODO Milestone A-3</h4>

<h3>Project B</h3>
<h4>STALLED Milestone B-1</h4>
<p>DEADLINE: 2012-11-05 Mon</p>
<h4>TODO Milestone B-3</h4>
<h4>Future Goal</h4>

<h2>Future Projects</h2>
<!-- So on and so forth... -->

             reply	other threads:[~2012-11-07 16:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-07 16:48 Phil! Gold [this message]
2012-11-07 23:27 ` Include a limited level of subheadings for export/publish? John Hendy
2012-11-09 14:57   ` Phil! Gold
2012-11-09 16:06     ` Include a limited level of subheadings for export/publish? :TNX Giovanni Ridolfi

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=20121107164821.GD4519@elros.aperiodic.net \
    --to=phil_g@pobox.com \
    --cc=emacs-orgmode@gnu.org \
    /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).