X-Git-Url: http://git.wpitchoune.net/gitweb/?p=www.git;a=blobdiff_plain;f=www%2Fnews%2Fasciidoctor_to_rss.html;h=ef2bfff873b0bb26cbc056a707d262c7f81c160f;hp=ffc4cd0a974ee4aba81d2495a6277e7da20aa4ac;hb=1587eac4e9940c095ae78a6758fb6344f3aed75d;hpb=2dd558f5533166a85045f581b042dd539505ecce diff --git a/www/news/asciidoctor_to_rss.html b/www/news/asciidoctor_to_rss.html index ffc4cd0..ef2bfff 100644 --- a/www/news/asciidoctor_to_rss.html +++ b/www/news/asciidoctor_to_rss.html @@ -1,10 +1,11 @@ - + - + +Asciidoctor to RSS @@ -78,10 +112,37 @@ The source document of this news is at Configuration
-

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

+

The configuration file of asciidoctor_to_rss is text file containing key/value pairs.

+
+
+

See an example at +https://wpitchoune.net/gitweb/?p=www.git;a=blob;f=src/asciidoctorrss.props;hb=HEAD .

+
+
+
+
feed.title=News
+feed.description=News of the wpitchoune.net website.
+feed.link=https://wpitchoune.net/news/feed.xml
+feed.baseurl=https://wpitchoune.net/news
+
+html.header.file=src/header.html
+
+
+
+

feed.title: the title used for the feed, in the RSS 2.0 and news.html files.

+
+
+

feed.description: the description used in the RSS 2.0 file.

+
+
+

feed.link: URI of the RSS 2.0 file.

+
+
+

feed.baseurl: base URI where the HTML news files will be located.

-

See an example at https://wpitchoune.net/gitweb/?p=www.git;a=blob;f=src/asciidoctorrss.props;hb=HEAD .

+

html.header.file: the content of the denoted file will be added in the head block of +the generated HTML documents.

@@ -100,10 +161,10 @@ The source document of this news is at -

OUT_DIR: the output directory which contains all generated files

+

OUT_DIR: the output directory which contains all generated files.

-

CFG_FILE: the path to the configuration file

+

CFG_FILE: the path to the configuration file.

The OUT_DIR will contain:

@@ -111,16 +172,32 @@ The source document of this news is at
- + + \ No newline at end of file