moving psensor to gitlab news
[www.git] / www / news / feed.xml
index b347428..e1ad404 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>The feed title</title>\r
-    <link>http://wpitchoune.net/news/feed.xml</link>\r
+    <title>News</title>\r
+    <link>https://wpitchoune.net/news/feed.xml</link>\r
     <description>News of the wpitchoune.net website.</description>\r
     <item>\r
-      <title>2016/06/14 - Call for contributions for the translation of psensor</title>\r
+      <title>Asciidoctor to RSS</title>\r
+      <link>https://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 ease the edition of this website and\r
+the management of the server, I want it to be purely\r
+static and generated from &lt;a href="http://asciidoctor.org"&gt;Asciidoctor&lt;/a&gt; documents.&lt;/p&gt;\r
+&lt;/div&gt;\r
+&lt;div class="paragraph"&gt;\r
+&lt;p&gt;The &lt;em&gt;news&lt;/em&gt; part of the website is also written as Asciidoctor\r
+documents, &lt;code&gt;asciidoctor_to_rss&lt;/code&gt; is converting them into static\r
+HTML pages and generates a RSS 2.0 file.&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;&lt;a href="http://maven.apache.org/download.cgi"&gt;Apache Maven&lt;/a&gt; (3.3.9)&lt;/p&gt;\r
+&lt;/li&gt;\r
+&lt;li&gt;\r
+&lt;p&gt;&lt;a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html"&gt;Java&lt;/a&gt; (Sun JDK &amp;gt;=1.8)&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 &lt;em&gt;news&lt;/em&gt; must be written in an &lt;a href="http://asciidoctor.org"&gt;Asciidoctor&lt;/a&gt; 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 &lt;code&gt;date&lt;/code&gt; 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;Here is an example of &lt;em&gt;news&lt;/em&gt;:&lt;/p&gt;\r
+&lt;/div&gt;\r
+&lt;div class="listingblock"&gt;\r
+&lt;div class="content"&gt;\r
+&lt;pre class="highlight"&gt;&lt;code class="language-asciidoc" data-lang="asciidoc"&gt;= Asciidoctor to RSS\r
+Jean-Philippe Orsini &amp;lt;jeanfi@gmail.com&amp;gt;\r
+:date: 2016-11-07\r
+:icons: font\r
+\r
+In order to ease the edition of this website and\r
+the management of the server, I want it to be purely\r
+static and generated from http://asciidoctor.org[Asciidoctor] documents.\r
+\r
+The _news_ part of the website is also written as Asciidoctor\r
+documents, `asciidoctor_to_rss` is converting them into static\r
+HTML pages and generates a RSS 2.0 file.\r
+\r
+== Installation of asciidoctor_to_rss\r
+\r
+It is required to install:\r
+\r
+* http://maven.apache.org/download.cgi[Apache Maven] (3.3.9)\r
+\r
+* http://www.oracle.com/technetwork/java/javase/downloads/index.html[Java] (Sun JDK &amp;gt;=1.8)&lt;/code&gt;&lt;/pre&gt;\r
+&lt;/div&gt;\r
+&lt;/div&gt;\r
+&lt;div class="paragraph"&gt;\r
+&lt;p&gt;You can see few examples at\r
+&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 &lt;em&gt;news&lt;/em&gt; is at\r
+&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 file of &lt;code&gt;asciidoctor_to_rss&lt;/code&gt; is text file containing key/value pairs.&lt;/p&gt;\r
+&lt;/div&gt;\r
+&lt;div class="paragraph"&gt;\r
+&lt;p&gt;See an example at\r
+&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 class="listingblock"&gt;\r
+&lt;div class="content"&gt;\r
+&lt;pre class="highlight"&gt;&lt;code class="language-text" data-lang="text"&gt;feed.title=News\r
+feed.description=News of the wpitchoune.net website.\r
+feed.link=https://wpitchoune.net/news/feed.xml\r
+feed.baseurl=https://wpitchoune.net/news\r
+\r
+html.header.file=src/header.html&lt;/code&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;feed.title&lt;/code&gt;: the title used for the feed, in the RSS 2.0 and &lt;code&gt;news.html&lt;/code&gt; files.&lt;/p&gt;\r
+&lt;/div&gt;\r
+&lt;div class="paragraph"&gt;\r
+&lt;p&gt;&lt;code&gt;feed.description&lt;/code&gt;: the description used in the RSS 2.0 file.&lt;/p&gt;\r
+&lt;/div&gt;\r
+&lt;div class="paragraph"&gt;\r
+&lt;p&gt;&lt;code&gt;feed.link&lt;/code&gt;: URI of the RSS 2.0 file.&lt;/p&gt;\r
+&lt;/div&gt;\r
+&lt;div class="paragraph"&gt;\r
+&lt;p&gt;&lt;code&gt;feed.baseurl&lt;/code&gt;: base URI where the HTML news files will be located.&lt;/p&gt;\r
+&lt;/div&gt;\r
+&lt;div class="paragraph"&gt;\r
+&lt;p&gt;&lt;code&gt;html.header.file&lt;/code&gt;: the content of the denoted file will be added in the &lt;code&gt;head&lt;/code&gt; block of\r
+the generated HTML documents.&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;: the directory containing the news as Asciidoctor documents.&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;: the output directory which contains all generated files.&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;: the path to the configuration file.&lt;/p&gt;\r
+&lt;/div&gt;\r
+&lt;div class="paragraph"&gt;\r
+&lt;p&gt;The &lt;code&gt;OUT_DIR&lt;/code&gt; will contain:&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;one HTML file for each Asciidoctor document,&lt;/p&gt;\r
+&lt;/li&gt;\r
+&lt;li&gt;\r
+&lt;p&gt;the &lt;a href="https://wpitchoune.net/news/news.html"&gt;&lt;code&gt;news.html&lt;/code&gt;&lt;/a&gt; file,&lt;/p&gt;\r
+&lt;/li&gt;\r
+&lt;li&gt;\r
+&lt;p&gt;and the &lt;a href="https://wpitchoune.net/news/news.html"&gt;&lt;code&gt;feed.xml&lt;/code&gt;&lt;/a&gt; file which is a feed\r
+compatible with RSS v2.0.&lt;/p&gt;\r
+&lt;/li&gt;\r
+&lt;/ul&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">https://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>https://wpitchoune.net/news/call_contribution.html</link>\r
       <description>&lt;div class="paragraph"&gt;\r
 &lt;p&gt;The version 1.2.0 of psensor is going to be released in the coming\r
 weeks. This release will include many changes which impact the\r
 translations. If you want to contribute to the translation of psensor\r
 it is now the good timeframe. See the\r
