<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: johnaweiss</title>
    <description>The latest articles on DEV Community by johnaweiss (@johnaweiss).</description>
    <link>https://dev.to/johnaweiss</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F374600%2F82bf6588-8214-434c-87e0-f86ecafb4b20.jpeg</url>
      <title>DEV Community: johnaweiss</title>
      <link>https://dev.to/johnaweiss</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/johnaweiss"/>
    <language>en</language>
    <item>
      <title>HTML Node Templating System</title>
      <dc:creator>johnaweiss</dc:creator>
      <pubDate>Tue, 29 Nov 2022 04:39:19 +0000</pubDate>
      <link>https://dev.to/johnaweiss/html-node-templating-system-5g98</link>
      <guid>https://dev.to/johnaweiss/html-node-templating-system-5g98</guid>
      <description>&lt;p&gt;Check out this lightweight, robust HTML node-layout templating system. It enables HTML programmer to more easily control the layout of an arbitrary number of identical HTML sibling nodes, each containing different data, pulled from a hidden table. Designed to minimize effort and reduce keystrokes for the HTML programmer, and protect live HTML from content admins.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/johnaweiss/HTML-Micro-Templating"&gt;https://github.com/johnaweiss/HTML-Micro-Templating&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--GftJJk3I--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9ulj57py1h0oovvilwl4.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--GftJJk3I--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9ulj57py1h0oovvilwl4.jpg" alt="Image description" width="767" height="375"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This system isn't for templating an entire website or webpage. It's for repeated HTML nodes within a page.&lt;/p&gt;

&lt;h2&gt;
  
  
  Benefits
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;There's just one copy of the HTML layout to edit.&lt;/li&gt;
&lt;li&gt;Content admins never need to touch the HTML of the node-series. They just edit a plain-text list of records.&lt;/li&gt;
&lt;li&gt;All dynamic assets can be contained within a single HTML file.&lt;/li&gt;
&lt;li&gt;Supports any number of templates, datasets, and insertion-points on the same webpage.&lt;/li&gt;
&lt;li&gt;Optionally, for safer content-management, data can be stored in a separate file from the webpage. (Requires PHP.)&lt;/li&gt;
&lt;li&gt;No database needed.&lt;/li&gt;
&lt;li&gt;Built using vanilla Javascript. No library or framework needed. Extremely lightweight Javascript.&lt;/li&gt;
&lt;li&gt;HTML templates and data can be mixed and switched on the same webpage with the same ease as CSS styles, as long as the fields match up.&lt;/li&gt;
&lt;li&gt;Variable data can be inserted anywhere in the template's HTML, including element metadata.&lt;/li&gt;
&lt;li&gt;Clean, resilient code.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://github.com/johnaweiss/HTML-Micro-Templating"&gt;https://github.com/johnaweiss/HTML-Micro-Templating&lt;/a&gt;&lt;/p&gt;

</description>
      <category>nodes</category>
      <category>templating</category>
      <category>html</category>
      <category>clones</category>
    </item>
  </channel>
</rss>
