<?xml version='1.0'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:atom="http://www.w3.org/2005/Atom" >
<channel>
	<title><![CDATA[Frdlweb: All site blogs: December 2023}]]></title>
	<link>https://frdl.de/blog/all/1701388800/1704067200</link>
	<atom:link href="https://frdl.de/blog/all/1701388800/1704067200" rel="self" type="application/rss+xml" />
	<description><![CDATA[}]]></description>
		<item>
	<guid isPermaLink="true">https://frdl.de/blog/view/1225/webfanjs-frdlwebjs-markdown-components</guid>
	<pubDate>Mon, 25 Dec 2023 21:37:40 +0000</pubDate>
	<link>https://frdl.de/blog/view/1225/webfanjs-frdlwebjs-markdown-components</link>
	<title><![CDATA[webfan.js | Frdlweb.js - Markdown Components]]></title>
	<description><![CDATA[<p>The <a href="https://frdlweb.de/cdn/index#examples">framework</a> parses everything that is in the innerHTML of an element wich has the attribute or the class <code>frdl-markdown</code> as <a href="https://de.wikipedia.org/wiki/Markdown">markdown</a> and then purifies the HTML result. So for example:</p><blockquote><p>&lt;div frdl-markdown&gt;</p><p>**fat**</p><p>&lt;/div&gt;</p></blockquote><p>…will be parsed into:</p><blockquote><p>&lt;div frdl-markdown&gt;</p><p>&lt;b&gt;fat&lt;/b&gt;</p><p>&lt;/div&gt;</p></blockquote><p>…and the result looks like:</p><blockquote><p><strong>fat</strong></p></blockquote>]]></description>
	<dc:creator>Melanie Wehowski</dc:creator>		</item>
<item>
	<guid isPermaLink="true">https://frdl.de/blog/view/1213/darkmode-added-to-the-framework</guid>
	<pubDate>Sat, 23 Dec 2023 19:21:06 +0000</pubDate>
	<link>https://frdl.de/blog/view/1213/darkmode-added-to-the-framework</link>
	<title><![CDATA[Darkmode added to the framework]]></title>
	<description><![CDATA[<p>Thanks to <a href="https://www.npmjs.com/package/darkmode-js">darkmode-js</a>, a darkmode was added to the framework:</p><blockquote><p>&nbsp;&nbsp;&nbsp;&nbsp;async function darkmode(Webfan){<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;try{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(true !== Webfan.c.website.darkmode.enabled &amp;&amp; 'true' !== Webfan.c.website.darkmode.enabled){<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;return;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(new Webfan.Darkmode(Webfan.c.website.darkmode.options)).showWidget();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}catch(err){<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;console.warn(err);&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;}</p></blockquote><p><a href="https://frdl.de/blog/view/1208/webfanjs-webfan-websitejs-configuration-parameters">Read here how you can change the options: https://frdl.de/blog/view/1208/webfanjs-webfan-websitejs-configuration-parameters</a></p><p>&nbsp;</p>]]></description>
	<dc:creator>Melanie Wehowski</dc:creator>		</item>
<item>
	<guid isPermaLink="true">https://frdl.de/blog/view/1208/webfanjs-frdlwebjs-configuration-parameters</guid>
	<pubDate>Sat, 23 Dec 2023 19:17:39 +0000</pubDate>
	<link>https://frdl.de/blog/view/1208/webfanjs-frdlwebjs-configuration-parameters</link>
	<title><![CDATA[webfan.js | Frdlweb.js Configuration Parameters]]></title>
	<description><![CDATA[<p>As you may have noticed we have appended the <a href="https://frdlweb.de/cdn/index#examples">injection-Url for the webfan.js in the example</a> by a “configuration query”:<br />&nbsp;</p><pre><code class="language-plaintext">'DEBUG.enabled=true&amp;website.consent.ads=false&amp;angularjs.html5mode.rewriteLinks=false&amp;angularjs.html5mode.enabled=false'</code></pre><p>These query-attributes are objects in the “dot-notation”. You can <strong>alter the query</strong> and it will be <strong>merged</strong> into the configuration object.</p><p>To get <strong>the defaults</strong> of the configuration object and to get wich attributes/members you can use/alter, you can read and study this file:</p><p><a href="https://cdn.startdir.de/@webfan3/common/config-defaults.js">https://cdn.startdir.de/@webfan3/common/config-defaults.js</a>&nbsp;</p><blockquote><p>…</p><p>DEF.angularjs.html5mode.enabled = true; //null !== document.querySelector('base');</p><p>DEF.angularjs.html5mode.requireBase = null !== document.querySelector('base');</p><p>DEF.angularjs.html5mode.rewriteLinks = null !== document.querySelector('a[ui-sref]');</p><p>…</p></blockquote><p>It will be compiled into every current webpack built.</p><p>You can edit this options runtime as described above.</p>]]></description>
	<dc:creator>Melanie Wehowski</dc:creator>		</item>
</channel>
</rss>
