[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Minimal overhead Org-mode blogging system

From: Jude DaShiell
Subject: Re: [O] Minimal overhead Org-mode blogging system
Date: Mon, 14 May 2012 22:24:08 -0400 (EDT)

Understand, I use update here in the sense of some file modification 
that subsequently gets saved.  If files to be modified get archived into 
org-mode's revision control system, the blog tag and associated done tag 
could be searched for within the save process and an org database could 
build with file name and then tripplets of date stamp, line number for 
blog tag, line number for done tag and each tripplet would hold another 
blog entry in that unique file which is the first field in the data 
base.  So you want to find a blog entry?  Search the org-generated data 
base for a date stamp and you come up with the file and the range of 
line numbers holding that blog entry.  Search one file and go to 
specific location in second file.  That if it's done or gets done will 
keep file searching to a nice minimum permanently.

On Sun, 13 May 2012, Neil Smithline wrote:

> Karl Voit <devnull <at> Karl-Voit.at> writes: 
> > Therefore I sat down and thought about a workflow that should be
> > enough for writing simple weblog entries:
> > 
> >   - create an Org-mode heading (anywhere!)
> >   - make sure that there is an (uniq) :ID: property
> >   - add the tag :blog: to heading
> >   - <write content, subheadings, ...>
> >   - change state of top-heading to DONE
> >     - this enables blog entries ?in the queue?
> >   - (manually) invoke generation-script
> > 
> > This enables me quick blogging with a list of advantages:
> > 
> >   - a blog entry can be located anywhere in all of my Orgmode files
> >   - no extra formatting steps
> >   - very small (almost non-existent) overhead to create a blog entry
> >   - no duplicate information
> >     - updates only in Orgmode, not HTML or any in-between format
> >   - static (fast) pages
> >   - self-hosting without any fancy services behind like RDBS
> > Karl,
> I'm wondering if you've played around with this at all? I happen to really 
> like
> the idea but I wonder about its performance.
> Unless I'm mistaken, and I very likely may be, won't you have to scan all of
> your .org files to look for the special tags/properties/todo states/whatever? 
> If not, I'd love to have a pointer to how you can accomplish this without
> scanning every .org file. That would be cool. 

Jude <jdashiel-at-shellworld-dot-net>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]