Hi List, 

when writing an exporter backend, I wonder what is the canonical way to
extract the (optional) timestamp element from a headline's :title
attribute (which holds a secondary string)?

I could do something like this to extract the timestamp from the headline

#+begin_src emacs-lisp
  (let ((ttl (org-element-property :title headline)))
    (and (> (length ttl) 1)
         (car (last ttl))))
#+end_src

but I hope there is a more straight-forward and reliable way to do this?

-- 
cheers,
Thorsten


Reply via email to