added news
[www.git] / www / news / feed.xml
index 5bf390a..90183ef 100644 (file)
 <?xml version="1.0" encoding="UTF-8"?>\r
-<rss version="2.0">\r
+<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">\r
   <channel>\r
     <title>News</title>\r
     <link>http://wpitchoune.net/news/feed.xml</link>\r
     <description>News of the wpitchoune.net website.</description>\r
     <item>\r
+      <title>Asciidoctor to RSS</title>\r
+      <link>http://wpitchoune.net/news/asciidoctor_to_rss.html</link>\r
+      <description>&lt;div id="preamble"&gt;\r
+&lt;div class="sectionbody"&gt;\r
+&lt;div class="paragraph"&gt;\r
+&lt;p&gt;In order to have a website based only on Asciidoctor\r
+documents, I have written a small utility which\r
+converts a set of Asciidoctor documents to HTML pages and\r
+generates a RSS 2.0 feed.&lt;/p&gt;\r
+&lt;/div&gt;\r
+&lt;/div&gt;\r
+&lt;/div&gt;\r
+&lt;div class="sect1"&gt;\r
+&lt;h2 id="_installation_of_asciidoctor_to_rss"&gt;Installation of asciidoctor_to_rss&lt;/h2&gt;\r
+&lt;div class="sectionbody"&gt;\r
+&lt;div class="paragraph"&gt;\r
+&lt;p&gt;It is required to install:&lt;/p&gt;\r
+&lt;/div&gt;\r
+&lt;div class="ulist"&gt;\r
+&lt;ul&gt;\r
+&lt;li&gt;\r
+&lt;p&gt;maven&lt;/p&gt;\r
+&lt;/li&gt;\r
+&lt;li&gt;\r
+&lt;p&gt;java (&amp;gt;1.7)&lt;/p&gt;\r
+&lt;/li&gt;\r
+&lt;/ul&gt;\r
+&lt;/div&gt;\r
+&lt;div class="paragraph"&gt;\r
+&lt;p&gt;The sources can be retrieved from GIT:&lt;/p&gt;\r
+&lt;/div&gt;\r
+&lt;div class="listingblock"&gt;\r
+&lt;div class="content"&gt;\r
+&lt;pre&gt;git clone git clone https://git.wpitchoune.net/asciidoctor_to_rss.git&lt;/pre&gt;\r
+&lt;/div&gt;\r
+&lt;/div&gt;\r
+&lt;div class="paragraph"&gt;\r
+&lt;p&gt;Compilation:&lt;/p&gt;\r
+&lt;/div&gt;\r
+&lt;div class="listingblock"&gt;\r
+&lt;div class="content"&gt;\r
+&lt;pre&gt;cd asciidoctor_to_rss\r
+mvn clean install&lt;/pre&gt;\r
+&lt;/div&gt;\r
+&lt;/div&gt;\r
+&lt;/div&gt;\r
+&lt;/div&gt;\r
+&lt;div class="sect1"&gt;\r
+&lt;h2 id="_howto_write_news"&gt;Howto write news&lt;/h2&gt;\r
+&lt;div class="sectionbody"&gt;\r
+&lt;div class="paragraph"&gt;\r
+&lt;p&gt;Each news has to be written in a separate Asciidoctor document\r
+and all documents must be dropped into a directory.&lt;/p&gt;\r
+&lt;/div&gt;\r
+&lt;div class="paragraph"&gt;\r
+&lt;p&gt;There is not any restriction concerning the syntax because\r
+the utility is based on the java bridge of Asciidoctor.\r
+I have added an attribute 'date' which allows the utility\r
+to know the publication date of the news.&lt;/p&gt;\r
+&lt;/div&gt;\r
+&lt;div class="paragraph"&gt;\r
+&lt;p&gt;You can see some examples at &lt;a href="https://wpitchoune.net/gitweb/?p=www.git;a=tree;f=src/news;hb=HEAD" class="bare"&gt;https://wpitchoune.net/gitweb/?p=www.git;a=tree;f=src/news;hb=HEAD&lt;/a&gt; .\r
+The source document of this news is at &lt;a href="https://wpitchoune.net/gitweb/?p=www.git;a=blob;f=src/news/asciidoctor_to_rss.adoc;hb=HEAD" class="bare"&gt;https://wpitchoune.net/gitweb/?p=www.git;a=blob;f=src/news/asciidoctor_to_rss.adoc;hb=HEAD&lt;/a&gt;&lt;/p&gt;\r
+&lt;/div&gt;\r
+&lt;/div&gt;\r
+&lt;/div&gt;\r
+&lt;div class="sect1"&gt;\r
+&lt;h2 id="_configuration"&gt;Configuration&lt;/h2&gt;\r
+&lt;div class="sectionbody"&gt;\r
+&lt;div class="paragraph"&gt;\r
+&lt;p&gt;The configuration of the utility can be done in text file.&lt;/p&gt;\r
+&lt;/div&gt;\r
+&lt;div class="paragraph"&gt;\r
+&lt;p&gt;See an example at &lt;a href="https://wpitchoune.net/gitweb/?p=www.git;a=blob;f=src/asciidoctorrss.props;hb=HEAD" class="bare"&gt;https://wpitchoune.net/gitweb/?p=www.git;a=blob;f=src/asciidoctorrss.props;hb=HEAD&lt;/a&gt; .&lt;/p&gt;\r
+&lt;/div&gt;\r
+&lt;/div&gt;\r
+&lt;/div&gt;\r
+&lt;div class="sect1"&gt;\r
+&lt;h2 id="_run_the_utility"&gt;Run the utility&lt;/h2&gt;\r
+&lt;div class="sectionbody"&gt;\r
+&lt;div class="paragraph"&gt;\r
+&lt;p&gt;The command line usage is:&lt;/p&gt;\r
+&lt;/div&gt;\r
+&lt;div class="listingblock"&gt;\r
+&lt;div class="content"&gt;\r
+&lt;pre&gt;asciidoctor_to_rss.sh &amp;lt;IN_DIR&amp;gt; &amp;lt;OUT_DIR&amp;gt; &amp;lt;CFG_FILE&amp;gt;&lt;/pre&gt;\r
+&lt;/div&gt;\r
+&lt;/div&gt;\r
+&lt;div class="paragraph"&gt;\r
+&lt;p&gt;&lt;code&gt;IN_DIR&lt;/code&gt;:&lt;/p&gt;\r
+&lt;/div&gt;\r
+&lt;div class="paragraph"&gt;\r
+&lt;p&gt;&lt;code&gt;OUT_DIR&lt;/code&gt;:&lt;/p&gt;\r
+&lt;/div&gt;\r
+&lt;div class="paragraph"&gt;\r
+&lt;p&gt;&lt;code&gt;CFG_FILE&lt;/code&gt;:&lt;/p&gt;\r
+&lt;/div&gt;\r
+&lt;/div&gt;\r
+&lt;/div&gt;</description>\r
+      <pubDate>Sun, 10 Jul 2016 22:00:00 GMT</pubDate>\r
+      <guid isPermaLink="false">http://wpitchoune.net/news/asciidoctor_to_rss.html</guid>\r
+      <dc:date>2016-07-10T22:00:00Z</dc:date>\r
+    </item>\r
+    <item>\r
       <title>Call for contributions for the translation of psensor</title>\r
       <link>http://wpitchoune.net/news/call_contribution.html</link>\r
       <description>&lt;div class="paragraph"&gt;\r
