Package: chronicle Version: 4.6-2 Severity: wishlist Tags: patch Dear Maintainer,
sometimes articles are not ready for publication yet. I could give
them a date in the future but that's noch very robust. The patch below
adds a new header "Draft:". If set to a true (in the Perl sense) value
like in
Title: Some wannabe blog engines, rather U+1F4A9
Draft: Needs some time to settle down
the article will be skipped.
@@ -2227,6 +2227,16 @@
return 0;
}
+ #
+ # Drop articles marked as "draft"
+ #
+ if ( $meta{ 'draft' } )
+ {
+ $CONFIG{ 'verbose' } &&
+ print
+ "Skipping entry $filename - marked as draft\n";
+ return 0;
+ }
#
Worked for me.
Christoph
signature.asc
Description: Digital signature

