<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>blogging - Cognizant Transmutation</title>
	<atom:link href="https://www.ibd.com/category/blogging/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.ibd.com</link>
	<description>Internet Bandwidth Development: Composting the Internet for over Two Decades</description>
	<lastBuildDate>Sat, 26 Jan 2019 08:32:22 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.1</generator>

<image>
	<url>https://i0.wp.com/www.ibd.com/wp-content/uploads/2019/01/fullsizeoutput_7ae8.jpeg?fit=32%2C32&#038;ssl=1</url>
	<title>blogging - Cognizant Transmutation</title>
	<link>https://www.ibd.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<atom:link rel="hub" href="https://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="https://pubsubhubbub.superfeedr.com"/><atom:link rel="hub" href="https://websubhub.com/hub"/><site xmlns="com-wordpress:feed-additions:1">156814061</site>	<item>
		<title>First Post with Spacemacs and org2blog</title>
		<link>https://www.ibd.com/blogging/first-post-with-spacemacs-and-org2blog/</link>
		
		<dc:creator><![CDATA[Robert J Berger]]></dc:creator>
		<pubDate>Sat, 26 Jan 2019 07:02:00 +0000</pubDate>
				<category><![CDATA[blogging]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[spacemacs]]></category>
		<guid isPermaLink="false">https://blog.ibd.com/?p=1674</guid>

					<description><![CDATA[<p>Haven&#8217;t been blogging for quite a while. I recently got around to redeploying and updating my WordPress blog to AWS Lightsail. It works so much better (and less expensive) now! The Dev team here at Omnyway wanted to start blogging on our company WordPress blog about all the cool Clojure stuff we&#8217;re open sourcing. But they all like to use&#8230;</p>
<p>The post <a href="https://www.ibd.com/blogging/first-post-with-spacemacs-and-org2blog/">First Post with Spacemacs and org2blog</a> first appeared on <a href="https://www.ibd.com">Cognizant Transmutation</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>Haven&#8217;t been blogging for quite a while. I recently got around to redeploying and updating my WordPress blog to <a href="https://aws.amazon.com/lightsail/">AWS Lightsail</a>. It works so much better (and less expensive) now!</p>
<p>The Dev team here at <a href="https://www.omnyway.com">Omnyway</a> wanted to start blogging on our company WordPress blog about all the cool <a href="https://github.com/omnyay-labs">Clojure stuff we&#8217;re open sourcing</a>. But they all like to use <a href="https://orgmode.org/">Emacs Org Mode</a> for their writing.</p>
<p>I had to figure out how to go from Emacs org mode to WordPress, so I am first trying it here on my personal blog. Since I use Spacemacs (in holy mode of course) as my form of Emacs, I wanted to add it as a Layer.</p>
<p>Spacemacs prefers you to have layers that combine packages and configuration. I could have just added it to <code>dotspacemacs-additional-packages</code> in the spacemacs init file but I wanted to try doing it as a layer. I&#8217;ve tried (unsuccessfully) to create my own layers before, but I was determined to get it to work this time! Turns out there isn&#8217;t really that much of an advantage of using a layer in this case other than being able to pull it from github dynamically.</p>
<div id="outline-container-org8bf76fa" class="outline-2">
<h2 id="org8bf76fa">Creating a Layer</h2>
<div class="outline-text-2" id="text-org8bf76fa"></div>
<div id="outline-container-orgdf43ca5" class="outline-3">
<h3 id="orgdf43ca5">Use Spacemacs to make a private layer template</h3>
<div class="outline-text-3" id="text-orgdf43ca5">
 You don&#8217;t need to do this but it helps to have a scaffold template. While inside Spacemacs:</p>
<pre class="example">&lt;META-x&gt; configuration-layer/create-layer
</pre>
<p>This will prompt you for a directory where your private layers go (mine was <code>~/.spacemacs.d/layers</code>). Then it will prompt you for the name of the layer. In this case <code>org2blog</code>.</p>
<p>It will then create a <code>README.org</code> and a <code>packages.el</code> with some things filled in. The README will be used for the help for the package.</p>
</div>
</div>
<div id="outline-container-org5f03f04" class="outline-3">
<h3 id="org5f03f04">Update the scaffold files to do the actual work</h3>
<div class="outline-text-3" id="text-org5f03f04">
 I updated the <code>packages.el</code> to the following (removed most of the boilerplate below)</p>
<div class="org-src-container">
<pre class="src src-emacs-lisp"><span style="color: #2aa1ae; background-color: #292e34;">;;; </span><span style="color: #2aa1ae; background-color: #292e34;">packages.el --- org2blog layer packages file for Spacemacs.</span>

<span style="color: #4f97d7;">(</span><span style="color: #4f97d7; font-weight: bold;">setq</span> org2blog-packages
  '<span style="color: #bc6ec5;">(</span><span style="color: #2d9574;">(</span>org2blog <span style="color: #4f97d7;">:location</span> <span style="color: #67b11d;">(</span>recipe <span style="color: #4f97d7;">:fetcher</span> github
                                <span style="color: #4f97d7;">:repo</span> <span style="color: #2d9574;">"org2blog/org2blog"</span><span style="color: #67b11d;">)</span><span style="color: #2d9574;">)</span><span style="color: #bc6ec5;">)</span><span style="color: #4f97d7;">)</span>