-&lt;a href="/psensor/contribute.html"&gt;instructions&lt;/a&gt;.&lt;/p&gt;\r
+&lt;a href="https://wpitchoune.net/psensor/contribute.html"&gt;instructions&lt;/a&gt;.&lt;/p&gt;\r
 &lt;/div&gt;</description>\r
-      <guid isPermaLink="false">http://wpitchoune.net/news/call_contribution.html</guid>\r
+      <pubDate>Mon, 13 Jun 2016 22:00:00 GMT</pubDate>\r
+      <guid isPermaLink="false">https://wpitchoune.net/news/call_contribution.html</guid>\r
+      <dc:date>2016-06-13T22:00:00Z</dc:date>\r
     </item>\r
     <item>\r
-      <title>2016/06/14 - New website</title>\r
+      <title>RSS Feed</title>\r
+      <link>https://wpitchoune.net/news/added_rss_feed.html</link>\r
+      <description>&lt;div class="paragraph"&gt;\r
+&lt;p&gt;It is now possible to follow news and announces of the\r
+website with the following RSS feed:\r
+&lt;a href="https://wpitchoune.net/news/feed.xml" class="bare"&gt;https://wpitchoune.net/news/feed.xml&lt;/a&gt;&lt;/p&gt;\r
+&lt;/div&gt;\r
+&lt;div class="paragraph"&gt;\r
+&lt;p&gt;Under the bridge it is automaticaly generated\r
+with a very simple program from Asciidoctor\r
+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">https://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
+      <link>https://wpitchoune.net/news/new_website.html</link>\r
       <description>&lt;div class="paragraph"&gt;\r
 &lt;p&gt;After being bored with Wordpress for years, the &lt;a href="http://wpitchoune.net"&gt;wpitchoune.net&lt;/a&gt;\r
 website is changing. It is now based on &lt;a href="http://asciidoctor.org"&gt;Asciidoctor&lt;/a&gt; and\r
@@ -34,7 +237,38 @@ 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
-      <guid isPermaLink="false">http://wpitchoune.net/news/new_website.html</guid>\r
+      <pubDate>Mon, 13 Jun 2016 22:00:00 GMT</pubDate>\r
+      <guid isPermaLink="false">https://wpitchoune.net/news/new_website.html</guid>\r
+      <dc:date>2016-06-13T22:00:00Z</dc:date>\r
+    </item>\r
+    <item>\r
+      <title>Psensor is moving to GitLab</title>\r
+      <link>https://wpitchoune.net/news/psensor_git_moved_gitlab.html</link>\r
+      <description>&lt;div class="paragraph"&gt;\r
+&lt;p&gt;The source code of Psensor is moving to GitLab at:\r
+&lt;a href="https://gitlab.com/jeanfi/psensor" class="bare"&gt;https://gitlab.com/jeanfi/psensor&lt;/a&gt;&lt;/p&gt;\r
+&lt;/div&gt;</description>\r
+      <pubDate>Thu, 27 Sep 2018 22:00:00 GMT</pubDate>\r
+      <guid isPermaLink="false">https://wpitchoune.net/news/psensor_git_moved_gitlab.html</guid>\r
+      <dc:date>2018-09-27T22:00:00Z</dc:date>\r
+    </item>\r
+    <item>\r
+      <title>Psensor v1.2.0</title>\r
+      <link>https://wpitchoune.net/news/psensor_v1_2_0.html</link>\r
+      <description>&lt;div class="paragraph"&gt;\r
+&lt;p&gt;Psensor v1.2.0 has been released.&lt;/p&gt;\r
+&lt;/div&gt;\r
+&lt;div class="paragraph"&gt;\r
+&lt;p&gt;The source can be download at:\r
+&lt;a href="https://wpitchoune.net/psensor/files" class="bare"&gt;https://wpitchoune.net/psensor/files&lt;/a&gt;&lt;/p&gt;\r
+&lt;/div&gt;\r
+&lt;div class="paragraph"&gt;\r
+&lt;p&gt;The news can be read at:\r
+&lt;a href="https://wpitchoune.net/gitweb/?p=psensor.git;a=blob_plain;f=NEWS.html" class="bare"&gt;https://wpitchoune.net/gitweb/?p=psensor.git;a=blob_plain;f=NEWS.html&lt;/a&gt;&lt;/p&gt;\r
+&lt;/div&gt;</description>\r
+      <pubDate>Fri, 03 Feb 2017 23:00:00 GMT</pubDate>\r
+      <guid isPermaLink="false">https://wpitchoune.net/news/psensor_v1_2_0.html</guid>\r
+      <dc:date>2017-02-03T23:00:00Z</dc:date>\r
     </item>\r
   </channel>\r
 </rss>\r