{"id":5789,"date":"2014-04-07T09:09:52","date_gmt":"2014-04-07T09:09:52","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/04\/07\/problem-about-lessphp-collection-of-common-programming-errors\/"},"modified":"2014-04-07T09:09:52","modified_gmt":"2014-04-07T09:09:52","slug":"problem-about-lessphp-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/04\/07\/problem-about-lessphp-collection-of-common-programming-errors\/","title":{"rendered":"problem about lessphp-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/c5c848af216f29210a5c4c0b3e1a6639?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nJohannes Klau\u00df<br \/>\nless symfony-2.1 assetic lessphp<br \/>\nI want to compile a LESS file with parameters fetched from the database.So something like this:$color = &#8220;#433332&#8221;;And then in .less@baseColor: $color;Of course this is just pseudocode, so give you an idea what I want to do.I am using Assetic, Symfony 2.1.8-DEV and the leafo\/lessphp bundle.I have no idea how I could achieve this. Is it even possible?<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Johannes Klau\u00df less symfony-2.1 assetic lessphp I want to compile a LESS file with parameters fetched from the database.So something like this:$color = &#8220;#433332&#8221;;And then in .less@baseColor: $color;Of course this is just pseudocode, so give you an idea what I want to do.I am using Assetic, Symfony 2.1.8-DEV and the leafo\/lessphp bundle.I have no idea [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5789","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5789","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=5789"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5789\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=5789"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=5789"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=5789"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}