<feed xmlns='http://www.w3.org/2005/Atom'>
<title>fripost-wiki/.ikiwiki/IkiWiki/Plugin, branch aktiv-test</title>
<subtitle>Fripost wiki/website sources</subtitle>
<link rel='alternate' type='text/html' href='http://git.fripost.org/fripost-wiki/'/>
<entry>
<title>Debug. Refactor of comments regarding debugging.</title>
<updated>2020-05-31T07:06:04+00:00</updated>
<author>
<name>Gustav Eek</name>
<email>gustav.eek@fripost.org</email>
</author>
<published>2020-05-31T07:06:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.fripost.org/fripost-wiki/commit/?id=51aefdebbe78351cc007e2cc1f851d7703e2386e'/>
<id>51aefdebbe78351cc007e2cc1f851d7703e2386e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Debug. Plugin. Remove all debug outputs"</title>
<updated>2020-02-21T18:16:27+00:00</updated>
<author>
<name>Gustav Eek</name>
<email>gustav.eek@fripost.org</email>
</author>
<published>2020-02-21T18:16:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.fripost.org/fripost-wiki/commit/?id=84da9ca12a22bd47400504475e9297713f3de992'/>
<id>84da9ca12a22bd47400504475e9297713f3de992</id>
<content type='text'>
This reverts commit 6951fb6111bfe48434f9c60eb81396bb10270b47.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 6951fb6111bfe48434f9c60eb81396bb10270b47.
</pre>
</div>
</content>
</entry>
<entry>
<title>Debug. Plugin. Remove all debug outputs</title>
<updated>2020-02-10T17:36:07+00:00</updated>
<author>
<name>Gustav Eek</name>
<email>gustav.eek@fripost.org</email>
</author>
<published>2020-02-10T17:36:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.fripost.org/fripost-wiki/commit/?id=6951fb6111bfe48434f9c60eb81396bb10270b47'/>
<id>6951fb6111bfe48434f9c60eb81396bb10270b47</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Debug. Plugin. Add debug and exploring items</title>
<updated>2020-01-06T15:26:00+00:00</updated>
<author>
<name>Gustav Eek</name>
<email>gustav.eek@fripost.org</email>
</author>
<published>2020-01-06T10:21:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.fripost.org/fripost-wiki/commit/?id=3cf4fc648c34804ce1314aa0a0f3464851830b48'/>
<id>3cf4fc648c34804ce1314aa0a0f3464851830b48</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Debug. Refactor. Plugin. Redo debug output print message for origin clarity</title>
<updated>2020-01-06T15:25:46+00:00</updated>
<author>
<name>Gustav Eek</name>
<email>gustav.eek@fripost.org</email>
</author>
<published>2019-12-15T00:22:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.fripost.org/fripost-wiki/commit/?id=a5160113175b9ac389c0458ca14592408e1a9bd7'/>
<id>a5160113175b9ac389c0458ca14592408e1a9bd7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Feature. Plugin. Provide sets of meta keys for inclusion</title>
<updated>2020-01-06T15:25:10+00:00</updated>
<author>
<name>Gustav Eek</name>
<email>gustav.eek@fripost.org</email>
</author>
<published>2019-12-14T18:48:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.fripost.org/fripost-wiki/commit/?id=9b611caf3208ea05988f4d0bdeacac9eb0c0e59d'/>
<id>9b611caf3208ea05988f4d0bdeacac9eb0c0e59d</id>
<content type='text'>
Add further lists of meta keys to include (*hash_meta_keys*
and *list_hash_meta_keys*), add them to the *list_meta* map in
subroutine *htmlize* and provide them to *pagestate* *meta*.

This makes available, e.g. the *reference* attribute in page
templates.

The commit require some explanation.

Until now, meta attributes were available as

 * Bolean meta (*bool_meta*)
 * Scalar meta (*scalar_meta*)
 * List meta (*list_meta*)

All meta attributes in documents are provided as page template
variables with a 'pandoc_'-prefix. On top of that, attributes listed
in *scalar_meta_keys* are made available as regular template
variables, without prefix.

