renard / o-blog

Standalone orgmode blog exporter. DEPECATED, NOT MAINTAINED
http://renard.github.com/o-blog-v2
260 stars 58 forks source link

Blogs in multiple files #6

Closed exaos closed 12 years ago

exaos commented 12 years ago

At now, all blogs store in a single file. I want to split them into different files (e.g. blog-2011.org, blog-2012.org, blog-computer.org), and all outputs into one site. If I do org-publish-blog in one file, it will only update tags and Tips in the output directory. Is it possible?

renard commented 12 years ago

The problem with that is that menus might be directly linked to the posts (see the Tips and the navigation links) and will get out of sync very quickly.

By experience the most expensive part is writing down the files to the disk.

I do agree with you about only generating modified posts but I do not see how to do that in a full static site environment.

Ideas a re welcome

eggcaker commented 12 years ago

just put a comment here if someone still need this feature, I found a tricky way to do this : add a #+ARCHIVE: org_file_you_want_to_split.org:: to your main org file, then run M-x org-publish-org on your main org file , then entries of org_file_you_want_to_split.org also generated .