EnglishFrenchSpanish

Ad


OnWorks favicon

chronicle-entry-filter - Online in the Cloud

Run chronicle-entry-filter in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command chronicle-entry-filter that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


chronicle-entry-filter - Convert blog files to HTML, if required.

SYNOPSIS


Help Options

--help Show a brief help overview.
--version Show the version of this script.

Options

--format The global format of all entries.
--filename The name of the single file to process.

Filters

--pre-filter A filter to run before convertion to HTML.
--post-filter A filter to run after HTML conversion.

ABOUT


This script is designed to receive a filename and a global formatting type upon the
command line. The formatting type specifies how the blog entry file will be processed:

1. If the format is "textile" the file will be converted from textile
to HTML.

2. If the format is "markdown" the file will be converted from markdown
to HTML. The related format "multimarkdown" is also recognised.

3. If the format is "html" no changes will be made.

Once the conversion has been applied the code will also be scanned for <code> tags to
expand via the Text::VimColour module, if it is installed, which allows the pretty-
printing of source code.

To enable the syntax highlighting of code fragments you should format your code samples as
follows:

Subject: Some highlighted code.
Date: 25th December 2009
Tags: chronicle, perl, blah

<p>Here is some code which will look pretty ..</p>
<code lang="perl">
#!/usr/bin/perl -w
...
..
</code>

Notice the use of lang="perl", which provides a hint as to the type of syntax highlighting
to apply.

Additionally you may make use of the pre-filter and post-filter pseudo-headers which allow
you to transform the entry in further creative fashions.

For example you might wish the blog to be upper-case only for some reason, and this could
be achieved via:

Subject: I DONT LIKE LOWER CASE
Tags: meta, random, silly
Date: 25th December 2009
Pre-Filter: perl -pi -e "s/__USER__/`whoami`/g"
Post-filter: tr [a-z] [A-Z]

<p>This post, written by __USER__ will have no lower-case values.</p>
<p>Notice how my username was inserted too?</p>

You may chain arbitrarily complex filters together via the filters. Each filter should
read the entry on STDIN and return the updated content to STDOUT.

(If you wish to apply a global filter simply pass that as an argument to chronicle, or in
your chroniclerc file.)

Use chronicle-entry-filter online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    AstrOrzPlayer
    AstrOrzPlayer
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    b...
    Download AstrOrzPlayer
  • 2
    movistartv
    movistartv
    Kodi Movistar+ TV es un ADDON para XBMC/
    Kodi que permite disponer de un
    decodificador de los servicios IPTV de
    Movistar integrado en uno de los
    mediacenters ma...
    Download movistartv
  • 3
    Code::Blocks
    Code::Blocks
    Code::Blocks is a free, open-source,
    cross-platform C, C++ and Fortran IDE
    built to meet the most demanding needs
    of its users. It is designed to be very
    extens...
    Download Code::Blocks
  • 4
    Amidst
    Amidst
    Amidst or Advanced Minecraft Interface
    and Data/Structure Tracking is a tool to
    display an overview of a Minecraft
    world, without actually creating it. It
    can ...
    Download Amidst
  • 5
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • 6
    libjpeg-turbo
    libjpeg-turbo
    libjpeg-turbo is a JPEG image codec
    that uses SIMD instructions (MMX, SSE2,
    NEON, AltiVec) to accelerate baseline
    JPEG compression and decompression on
    x86, x8...
    Download libjpeg-turbo
  • More »

Linux commands

  • 1
    abi-tracker
    abi-tracker
    abi-tracker - visualize ABI changes
    timeline of a C/C++ software library.
    DESCRIPTION: NAME: ABI Tracker
    (abi-tracker) Visualize ABI changes
    timeline of a C/C+...
    Run abi-tracker
  • 2
    abicheck
    abicheck
    abicheck - check application binaries
    for calls to private or evolving symbols
    in libraries and for static linking of
    some system libraries. ...
    Run abicheck
  • 3
    couriermlm
    couriermlm
    couriermlm - The Courier mailing list
    manager ...
    Run couriermlm
  • 4
    couriertcpd
    couriertcpd
    couriertcpd - the Courier mail server
    TCP server daemon ...
    Run couriertcpd
  • 5
    gbklatex
    gbklatex
    bg5latex - Use LaTeX directly on a Big5
    encodedtex file bg5pdflatex - Use
    pdfLaTeX directly on a Big5 encodedtex
    file bg5+latex - Use LaTeX directly on a
    Big5+...
    Run gbklatex
  • 6
    gbkpdflatex
    gbkpdflatex
    bg5latex - Use LaTeX directly on a Big5
    encodedtex file bg5pdflatex - Use
    pdfLaTeX directly on a Big5 encodedtex
    file bg5+latex - Use LaTeX directly on a
    Big5+...
    Run gbkpdflatex
  • More »

Ad