{"id":480,"date":"2014-03-15T17:29:57","date_gmt":"2014-03-16T01:29:57","guid":{"rendered":"https:\/\/maxbronsema.com\/blog\/?p=480"},"modified":"2014-03-15T17:29:57","modified_gmt":"2014-03-16T01:29:57","slug":"first-foray-into-pico-cms","status":"publish","type":"post","link":"https:\/\/maxbronsema.com\/blog\/2014\/03\/15\/first-foray-into-pico-cms\/","title":{"rendered":"First foray into Pico CMS"},"content":{"rendered":"<p>I started playing with Pico CMS this weekend. I converted everything that is on my Concrete5 based site into the Pico site on my development box. I am pretty happy so far with the system.<\/p>\n<h3>Struggles:<\/h3>\n<ul>\n<li>Markdown syntax<\/li>\n<li>Including &#8220;widgets&#8221;<\/li>\n<\/ul>\n<p>The markdown syntax is not hard, it is just unfamiliar to me. However, I can already see how it simplifies content entry. Once I get up to speed it will be fast and quite fun. Creating links with []() as a syntax is cool.<\/p>\n<p>I also was not aware that tabs in your formatting makes Markdown misbehave. I am quite certain it is a feature, so that if you want to show code in pretty formatting you can just tab on a new line and it will output HTML rather than rendering the HTML. The same is true if you want a list and you press tab and then use an asterix, no list appears just an asterix and your content on the screen.<\/p>\n<p>I have not yet determined the best way to include a &#8220;widget&#8221; in the markdown syntax. For instance, I have a display of recently read books generated from Good Reads and the HTML\/JS\/CSS that is generated for that is bulky. I would love to be able to include that chunk of code with something like<\/p>\n<pre>&lt;?php include ('goodreads.html'); ?&gt;<\/pre>\n<p>That may be possible but I haven&#8217;t figured it out yet as the include would be in a .md file not .php. For now, I just pasted the chunk into the page and it works but it does not seem to be maintainable.<\/p>\n<h3>Triumphs:<\/h3>\n<ul>\n<li>It is simply awesome to be able to create directories and have that become a path that is responded to by the CMS.<\/li>\n<li>The system is so raw it lets me really see the web as a canvas again for playing and experimenting on.<\/li>\n<\/ul>\n<p>In Drupal, it is very easy to create new paths using path-auto and alias. However, where that page lives is in the database. When it comes time to do a redirect it updates the database. Within the Pico paradigm, you just move the file or directory and the paths are updated. An Apache rewrite rule I am sure would be needed for continuity but there is no admin interface to go into, no menu structure to explain, it is simple. That is refreshing.<\/p>\n<p>The default theme is not responsive but it doesn&#8217;t do anything with the content either. It is plopped onto the screen. As Pico is based on Twig I am excited to build a simple Twig and Singularity based theme. The theme will also have some classes built in to support slideshows. It will be a good adventure.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I started playing with Pico CMS this weekend. I converted everything that is on my Concrete5 based site into the Pico site on my development box. I am pretty happy so far with the system. Struggles: Markdown syntax Including &#8220;widgets&#8221; The markdown syntax is not hard, it is just unfamiliar to me. However, I can &hellip; <a href=\"https:\/\/maxbronsema.com\/blog\/2014\/03\/15\/first-foray-into-pico-cms\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">First foray into Pico CMS<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[50,42,2],"tags":[],"class_list":["post-480","post","type-post","status-publish","format-standard","hentry","category-linux","category-pico-cms","category-web-development"],"_links":{"self":[{"href":"https:\/\/maxbronsema.com\/blog\/wp-json\/wp\/v2\/posts\/480","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/maxbronsema.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/maxbronsema.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/maxbronsema.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/maxbronsema.com\/blog\/wp-json\/wp\/v2\/comments?post=480"}],"version-history":[{"count":2,"href":"https:\/\/maxbronsema.com\/blog\/wp-json\/wp\/v2\/posts\/480\/revisions"}],"predecessor-version":[{"id":482,"href":"https:\/\/maxbronsema.com\/blog\/wp-json\/wp\/v2\/posts\/480\/revisions\/482"}],"wp:attachment":[{"href":"https:\/\/maxbronsema.com\/blog\/wp-json\/wp\/v2\/media?parent=480"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/maxbronsema.com\/blog\/wp-json\/wp\/v2\/categories?post=480"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/maxbronsema.com\/blog\/wp-json\/wp\/v2\/tags?post=480"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}