>| On Mon, 26 Nov 2007 22:51:31 +0100,
>| Markus Hoenicka
>| who can be reached at: [EMAIL PROTECTED]
>| (whose comments are cited below with " Markus> "),
>| had this to say in article <[EMAIL PROTECTED]>
>| in newsgroups gmane.emacs.planner.general
>| concerning the subject of Re: changes from emacs-wiki planner to muse
>planner
>| (see <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> for more details)
Markus> I managed to define a footer with "planner-xhtml-footer" which
Markus> provides the link to the index page. Is there a simple way to
Markus> add the publication timestamp?
I cannot tell if it is simple but what I do:
I made myself a function in order to provide me with the current date
and time
(defun my-date-insert-3 () (interactive)
"Insert date in format like `Sunday 2007-07-08 [12:19 UTC]'."
(insert (replace-regexp-in-string "\n" "" ;remove `\n'
(concat
(shell-command-to-string "date +%A")
" "
(shell-command-to-string "date +%Y-%m-%d")
" ["
(shell-command-to-string "date -u +%H:%M")
" UTC]"
)
)
)
)
which I then put in into
(setq muse-xhtml-header
"<lisp>muse-xhtml-doctype</lisp>
<html xmlns=\"http://www.w3.org/1999/xhtml\">
<lisp>muse-xhtml-head</lisp>
<body>
<div id=\"header\">
<lisp>muse-xhtml-headline</lisp>
</div>
<table id=\"body\"><tr valign=\"top\">
<td id=\"left\">
<lisp>(muse-xhtml-menu muse-project-menu-list)</lisp>
</td>
<td id=\"content\">
<table class=\"headline\">
<tr class=\"headline\">
<td class=\"leftheadline\">
<div class=\"info\">
<div class=\"title\">
<lisp>(muse-publishing-directive \"title\")</lisp>
</div>
<div class=\"status\">
<lisp>(muse-publish-status)</lisp>
</div>
<div class=\"pagecode\">
<lisp>(muse-publish-pagecode)</lisp>
</div>
<div class=\"lastchange\">
Last changed: <lisp>(my-date-insert-3)</lisp>
</div>
<div class=\"about\">
<strong>Abstract:</strong><br /><hr />
<lisp>(muse-publishing-directive \"about\")</lisp>
</div>
</div>
</td>
<lisp>(muse-publish-content)</lisp>
</tr>
</table>
<!-- Page -->\n"
)
since I use that one for both -- Muse and Planner. Otherwise you might
prefer to go with a distinct header for Planner namely
planner-html-header.
Markus> Ok, I've set "planner-use-task-numbers" to "t". If I now
Markus> schedule new tasks, they all get the task number 0 no matter
Markus> what I do.
I am not numbering tasks so I cant tell off hand.
Markus> Even worse, the task number does not appear as an ID in the
Markus> xhtml output. I used to use these IDs to link from my task list
Markus> directly to the appropriate task on the planner page's html
Markus> output. Is there something else to do to activate this?
Hmm ... I do not understand this entirely but what I can say is this.
For the ID's you might want to go with planner-id
,----[ My planner-id settings ]
| ;;;_ , planner-id
|
| (require 'planner-id)
|
| (setq planner-id-add-task-id-flag t)
| (setq planner-id-update-automatically t)
| (setq planner-id-tracking-file
| (concat planner-root-dir "planner_id/planner_id_tracking_file"))
`----
For the publishing part ... well, there are plan as well as day pages.
Those are linked among each other since I use planner-multi so I can put
a particular task on several pages (plan as well as day pages).
The links among tasks respectively all pages I put a task/note onto
become then available for navigation within Emacs and of course when I
publish to xhtml.
_______________________________________________
Planner-el-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/planner-el-discuss