<span style="color: #4f97d7;">(</span><span style="color: #4f97d7; font-weight: bold;">defun</span> <span style="color: #bc6ec5; font-weight: bold;">org2blog/init-org2blog</span> <span style="color: #bc6ec5;">()</span>

  <span style="color: #bc6ec5;">(</span><span style="color: #4f97d7; font-weight: bold;">use-package</span> <span style="color: #a45bad;">org2blog</span><span style="color: #bc6ec5;">)</span>
  <span style="color: #2aa1ae; background-color: #292e34;">;</span><span style="color: #2aa1ae; background-color: #292e34;">(require 'org2blog-autoloads)</span>
  <span style="color: #4f97d7;">)</span>
<span style="color: #2aa1ae; background-color: #292e34;">;;; </span><span style="color: #2aa1ae; background-color: #292e34;">packages.el ends here</span>
</pre>
</div>
<p>The first statement <code>setq org2blog-packages</code> will pull the package from github and the second statement <code>org2blog/init-org2blog</code> will be used to initialize the package when its lazily loaded.</p>
<p>Then needed to add the layer (<code>org2blog</code>) and its basic config to the spacemacs init file (<code>~/.spacemacs</code> in my case).</p>
<p>The config specifies a list of blogs you can log into. This example shows only one. A more complicated config could go into the <code>dotspacemacs/user-config</code> section of the spacemacs init file instead if you prefer.</p>
<div class="org-src-container">
<pre class="src src-emacs-lisp">dotspacemacs-configuration-layers
 '<span style="color: #4f97d7;">(</span>
   <span style="color: #bc6ec5;">(</span>org2blog <span style="color: #4f97d7;">:variables</span>
     org2blog/wp-blog-alist '<span style="color: #2d9574;">(</span><span style="color: #67b11d;">(</span><span style="color: #2d9574;">"my.blog.com"</span>
                               <span style="color: #4f97d7;">:url</span> <span style="color: #2d9574;">"https://my.blog.com/xmlrpc.php"</span>
                               <span style="color: #4f97d7;">:username</span> <span style="color: #2d9574;">"joe"</span><span style="color: #67b11d;">)</span><span style="color: #2d9574;">)</span><span style="color: #bc6ec5;">)</span>
    <span style="color: #2aa1ae; background-color: #292e34;">;; </span><span style="color: #2aa1ae; background-color: #292e34;">... additional layers                               </span>
  <span style="color: #4f97d7;">)</span>
</pre>
</div>
<p>Once you have that all set, restart Spacemacs.</p>
</div>
</div>
</div>
<div id="outline-container-org2b96ec4" class="outline-2">
<h2 id="org2b96ec4">Taking it for a spin</h2>
<div class="outline-text-2" id="text-org2b96ec4">
 After you restart Spacemacs (and hopefully get no errors). Issue the command:</p>
