0xGA: Check-in [a636875f4e]

Yet another PHP framework, but made for org-mode and geeks.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix bug preventing new articles to be correctly indexed
Timelines: family | ancestors | descendants | both | narv
Files: files | file ages | folders
SHA1:a636875f4eab4451b9a68cb3668af89d53ab3e3a
User & Date: milouse 2014-09-28 21:50:43
Context
2014-10-12
22:42
Remove duplicate import check-in: f0d6e66146 user: milouse tags: narv
2014-09-28
21:50
Fix bug preventing new articles to be correctly indexed check-in: a636875f4e user: milouse tags: narv
2014-09-25
16:48
Add update-chroot function to narv check-in: b5764a4903 user: milouse tags: narv
Changes

Changes to narv.

419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
(defun ed/orgx-create-file-structure (title destination &optional buffer)
  (unless (file-exists-p (directory-file-name destination))
    (make-directory destination t)
    (make-directory (concat destination "media"))
    (make-directory (concat destination "templates"))
    (let ((timestamp (current-time)))
      (with-current-buffer (find-file-noselect (concat destination "meta.conf"))
        (insert "author=" (user-full-name) "\ntimestamp="
                (format-time-string "%Y%m%d%H%M%S" timestamp)
                "\ntitle=" title)
        (save-buffer 0)
        (kill-buffer))
      (when buffer
        (with-current-buffer buffer
          (ed/orgx-parse-links)







|







419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
(defun ed/orgx-create-file-structure (title destination &optional buffer)
  (unless (file-exists-p (directory-file-name destination))
    (make-directory destination t)
    (make-directory (concat destination "media"))
    (make-directory (concat destination "templates"))
    (let ((timestamp (current-time)))
      (with-current-buffer (find-file-noselect (concat destination "meta.conf"))
        (insert "[metadata]\nauthor=" (user-full-name) "\ntimestamp="
                (format-time-string "%Y%m%d%H%M%S" timestamp)
                "\ntitle=" title)
        (save-buffer 0)
        (kill-buffer))
      (when buffer
        (with-current-buffer buffer
          (ed/orgx-parse-links)