<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Nikola (Posts about netlify)</title><link>https://getnikola.com/</link><description></description><atom:link href="https://getnikola.com/categories/netlify.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><lastBuildDate>Sat, 02 Dec 2023 09:00:46 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>A CMS (or two) for Nikola: Dato CMS and Netlify CMS integration</title><link>https://getnikola.com/blog/a-cms-or-two-for-nikola-dato-cms-and-netlify-cms-integration.html</link><dc:creator>Chris Warrick</dc:creator><description>&lt;p&gt;One of the many complaints users have about static site generators is the fact
that non-tech-savvy users who don’t understand the command line or don’t want
to learn Markdown/reST can’t use SSGs. We’ve tried to solve this before with
Coil CMS, but that project is now dead, and was hard to configure properly.
The problem was not solved, &lt;em&gt;until now&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;Roberto Alsina and Chris Warrick independently built integrations for &lt;strong&gt;Dato
CMS&lt;/strong&gt;, &lt;strong&gt;Netlify CMS&lt;/strong&gt; and &lt;strong&gt;Contentful&lt;/strong&gt;. Here they are:&lt;/p&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;p&gt;&lt;a class="reference external" href="https://plugins.getnikola.com/v8/datocms/"&gt;https://plugins.getnikola.com/v8/datocms/&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a class="reference external" href="https://github.com/getnikola/nikola-netlify-cms"&gt;https://github.com/getnikola/nikola-netlify-cms&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a class="reference external" href="https://plugins.getnikola.com/v8/contentful/"&gt;https://plugins.getnikola.com/v8/contentful/&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Both CMSes offer facilities for non-technical editors to write content,
including a &lt;strong&gt;WYSIWYG&lt;/strong&gt; editor.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Dato CMS&lt;/strong&gt; may require a bit more work at first, but you can automate it (eg. with
Travis CI, or Netlify). Our integration lets you deploy your site anywhere.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Netlify CMS&lt;/strong&gt; can be deployed with one click (and a few configuration changes),
and includes automation and hosting at Netlify (and GitHub). You can also use
some other hosting service, but that will require some extra work on your side.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Contentful&lt;/strong&gt; does not require a local install of Node to work, which makes
it easier to use and automate, while leaving the hosting up to you.&lt;/p&gt;
&lt;p&gt;Make sure to check them both out — have fun!&lt;/p&gt;
&lt;p&gt;&lt;em&gt;(Updated 2017-12-06 to add Contentful support)&lt;/em&gt;&lt;/p&gt;</description><category>contentful</category><category>datocms</category><category>netlify</category><category>nikola</category><category>planet</category><guid>https://getnikola.com/blog/a-cms-or-two-for-nikola-dato-cms-and-netlify-cms-integration.html</guid><pubDate>Tue, 05 Dec 2017 19:15:00 GMT</pubDate></item><item><title>Really Static Comments with Staticman</title><link>https://getnikola.com/blog/really-static-comments-with-staticman.html</link><dc:creator>Roberto Alsina</dc:creator><description>&lt;p&gt;Static sites have many advantages, we always say. But they also have at least one
large inherent disadvantage: they are not dynamic. Not being dynamic means that
forms that alter the content of the site itself are not possible without going
outside the static side of things.&lt;/p&gt;
&lt;p&gt;That's why for comments we all end up using something like &lt;a class="reference external" href="http://disqus.com"&gt;Disqus&lt;/a&gt;
or some other alternative service, or &lt;a class="reference external" href="http://posativ.org/isso"&gt;Isso&lt;/a&gt; if you
prefer the annoyance of self-hosting instead of the annoyance of having your data
be owned by someone else.&lt;/p&gt;
&lt;p&gt;So... how about a service that lets you do forms, but:&lt;/p&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;p&gt;You keep full control of your data&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The service doesn't limit what you can do with the data&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;You can use it for most things a form is used for?&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;It's free!&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;That service is called &lt;a class="reference external" href="https://staticman.net"&gt;Staticman&lt;/a&gt; and it's &lt;strong&gt;awesome&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;This is how it works:&lt;/p&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;p&gt;You put your site in GitHub (or soon, Gitlab!)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;You do &lt;a class="reference external" href="https://github.com/ralsina/staticman-data/blob/master/staticman.yml"&gt;some configuration&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;And Staticman will take the form's data, convert it to JSON, YAML, or whatever, and put
it back in your site's GitHub repo. You can choose whether it uses "moderation", and
do that via a pull request, or not, in which case it just commits directly.&lt;/p&gt;
&lt;p&gt;Nikola can then use those data files from its templates, like in &lt;a class="reference external" href="https://github.com/ralsina/staticman-data/blob/master/templates/post.tmpl"&gt;this example&lt;/a&gt; which displays a form to post comments, and a list of previous comments.&lt;/p&gt;
&lt;p&gt;Then, if you combine that with an autobuild system, like &lt;a class="reference external" href="https://getnikola.com/blog/automating-nikola-rebuilds-with-travis-ci.html"&gt;using Travis&lt;/a&gt; or &lt;a class="reference external" href="https://getnikola.com/blog/from-zero-to-nikola-in-one-minute-without-installing-anything.html"&gt;Netlify&lt;/a&gt; or &lt;a class="reference external" href="https://gitlab.com/pages/nikola"&gt;Gitlab&lt;/a&gt; that means a few seconds/minutes after the form is submitted, the data appears back in the site.&lt;/p&gt;
&lt;p&gt;So, what do we end up with? A site with comments, where you own all the data, and not even need to
use Javascript to display the comments!&lt;/p&gt;
&lt;p&gt;You can see it in action in this demo site: &lt;a class="reference external" href="http://staticman-demo.netlify.com/posts/sample-post-with-staticman-comments.html"&gt;staticman-demo.netlify.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;TODO:&lt;/strong&gt; submit the form via Javascript instead, so it does it in the background instead of
dumping JSON results on you.&lt;/p&gt;
&lt;p&gt;Have fun, leave a comment :-)&lt;/p&gt;</description><category>comments</category><category>netlify</category><category>nikola</category><category>staticman</category><guid>https://getnikola.com/blog/really-static-comments-with-staticman.html</guid><pubDate>Wed, 31 Aug 2016 12:51:07 GMT</pubDate></item></channel></rss>