<pre class="example">META-x org2blog/wp-login
</pre>
<p>It will let you select which blog (in this case <code>my.blog.com</code>) and will ask you for the password.</p>
<p>Then command:</p>
<pre class="example">META-x org2blog/wp-new-entry
</pre>
<p>At that point you can start writing your post! It will have put a few headers in that you could fill in at the top.</p>
<p>When you are ready to push it to your WordPress blog just incantate one of the following:</p>
</div>
<div id="outline-container-orgebfb8b1" class="outline-3">
<h3 id="orgebfb8b1">Publishing Keybindings</h3>
<div class="outline-text-3" id="text-orgebfb8b1">
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
<col class="org-left"/>
<col class="org-left"/>
<col class="org-left"/>
</colgroup>
<tbody>
<tr>
<td class="org-left">post buffer as draft</td>
<td class="org-left"><b>C-c M-p d</b></td>
<td class="org-left"><b>M-x     org2blog/wp-post-buffer</b></td>
</tr>
<tr>
<td class="org-left">publish buffer</td>
<td class="org-left"><b>C-c M-p p</b></td>
<td class="org-left"><b>C-u M-x org2blog/wp-post-buffer</b></td>
</tr>
<tr>
<td class="org-left">post buffer as page draft</td>
<td class="org-left"><b>C-c M-p D</b></td>
<td class="org-left"><b>M-x     org2blog/wp-post-buffer-as-page</b></td>
</tr>
<tr>
<td class="org-left">publish buffer as page</td>
<td class="org-left"><b>C-c M-p P</b></td>
<td class="org-left"><b>C-u M-x org2blog/wp-post-buffer-as-page</b></td>
</tr>
</tbody>
</table>
</div>
</div>
</div><p>The post <a href="https://www.ibd.com/blogging/first-post-with-spacemacs-and-org2blog/">First Post with Spacemacs and org2blog</a> first appeared on <a href="https://www.ibd.com">Cognizant Transmutation</a>.</p>]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1674</post-id>	</item>
		<item>
		<title>Upgraded to WordPress 2.7</title>
		<link>https://www.ibd.com/blogging/upgraded-to-wordpress-27/</link>
		
		<dc:creator><![CDATA[Robert J Berger]]></dc:creator>
		<pubDate>Thu, 11 Dec 2008 08:10:56 +0000</pubDate>
				<category><![CDATA[blogging]]></category>
		<guid isPermaLink="false">http://blog2.ibd.com/uncategorized/upgraded-to-wordpress-27/</guid>

					<description><![CDATA[<p>It was easy and its very nice. It was trivial to upgrade from the 2.7 beta. Just one click!</p>
<p>The post <a href="https://www.ibd.com/blogging/upgraded-to-wordpress-27/">Upgraded to WordPress 2.7</a> first appeared on <a href="https://www.ibd.com">Cognizant Transmutation</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>It was easy and its very nice. It was trivial to upgrade from the 2.7 beta. Just one click!</p><p>The post <a href="https://www.ibd.com/blogging/upgraded-to-wordpress-27/">Upgraded to WordPress 2.7</a> first appeared on <a href="https://www.ibd.com">Cognizant Transmutation</a>.</p>]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">69</post-id>	</item>
		<item>
		<title>Posting from my iphone</title>
		<link>https://www.ibd.com/blogging/posting-from-my-iphone/</link>
		
		<dc:creator><![CDATA[Robert J Berger]]></dc:creator>
		<pubDate>Sun, 16 Nov 2008 00:48:02 +0000</pubDate>
				<category><![CDATA[blogging]]></category>
		<category><![CDATA[iphone]]></category>
		<guid isPermaLink="false">http://blog2.ibd.com/?p=26</guid>

					<description><![CDATA[<p>Trying out a few different free iPhone blogging tools. This post is being done via the current WordPress client. It sounds like the 2.7 beta version is even better. This one was extremely easy to set up. And so far easy to use.</p>
<p>The post <a href="https://www.ibd.com/blogging/posting-from-my-iphone/">Posting from my iphone</a> first appeared on <a href="https://www.ibd.com">Cognizant Transmutation</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>Trying out a few different free iPhone blogging tools. This post is being done via the current WordPress client. It sounds like the 2.7 beta version is even better.   This one was extremely easy to set up. And so far easy to use.</p><p>The post <a href="https://www.ibd.com/blogging/posting-from-my-iphone/">Posting from my iphone</a> first appeared on <a href="https://www.ibd.com">Cognizant Transmutation</a>.</p>]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">26</post-id>	</item>
		<item>
		<title>Trying Out LifeCast</title>
		<link>https://www.ibd.com/blogging/trying-out-lifecast/</link>
		
		<dc:creator><![CDATA[Robert J Berger]]></dc:creator>
		<pubDate>Sat, 15 Nov 2008 23:11:28 +0000</pubDate>
				<category><![CDATA[blogging]]></category>
		<category><![CDATA[iphone]]></category>
		<guid isPermaLink="false">http://blog2.ibd.com/?p=27</guid>

					<description><![CDATA[<p>Testing LifeCast as another blogging tool. It&#8217;s main feature seems to be to add geolocation and iphone photos so you can capture your day to day experiences. Geolocate this post. Posted with LifeCast</p>
<p>The post <a href="https://www.ibd.com/blogging/trying-out-lifecast/">Trying Out LifeCast</a> first appeared on <a href="https://www.ibd.com">Cognizant Transmutation</a>.</p>]]></description>
										<content:encoded><![CDATA[<p><p>Testing LifeCast as another blogging tool. It&#8217;s main feature seems to be to add geolocation and iphone photos so you can capture your day to day experiences.</p>
<p><a href="http://maps.google.com/maps?q=37.2408752441,-122.0417327881">Geolocate this post</a>.</p>
</p>
<p>Posted with <a href='http://lifecast.sleepydog.net'>LifeCast</a></p><p>The post <a href="https://www.ibd.com/blogging/trying-out-lifecast/">Trying Out LifeCast</a> first appeared on <a href="https://www.ibd.com">Cognizant Transmutation</a>.</p>]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">27</post-id>	</item>
		<item>
		<title>First Post!</title>
		<link>https://www.ibd.com/blogging/first-post/</link>
					<comments>https://www.ibd.com/blogging/first-post/#comments</comments>
		
		<dc:creator><![CDATA[Robert J Berger]]></dc:creator>
		<pubDate>Thu, 13 Nov 2008 08:20:59 +0000</pubDate>
				<category><![CDATA[blogging]]></category>
		<guid isPermaLink="false">http://blog2.ibd.com/?p=4</guid>

					<description><![CDATA[<p>Finally after all these years I got around to putting up a blog. Better late than never! The trigger is that we&#8217;ve been doing so many interesting things at Cinch in terms of tech, I need a place to put it all.  And I&#8217;ve been itching to have a place to spew my thoughts and opinions on what&#8217;s been going&#8230;</p>
<p>The post <a href="https://www.ibd.com/blogging/first-post/">First Post!</a> first appeared on <a href="https://www.ibd.com">Cognizant Transmutation</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>Finally after all these years I got around to putting up a blog. Better late than never!</p>
<p>The trigger is that we&#8217;ve been doing so many interesting things at Cinch in terms of tech, I need a place to put it all. </p>
<p>And I&#8217;ve been itching to have a place to spew my thoughts and opinions on what&#8217;s been going on in the world as well as a place to post things I find interesting in my wanderings thru the &#8216;tubes.</p><p>The post <a href="https://www.ibd.com/blogging/first-post/">First Post!</a> first appeared on <a href="https://www.ibd.com">Cognizant Transmutation</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://www.ibd.com/blogging/first-post/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">596</post-id>	</item>
	</channel>
</rss>
