<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Nikola on Noetic Nought</title>
    <link>https://punchagan.muse-amuse.in/tags/nikola/</link>
    <description>Recent content in Nikola on Noetic Nought</description>
    <generator>Hugo</generator>
    <language>en-US</language>
    <copyright>© 2006-2026 CC-BY-SA-4.0</copyright>
    <lastBuildDate>Sat, 21 May 2016 00:00:00 +0530</lastBuildDate>
    <atom:link href="https://punchagan.muse-amuse.in/tags/nikola/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>blog-admin and Nikola</title>
      <link>https://punchagan.muse-amuse.in/blog/blog-admin-and-nikola/</link>
      <pubDate>Sat, 21 May 2016 00:00:00 +0530</pubDate>
      <guid>https://punchagan.muse-amuse.in/blog/blog-admin-and-nikola/</guid>
      <description>&lt;p&gt;Another post about blogging.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://github.com/CodeFalling/blog-admin&#34;&gt;blog-admin&lt;/a&gt; now supports &lt;a href=&#34;http://getnikola.com&#34;&gt;Nikola&lt;/a&gt;, thanks to yours truly. &lt;code&gt;blog-admin&lt;/code&gt; is an Emacs&#xA;package by &lt;a href=&#34;https://twitter.com/codefalling&#34;&gt;CodeFalling&lt;/a&gt; that lets you view and manage your (static site&#xA;generated) blog from within inside Emacs.&lt;/p&gt;&#xA;&lt;p&gt;Nikola&amp;rsquo;s command line utility is pretty nifty and does a bunch of useful&#xA;things. I had a few utility functions to do common tasks like create new post&#xA;and deploy blog. This worked well, but moment I came across this &lt;code&gt;blog-admin&lt;/code&gt;&amp;rsquo;s&#xA;tabular view, I was sold!&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://github.com/punchagan/org2blog&#34;&gt;org2blog&lt;/a&gt; (a blogging tool I used previously) had a tracking file that kept&#xA;track of all the posts I made, and I used it quite a bit for navigation &amp;ndash;&#xA;thanks to &lt;code&gt;org-mode&lt;/code&gt;&amp;rsquo;s search functionality. The tabular view of &lt;code&gt;blog-admin&lt;/code&gt;&#xA;is even better!  I really like the fact that the author has tried to keep the&#xA;package generic enough to support any blog, and adding support for Nikola has&#xA;been quite easy.&lt;/p&gt;&#xA;&lt;p&gt;The filtering functionality is crude, but good enough for a start. One thing I&#xA;want to add is a preview functionality for drafts. Showing some (writing)&#xA;statistics would also be nice &amp;ndash; No. posts in the last month, total published&#xA;posts, etc.  No promises, but you may see some of these things, soon. :)&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Recurse Center, 2014-08-05</title>
      <link>https://punchagan.muse-amuse.in/recurse-center/recurse-center-2014-08-05/</link>
      <pubDate>Tue, 05 Aug 2014 23:44:33 -0400</pubDate>
      <guid>https://punchagan.muse-amuse.in/recurse-center/recurse-center-2014-08-05/</guid>
      <description>&lt;ul&gt;&#xA;&lt;li&gt;Spent a couple of hours in the morning, trying to revive a html template for&#xA;blaggregator, that I missed out on committing previously, and wiped out due&#xA;to negligence in using `git clean`.&lt;/li&gt;&#xA;&lt;li&gt;Spent time post lunch working through the first two chapters of the baking pi&#xA;course, by myself, reading up different references, and finally getting how&#xA;I/O is mapped to the memory in ARM.&lt;/li&gt;&#xA;&lt;li&gt;Actually, almost.  A variant of the example that I thought should work,&#xA;doesn&amp;rsquo;t.  So, I need to think/talk about it today.&lt;/li&gt;&#xA;&lt;li&gt;I sent a patch to Nikola for the lastdeploy timestamp being UTC.  I was&#xA;hoping to work around an &lt;a href=&#34;https://github.com/sursh/blaggregator/issues/56&#34;&gt;issue&lt;/a&gt; with Blaggregator, by somehow fixing it on the&#xA;client side, but that&amp;rsquo;s probably not the right way to go about it.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;</description>
    </item>
    <item>
      <title>Org based posts in Nikola</title>
      <link>https://punchagan.muse-amuse.in/blog/org-based-posts-in-nikola/</link>
      <pubDate>Sun, 20 Apr 2014 00:00:00 +0530</pubDate>
      <guid>https://punchagan.muse-amuse.in/blog/org-based-posts-in-nikola/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;http://binchen.org/&#34;&gt;Chen Bin&lt;/a&gt; asked me to share my Nikola+Org work-flow, and share an&#xA;example post.&lt;/p&gt;&#xA;&lt;p&gt;The org source for any post can be found by changing the URL of a post&#xA;from &lt;code&gt;.html&lt;/code&gt; to &lt;code&gt;.org&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;I don&amp;rsquo;t have much of a work-flow, because I don&amp;rsquo;t post too often, but&#xA;here is what I typically do, to make a new post.&lt;/p&gt;&#xA;&lt;p&gt;I start off by creating a new post using&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;$ nikola new_post&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;and then give the post a title and start editing the post in Emacs.&lt;/p&gt;&#xA;&lt;p&gt;I have a simple snippet that lets me insert tags, based on existing&#xA;tags.&lt;/p&gt;&#xA;&lt;script src=&#34;https://gist.github.com/6629020.js&#34;&gt;&lt;/script&gt;&#xA;&lt;p&gt;Once I&amp;rsquo;m happy with the content of a post, I run &lt;code&gt;nikola auto&lt;/code&gt; to&#xA;build the source and serve it locally, and see if the post &amp;ldquo;looks&amp;rdquo;&#xA;reasonable, after being rendered.&lt;/p&gt;&#xA;&lt;p&gt;Once, I&amp;rsquo;m happy with it, I commit the post and deploy it using &lt;code&gt;nikola deploy&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;I also have a plugin, that posts captured bookmarks and quotes onto&#xA;the blog, with a single command. I should probably make the sources of&#xA;my blog open, and push it onto GitHub.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Update &lt;span class=&#34;timestamp-wrapper&#34;&gt;&lt;span class=&#34;timestamp&#34;&gt;[2015-05-13 Wed]&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;I use my own &lt;a href=&#34;https://plugins.getnikola.com/#orgmode&#34;&gt;plugin&lt;/a&gt; for Nikola which lets me write posts in org-mode.  There&#xA;is a similar &lt;a href=&#34;https://github.com/redguardtoo/org2nikola&#34;&gt;plugin&lt;/a&gt; by Chen Bin, that exports posts to intermediate html,&#xA;that is then used by Nikola.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;The source for my blog is now on &lt;a href=&#34;https://github.com/punchagan/punchagan.muse-amuse.in&#34;&gt;GitHub&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;I also have &lt;a href=&#34;https://github.com/punchagan/dot-emacs/blob/master/punchagan.org#nikola-stuff&#34;&gt;custom elisp&lt;/a&gt; to be able to make a new post, and deploy the site&#xA;from within Emacs.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;</description>
    </item>
    <item>
      <title>Bookmarks and Quotes plugin</title>
      <link>https://punchagan.muse-amuse.in/blog/bookmarks-and-quotes-plugin/</link>
      <pubDate>Sat, 19 Oct 2013 00:00:00 +0530</pubDate>
      <guid>https://punchagan.muse-amuse.in/blog/bookmarks-and-quotes-plugin/</guid>
      <description>&lt;p&gt;I used to have a separate page for bookmarks and quotes on the old&#xA;blog.  They will now be shared as regular posts with 5 or more&#xA;bookmarks/quotes.  I use a bookmarklet in my browser to capture links&#xA;to an org-file using org-capture protocol and then I have a small&#xA;plugin to Nikola, that looks at such captured bookmarks and quotes and&#xA;makes new posts out of them.  This workflow is inspired by Brett&#xA;Trepestra&amp;rsquo;s &lt;a href=&#34;http://brettterpstra.com/2013/01/15/a-web-excursions-system-for-static-blogs/&#34;&gt;web excursions&lt;/a&gt; plugin.&lt;/p&gt;&#xA;&lt;p&gt;The plugin is currently a part of my blog source, and not published to&#xA;Nikola&amp;rsquo;s plugin repository since it is very specific to my setup.  But&#xA;if anybody is interested, I can publish the code somewhere public.&lt;/p&gt;&#xA;&lt;p&gt;If you are interested to get these links and bookmarks into your feed reader,&#xA;you can subscribe to their feed: [quotes], &lt;a href=&#34;https://punchagan.muse-amuse.in/tags/cat_bookmarks.xml&#34;&gt;bookmarks&lt;/a&gt;.  These posts will also&#xA;make it to the main feed, though.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE &lt;span class=&#34;timestamp-wrapper&#34;&gt;&lt;span class=&#34;timestamp&#34;&gt;[2015-11-15 Sun 20:45]&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The quotes feed no longer exists!&lt;/li&gt;&#xA;&lt;li&gt;The bookmarks feed doesn&amp;rsquo;t really get too many updates. I use pinboard for my&#xA;bookmarks, now.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;</description>
    </item>
  </channel>
</rss>
