X-Git-Url: http://git.wpitchoune.net/gitweb/?p=www.git;a=blobdiff_plain;f=www%2Fnews%2Fnews.html;fp=www%2Fnews%2Fnews.html;h=5285000b35116194e1c27ce367aff5ed63f1aacd;hp=5c0a642f69ca4324cffdced0c98590dd54f35ac5;hb=d76e170141a0523ee30feded9154c933dd447609;hpb=7ad4278575f413699b6d754ba7cf04cca9cd397c diff --git a/www/news/news.html b/www/news/news.html index 5c0a642..5285000 100644 --- a/www/news/news.html +++ b/www/news/news.html @@ -11,7 +11,103 @@

News

-

Asciidoctor to RSS

2016-11-07
+

Asciidoctor to RSS

2016-11-07
+
+
+

In order to have a website based only on Asciidoctor +documents, I have written a small utility which +converts a set of Asciidoctor documents to HTML pages and +generates a RSS 2.0 feed.

+
+
+
+
+

Installation of asciidoctor_to_rss

+
+
+

It is required to install:

+
+
+
    +
  • +

    maven

    +
  • +
  • +

    java (>1.7)

    +
  • +
+
+
+

The sources can be retrieved from GIT:

+
+
+
+
git clone git clone https://git.wpitchoune.net/asciidoctor_to_rss.git
+
+
+
+

Compilation:

+
+
+
+
cd asciidoctor_to_rss
+mvn clean install
+
+
+
+
+
+

Howto write news

+
+
+

Each news has to be written in a separate Asciidoctor document +and all documents must be dropped into a directory.

+
+
+

There is not any restriction concerning the syntax because +the utility is based on the java bridge of Asciidoctor. +I have added an attribute 'date' which allows the utility +to know the publication date of the news.

+
+ +
+
+
+

Configuration

+
+
+

The configuration of the utility can be done in text file.

+
+ +
+
+
+

Run the utility

+
+
+

The command line usage is:

+
+
+
+
asciidoctor_to_rss.sh <IN_DIR> <OUT_DIR> <CFG_FILE>
+
+
+
+

IN_DIR:

+
+
+

OUT_DIR:

+
+
+

CFG_FILE:

+
+
+

RSS Feed

2016-04-07

It is now possible to follow news and announces of the