{"id":4940,"date":"2016-02-03T11:16:00","date_gmt":"2016-02-03T16:16:00","guid":{"rendered":"http:\/\/irreal.org\/blog\/?p=4940"},"modified":"2016-02-03T11:16:56","modified_gmt":"2016-02-03T16:16:56","slug":"blogging-with-org-mode-only","status":"publish","type":"post","link":"https:\/\/irreal.org\/blog\/?p=4940","title":{"rendered":"Blogging with Org Mode (Only)"},"content":{"rendered":"<p> Dennis Ogbe has a <a href=\"https:\/\/ogbe.net\/\">blog<\/a> that he writes in Emacs with Org mode. There&#8217;s nothing unusual about that, of course; lots of people do. All Irreal posts begin life as an Org file that is exported to HTML and pushed to my WordPress site by the excellent <code>org2blog\/wp<\/code> package. What makes Ogbe&#8217;s blog different is that <i>everything<\/i> (posts, archive, RSS feed) is generated as static pages directly from Org mode. There&#8217;re no external packages to worry about; it&#8217;s all just Emacs and Org mode. <\/p>\n<p> In an interesting post, Ogbe describes <a href=\"https:\/\/ogbe.net\/blog\/blogging_with_org.html\">how he does this<\/a>. Many of us use Org mode to write content and export it to HTML but Org mode provides a much more comprehensive functionality with its publishing system. Ogbe uses this to describe his site and take care of most of the details of publishing it automatically. He chooses to <code>rsync<\/code> the completed HTML to his hosting provider manually but that, too, could be done automatically by leveraging Tramp. <\/p>\n<p> I prefer to let WordPress worry about RSS, the archive, and things like that but many bloggers would rather have a simple system with static pages and the simplicity (and security) that they enable. If you&#8217;re one of those people, take a look at Ogbe&#8217;s post; it can serve as a useful go-by for rolling your own. Be sure to check out the <a href=\"http:\/\/bastibe.de\/2013-11-13-blogging-with-emacs.html\">three<\/a> <a href=\"https:\/\/justin.abrah.ms\/emacs\/orgmode_static_site_generator.html\">example<\/a> <a href=\"https:\/\/pavpanchekha.com\/blog\/org-mode-publish.html\">sites<\/a> that Ogbe used as his own go-by. They have lots of good ideas too. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Dennis Ogbe has a blog that he writes in Emacs with Org mode. There&#8217;s nothing unusual about that, of course; lots of people do. All Irreal posts begin life as an Org file that is exported to HTML and pushed &hellip; <a href=\"https:\/\/irreal.org\/blog\/?p=4940\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[134,18,4],"class_list":["post-4940","post","type-post","status-publish","format-standard","hentry","category-general","tag-blogging","tag-emacs","tag-org-mode"],"_links":{"self":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4940","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4940"}],"version-history":[{"count":1,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4940\/revisions"}],"predecessor-version":[{"id":4941,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4940\/revisions\/4941"}],"wp:attachment":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4940"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4940"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4940"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}