Lists are problematic. Pure lists are pushed with 'pandoc_' prefix,
but they can not be used. The alternative would be via loops (see
&lt;https://metacpan.org/pod/HTML::Template#TMPL_LOOP&gt;), but inside loops
one need to call for a variable and the pushed attribute does not
provide one.

This commit properly makes available the *reference* attribute, which
is of type list of associated list. This construct actually fully
natural fulfil the limitations of lists. Template loops generate the
items, whose values are available with keys as variable names:

    ---
    references:
     - id: refone
       title: Ref-MetaInlines-in-MetaList
     - id: reftwo
       title: Ref-MetaInlines-in-MetaList
    ...

Which is called like this:

    &lt;TMPL_IF REFERENCES&gt;
      &lt;TMPL_LOOP REFERENCES&gt;
         &lt;TMPL_VAR ID&gt;
         &lt;TMPL_VAR TITLE&gt;
      &lt;/TMPL_LOOP&gt;
    &lt;/TMPL_IF&gt;

How is hacky. The items in *hash_meta_keys* and *list_hash_meta_keys*
are added to *list_meta_keys* and undergo the list processing. The
list processing contradictory adopted better for *list_hash_meta_keys*
than for *list_meta_keys*.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add further lists of meta keys to include (*hash_meta_keys*
and *list_hash_meta_keys*), add them to the *list_meta* map in
subroutine *htmlize* and provide them to *pagestate* *meta*.

This makes available, e.g. the *reference* attribute in page
templates.

The commit require some explanation.

Until now, meta attributes were available as

 * Bolean meta (*bool_meta*)
 * Scalar meta (*scalar_meta*)
 * List meta (*list_meta*)

All meta attributes in documents are provided as page template
variables with a 'pandoc_'-prefix. On top of that, attributes listed
in *scalar_meta_keys* are made available as regular template
variables, without prefix.

Lists are problematic. Pure lists are pushed with 'pandoc_' prefix,
but they can not be used. The alternative would be via loops (see
&lt;https://metacpan.org/pod/HTML::Template#TMPL_LOOP&gt;), but inside loops
one need to call for a variable and the pushed attribute does not
provide one.

This commit properly makes available the *reference* attribute, which
is of type list of associated list. This construct actually fully
natural fulfil the limitations of lists. Template loops generate the
items, whose values are available with keys as variable names:

    ---
    references:
     - id: refone
       title: Ref-MetaInlines-in-MetaList
     - id: reftwo
       title: Ref-MetaInlines-in-MetaList
    ...

Which is called like this:

    &lt;TMPL_IF REFERENCES&gt;
      &lt;TMPL_LOOP REFERENCES&gt;
         &lt;TMPL_VAR ID&gt;
         &lt;TMPL_VAR TITLE&gt;
      &lt;/TMPL_LOOP&gt;
    &lt;/TMPL_IF&gt;

How is hacky. The items in *hash_meta_keys* and *list_hash_meta_keys*
are added to *list_meta_keys* and undergo the list processing. The
list processing contradictory adopted better for *list_hash_meta_keys*
than for *list_meta_keys*.
</pre>
</div>
</content>
</entry>
<entry>
<title>Feature. Plugin. Push listed meta variables to template.</title>
<updated>2020-01-06T15:25:10+00:00</updated>
<author>
<name>Gustav Eek</name>
<email>gustav.eek@fripost.org</email>
</author>
<published>2019-12-14T15:13:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.fripost.org/fripost-wiki/commit/?id=5dcfb79dd6b229411d4ef35ff88cb898bf412c3f'/>
<id>5dcfb79dd6b229411d4ef35ff88cb898bf412c3f</id>
<content type='text'>
In function *pagetemplate*, template variables are added as pandas_*
variables. This fix provides also those listed as scalar and list meta
keys without the Pandoc prefix.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In function *pagetemplate*, template variables are added as pandas_*
variables. This fix provides also those listed as scalar and list meta
keys without the Pandoc prefix.
</pre>
</div>
</content>
</entry>
<entry>
<title>Feature. Plugin. Support of complex meta structures</title>
<updated>2020-01-06T15:25:10+00:00</updated>
<author>
<name>Gustav Eek</name>
<email>gustav.eek@fripost.org</email>
</author>
<published>2019-12-14T15:08:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.fripost.org/fripost-wiki/commit/?id=aa735c9cfd42ef9f0db515cefdf3e147f5f76e2d'/>
<id>aa735c9cfd42ef9f0db515cefdf3e147f5f76e2d</id>
<content type='text'>
Add support in *unwrap_c* for support of the structure: *MetaList*
with 2 x *MetaMap* with keys pointing to *MetaInlines*:

    ---
    references:
     - id: refone
       title: Ref-MetaInlines-in-MetaList
     - id: reftwo
       title: Ref-MetaInlines-in-MetaList
    ...

Actually it sounds complex but this fix should also be needed for the
simpler example of *MetaMap* with keys pointing at *MetaInlines*:

    ---
    experiment:
     key_first: Värde
     key_second: värde
    ...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add support in *unwrap_c* for support of the structure: *MetaList*
with 2 x *MetaMap* with keys pointing to *MetaInlines*:

    ---
    references:
     - id: refone
       title: Ref-MetaInlines-in-MetaList
     - id: reftwo
       title: Ref-MetaInlines-in-MetaList
    ...

Actually it sounds complex but this fix should also be needed for the
simpler example of *MetaMap* with keys pointing at *MetaInlines*:

    ---
    experiment:
     key_first: Värde
     key_second: värde
    ...
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor. Move lists of meta lables to promote to top of file</title>
<updated>2020-01-06T15:25:10+00:00</updated>
<author>
<name>Gustav Eek</name>
<email>gustav.eek@fripost.org</email>
</author>
<published>2019-12-14T14:58:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.fripost.org/fripost-wiki/commit/?id=4f56301fff832189cb253ef98e62a064f82e2c54'/>
<id>4f56301fff832189cb253ef98e62a064f82e2c54</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>In pandoc.pm update Debug printing to file</title>
<updated>2020-01-06T12:31:44+00:00</updated>
<author>
<name>Gustav Eek</name>
<email>gustav.eek@fripost.org</email>
</author>
<published>2019-12-14T14:01:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.fripost.org/fripost-wiki/commit/?id=8789cce4b995551405d701d8403a0cbc955dd82f'/>
<id>8789cce4b995551405d701d8403a0cbc955dd82f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