@@ -14,7 +118,9 @@ translations. If you want to contribute to the translation of psensor
 it is now the good timeframe. See the\r
 &lt;a href="https://wpitchoune.net/psensor/contribute.html"&gt;instructions&lt;/a&gt;.&lt;/p&gt;\r
 &lt;/div&gt;</description>\r
+      <pubDate>Mon, 13 Jun 2016 22:00:00 GMT</pubDate>\r
       <guid isPermaLink="false">http://wpitchoune.net/news/call_contribution.html</guid>\r
+      <dc:date>2016-06-13T22:00:00Z</dc:date>\r
     </item>\r
     <item>\r
       <title>RSS Feed</title>\r
@@ -30,7 +136,9 @@ with a very simple program from Asciidoctor
 documents. You can get the sources\r
 from the GIT repository: &lt;a href="https://git.wpitchoune.net/asciidoctor_to_rss.git" class="bare"&gt;https://git.wpitchoune.net/asciidoctor_to_rss.git&lt;/a&gt; .&lt;/p&gt;\r
 &lt;/div&gt;</description>\r
+      <pubDate>Sun, 03 Jul 2016 22:00:00 GMT</pubDate>\r
       <guid isPermaLink="false">http://wpitchoune.net/news/added_rss_feed.html</guid>\r
+      <dc:date>2016-07-03T22:00:00Z</dc:date>\r
     </item>\r
     <item>\r
       <title>New website</title>\r
@@ -52,7 +160,9 @@ account creation, and backup of databases.&lt;/p&gt;
 a GIT repository: &lt;a href="http://git.wpitchoune.net/gitweb/?p=www.git" class="bare"&gt;http://git.wpitchoune.net/gitweb/?p=www.git&lt;/a&gt;.\r
 It is simple, really simple&amp;#8230;&amp;#8203; but enough for my needs.&lt;/p&gt;\r
 &lt;/div&gt;</description>\r
+      <pubDate>Mon, 13 Jun 2016 22:00:00 GMT</pubDate>\r
       <guid isPermaLink="false">http://wpitchoune.net/news/new_website.html</guid>\r
+      <dc:date>2016-06-13T22:00:00Z</dc:date>\r
     </item>\r
   </channel>\r
 </rss>\r