# --- Configuration defaults -----
-my %config = (
+my %config = ();
- # Where is the hcard metadata?
- hcard_meta_file => "$blosxom::datadir/hcard.yml",
-
-);
+# Where is the hcard metadata?
+$config{hcard_meta_file} = "$blosxom::datadir/hcard.yml";
# --------------------------------
# __END_CONFIG__
# --- Configuration defaults -----
-%config = (
+%config = ();
- # tagcloud requires a hashref containing 'tag => count' pairs
- tag_hashref => $tags::tag_counts,
+# tagcloud requires a hashref containing 'tag => count' pairs
+$config{tag_hashref} = $tags::tag_counts;
- # Formatting options
- tagcloud_prefix => qq(<p class="tagcloud">\n),
- tagcloud_suffix => qq(</p>\n),
- show_tag_no => 0,
- min_tag_no => 2,
- min_size => 75,
- max_size => 200,
- entry_type => 'posting',
+# Formatting options
+$config{tagcloud_prefix} = qq(<p class="tagcloud">\n);
+$config{tagcloud_suffix} = qq(</p>\n);
+$config{show_tag_no} = 0;
+$config{min_tag_no} = 2;
+$config{min_size} = 75;
+$config{max_size} = 200;
+$config{entry_type} = 'posting';
- # Tags to omit from tagcloud
- tagcloud_blacklist => [ 'Now Playing' ],
-
-);
+# Tags to omit from tagcloud
+$config{tagcloud_blacklist} = [ 'Now Playing' ];
# ---------------------------------
# __END_CONFIG__
+#blosxom::load_config( \%config, 'tagcloud' );
+
my %tagcloud_blacklist = map { $_ => 1 } @{$config{tagcloud_blacklist}};
$cloud = '';
# --- Configuration defaults -----
-my %config = (
-
- # Extra CSS classes to add to the microformat container e.g. to turn display off
- class => '',
- #class => 'nodisplay',
-
- # Whether to automatically add microformat to story bodies. If not set,
- # you must explicitly add $uf_adr_meta::adr to a template somewhere.
- auto_append_to_body => 1,
-
- # What markup style to use for your adr, if auto-appending.
- # 3 styles are currently defined:
- # 'div-span' uses a 'div' elt for the container, and 'span' elements for the fields
- # 'ul' uses a 'ul' list for the container, and 'li' elements for the fields
- # 'dl' uses a 'dl' list for the container, 'dt' elements for field names, and
- # 'dd' elements for the fields themselves
- #style => 'div-span',
- #style => 'ul',
- style => 'dl',
-
-);
+my %config = ();
+
+# Extra CSS classes to add to the microformat container e.g. to turn display off
+$config{class} = '';
+#$config{class} = 'nodisplay';
+
+# Whether to automatically add microformat to story bodies. If not set,
+# you must explicitly add $uf_adr_meta::adr to a template somewhere.
+$config{auto_append_to_body} = 1;
+
+# What markup style to use for your adr, if auto-appending.
+# 3 styles are currently defined:
+# 'div-span' uses a 'div' elt for the container, and 'span' elements for the fields
+# 'ul' uses a 'ul' list for the container, and 'li' elements for the fields
+# 'dl' uses a 'dl' list for the container, 'dt' elements for field names, and
+# 'dd' elements for the fields themselves
+#$config{style} = 'div-span';
+#$config{style} = 'ul';
+$config{style} = 'dl';
# --------------------------------
# __END_CONFIG__
# --- Configurable variables -----
-my %config = (
-
- # Extra CSS classes to add to the microformat container e.g. to turn display off
- class => '',
- #class => 'nodisplay',
-
- # Whether to automatically add microformat to story bodies. If not set,
- # you must explicitly add $uf_adr_meta::adr to a template somewhere.
- auto_append_to_body => 1,
-
- # What markup style to use for your adr, if auto-appending.
- # 3 styles are currently defined:
- # 'div-span' uses a 'div' elt for the container, and 'span' elements for the fields
- # 'ul' uses a 'ul' list for the container, and 'li' elements for the fields
- # 'dl' uses a 'dl' list for the container, 'dt' elements for field names, and
- # 'dd' elements for the fields themselves
- #style => 'div-span',
- #style => 'ul',
- style => 'dl',
-
-);
+my %config = ();
+
+# Extra CSS classes to add to the microformat container e.g. to turn display off
+$config{class} = '';
+#$config{class} = 'nodisplay';
+
+# Whether to automatically add microformat to story bodies. If not set,
+# you must explicitly add $uf_adr_meta::adr to a template somewhere.
+$config{auto_append_to_body} = 1;
+
+# What markup style to use for your adr, if auto-appending.
+# 3 styles are currently defined:
+# 'div-span' uses a 'div' elt for the container, and 'span' elements for the fields
+# 'ul' uses a 'ul' list for the container, and 'li' elements for the fields
+# 'dl' uses a 'dl' list for the container, 'dt' elements for field names, and
+# 'dd' elements for the fields themselves
+#$config{style} = 'div-span';
+#$config{style} = 'ul';
+$config{style} = 'dl';
# --------------------------------
# __END_CONFIG__
# --- Configurable variables -----
-my %config = (
-
- # Extra CSS classes to add to the microformat container e.g. to turn display off
- class => '',
- #class => 'nodisplay',
-
- # Whether to automatically add microformat to story bodies. If not set,
- # you must explicitly add $uf_adr_meta::adr to a template somewhere.
- auto_append_to_body => 1,
-
- # What markup style to use for your adr, if auto-appending.
- # 3 styles are currently defined:
- # 'div-span' uses a 'div' elt for the container, and 'span' elements for the fields
- # 'ul' uses a 'ul' list for the container, and 'li' elements for the fields
- # 'dl' uses a 'dl' list for the container, 'dt' elements for field names, and
- # 'dd' elements for the fields themselves
- #style => 'div-span',
- #style => 'ul',
- style => 'dl',
-
-);
+my %config = ();
+
+# Extra CSS classes to add to the microformat container e.g. to turn display off
+$config{class} = '';
+#$config{class} = 'nodisplay';
+
+# Whether to automatically add microformat to story bodies. If not set,
+# you must explicitly add $uf_adr_meta::adr to a template somewhere.
+$config{auto_append_to_body} = 1;
+
+# What markup style to use for your adr, if auto-appending.
+# 3 styles are currently defined:
+# 'div-span' uses a 'div' elt for the container, and 'span' elements for the fields
+# 'ul' uses a 'ul' list for the container, and 'li' elements for the fields
+# 'dl' uses a 'dl' list for the container, 'dt' elements for field names, and
+# 'dd' elements for the fields themselves
+#$config{style} = 'div-span';
+#$config{style} = 'ul';
+$config{style} = 'dl';
# --------------------------------
# __END_CONFIG__
# --- Configuration defaults -----
-my %config = (
-
- # Extra CSS classes to add to the microformat container e.g. to turn display off
- class => '',
- #class => 'nodisplay',
-
- # Whether to automatically add microformat to story bodies. If not set,
- # you must explicitly add $uf_adr_meta::adr to a template somewhere.
- auto_append_to_body => 1,
-
- # What markup style to use for your adr, if auto-appending.
- # 3 styles are currently defined:
- # 'div-span' uses a 'div' elt for the container, and 'span' elements for the fields
- # 'ul' uses a 'ul' list for the container, and 'li' elements for the fields
- # 'dl' uses a 'dl' list for the container, 'dt' elements for field names, and
- # 'dd' elements for the fields themselves
- #style => 'div-span',
- #style => 'ul',
- style => 'dl',
-
-);
+my %config = ();
+
+# Extra CSS classes to add to the microformat container e.g. to turn display off
+$config{class} = '';
+#$config{class} = 'nodisplay';
+
+# Whether to automatically add microformat to story bodies. If not set,
+# you must explicitly add $uf_adr_meta::adr to a template somewhere.
+$config{auto_append_to_body} = 1;
+
+# What markup style to use for your adr, if auto-appending.
+# 3 styles are currently defined:
+# 'div-span' uses a 'div' elt for the container, and 'span' elements for the fields
+# 'ul' uses a 'ul' list for the container, and 'li' elements for the fields
+# 'dl' uses a 'dl' list for the container, 'dt' elements for field names, and
+# 'dd' elements for the fields themselves
+#$config{style} = 'div-span';
+#$config{style} = 'ul';
+$config{style} = 'dl';
# --------------------------------
# __END_CONFIG__
# --- Configurable variables -----
-my %config = (
-
- # URL to use as base URL for tag links
- tagbase => "$blosxom::url/tags",
-
- # Extra CSS classes to add to the microformat container e.g. to turn display off
- class => '',
- #class => 'nodisplay',
-
- # Whether to automatically add microformat to story bodies. If not set,
- # you must explicitly add $uf_adr_meta::adr to a template somewhere.
- auto_append_to_body => 1,
-
- # What markup style to use for your adr, if auto-appending.
- # 3 styles are currently defined:
- # 'div-span' uses a 'div' elt for the container, and 'span' elements for the fields
- # 'ul' uses a 'ul' list for the container, and 'li' elements for the fields
- # 'dl' uses a 'dl' list for the container, 'dt' elements for field names, and
- # 'dd' elements for the fields themselves
- #style => 'div-span',
- #style => 'ul',
- style => 'dl',
-
-);
+my %config = ();
+
+# URL to use as base URL for tag links
+$config{tagbase} = "$blosxom::url/tags";
+
+# Extra CSS classes to add to the microformat container e.g. to turn display off
+$config{class} = '';
+#$config{class} = 'nodisplay';
+
+# Whether to automatically add microformat to story bodies. If not set,
+# you must explicitly add $uf_adr_meta::adr to a template somewhere.
+$config{auto_append_to_body} = 1;
+
+# What markup style to use for your adr, if auto-appending.
+# 3 styles are currently defined:
+# 'div-span' uses a 'div' elt for the container, and 'span' elements for the fields
+# 'ul' uses a 'ul' list for the container, and 'li' elements for the fields
+# 'dl' uses a 'dl' list for the container, 'dt' elements for field names, and
+# 'dd' elements for the fields themselves
+#$config{style} = 'div-span';
+#$config{style} = 'ul';
+$config{style} = 'dl';
# --------------------------------
# __END_CONFIG__