moving psensor to gitlab news
[www.git] / www / news / news.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <link rel="stylesheet" href="https://wpitchoune.net/style.css">
5 <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css">
6 <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
7 <script src="https://wpitchoune.net/nav.js"></script>
8 <title>News</title>
9 </head>
10         <body>
11 <div id='header'>
12 <h1>News</h1>
13 </div><div id='content'>
14                         <article>
15                                 <header>
16                                         <h1><a href='https://wpitchoune.net/news/psensor_git_moved_gitlab.html'>Psensor is moving to GitLab</a></h1>
17 <div class='date'>2018-28-09</div>
18                                 </header>
19 <div class="paragraph">
20 <p>The source code of Psensor is moving to GitLab at:
21 <a href="https://gitlab.com/jeanfi/psensor" class="bare">https://gitlab.com/jeanfi/psensor</a></p>
22 </div>                  </article>
23                         <article>
24                                 <header>
25                                         <h1><a href='https://wpitchoune.net/news/psensor_v1_2_0.html'>Psensor v1.2.0</a></h1>
26 <div class='date'>2017-04-02</div>
27                                 </header>
28 <div class="paragraph">
29 <p>Psensor v1.2.0 has been released.</p>
30 </div>
31 <div class="paragraph">
32 <p>The source can be download at:
33 <a href="https://wpitchoune.net/psensor/files" class="bare">https://wpitchoune.net/psensor/files</a></p>
34 </div>
35 <div class="paragraph">
36 <p>The news can be read at:
37 <a href="https://wpitchoune.net/gitweb/?p=psensor.git;a=blob_plain;f=NEWS.html" class="bare">https://wpitchoune.net/gitweb/?p=psensor.git;a=blob_plain;f=NEWS.html</a></p>
38 </div>                  </article>
39                         <article>
40                                 <header>
41                                         <h1><a href='https://wpitchoune.net/news/asciidoctor_to_rss.html'>Asciidoctor to RSS</a></h1>
42 <div class='date'>2016-11-07</div>
43                                 </header>
44 <div id="preamble">
45 <div class="sectionbody">
46 <div class="paragraph">
47 <p>In order to ease the edition of this website and
48 the management of the server, I want it to be purely
49 static and generated from <a href="http://asciidoctor.org">Asciidoctor</a> documents.</p>
50 </div>
51 <div class="paragraph">
52 <p>The <em>news</em> part of the website is also written as Asciidoctor
53 documents, <code>asciidoctor_to_rss</code> is converting them into static
54 HTML pages and generates a RSS 2.0 file.</p>
55 </div>
56 </div>
57 </div>
58 <div class="sect1">
59 <h2 id="_installation_of_asciidoctor_to_rss">Installation of asciidoctor_to_rss</h2>
60 <div class="sectionbody">
61 <div class="paragraph">
62 <p>It is required to install:</p>
63 </div>
64 <div class="ulist">
65 <ul>
66 <li>
67 <p><a href="http://maven.apache.org/download.cgi">Apache Maven</a> (3.3.9)</p>
68 </li>
69 <li>
70 <p><a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">Java</a> (Sun JDK &gt;=1.8)</p>
71 </li>
72 </ul>
73 </div>
74 <div class="paragraph">
75 <p>The sources can be retrieved from GIT:</p>
76 </div>
77 <div class="listingblock">
78 <div class="content">
79 <pre>git clone git clone https://git.wpitchoune.net/asciidoctor_to_rss.git</pre>
80 </div>
81 </div>
82 <div class="paragraph">
83 <p>Compilation:</p>
84 </div>
85 <div class="listingblock">
86 <div class="content">
87 <pre>cd asciidoctor_to_rss
88 mvn clean install</pre>
89 </div>
90 </div>
91 </div>
92 </div>
93 <div class="sect1">
94 <h2 id="_howto_write_news">Howto write news</h2>
95 <div class="sectionbody">
96 <div class="paragraph">
97 <p>Each <em>news</em> must be written in an <a href="http://asciidoctor.org">Asciidoctor</a> document
98 and all documents must be dropped into a directory.</p>
99 </div>
100 <div class="paragraph">
101 <p>There is not any restriction concerning the syntax because
102 the utility is based on the Java bridge of Asciidoctor.
103 I have added an attribute <code>date</code> which allows the utility
104 to know the publication date of the news.</p>
105 </div>
106 <div class="paragraph">
107 <p>Here is an example of <em>news</em>:</p>
108 </div>
109 <div class="listingblock">
110 <div class="content">
111 <pre class="highlight"><code class="language-asciidoc" data-lang="asciidoc">= Asciidoctor to RSS
112 Jean-Philippe Orsini &lt;jeanfi@gmail.com&gt;
113 :date: 2016-11-07
114 :icons: font
115
116 In order to ease the edition of this website and
117 the management of the server, I want it to be purely
118 static and generated from http://asciidoctor.org[Asciidoctor] documents.
119
120 The _news_ part of the website is also written as Asciidoctor
121 documents, `asciidoctor_to_rss` is converting them into static
122 HTML pages and generates a RSS 2.0 file.
123
124 == Installation of asciidoctor_to_rss
125
126 It is required to install:
127
128 * http://maven.apache.org/download.cgi[Apache Maven] (3.3.9)
129
130 * http://www.oracle.com/technetwork/java/javase/downloads/index.html[Java] (Sun JDK &gt;=1.8)</code></pre>
131 </div>
132 </div>
133 <div class="paragraph">
134 <p>You can see few examples at
135 <a href="https://wpitchoune.net/gitweb/?p=www.git;a=tree;f=src/news;hb=HEAD" class="bare">https://wpitchoune.net/gitweb/?p=www.git;a=tree;f=src/news;hb=HEAD</a>.
136 The source document of this <em>news</em> is at
137 <a href="https://wpitchoune.net/gitweb/?p=www.git;a=blob;f=src/news/asciidoctor_to_rss.adoc;hb=HEAD" class="bare">https://wpitchoune.net/gitweb/?p=www.git;a=blob;f=src/news/asciidoctor_to_rss.adoc;hb=HEAD</a>.</p>
138 </div>
139 </div>
140 </div>
141 <div class="sect1">
142 <h2 id="_configuration">Configuration</h2>
143 <div class="sectionbody">
144 <div class="paragraph">
145 <p>The configuration file of <code>asciidoctor_to_rss</code> is text file containing key/value pairs.</p>
146 </div>
147 <div class="paragraph">
148 <p>See an example at
149 <a href="https://wpitchoune.net/gitweb/?p=www.git;a=blob;f=src/asciidoctorrss.props;hb=HEAD" class="bare">https://wpitchoune.net/gitweb/?p=www.git;a=blob;f=src/asciidoctorrss.props;hb=HEAD</a> .</p>
150 </div>
151 <div class="listingblock">
152 <div class="content">
153 <pre class="highlight"><code class="language-text" data-lang="text">feed.title=News
154 feed.description=News of the wpitchoune.net website.
155 feed.link=https://wpitchoune.net/news/feed.xml
156 feed.baseurl=https://wpitchoune.net/news
157
158 html.header.file=src/header.html</code></pre>
159 </div>
160 </div>
161 <div class="paragraph">
162 <p><code>feed.title</code>: the title used for the feed, in the RSS 2.0 and <code>news.html</code> files.</p>
163 </div>
164 <div class="paragraph">
165 <p><code>feed.description</code>: the description used in the RSS 2.0 file.</p>
166 </div>
167 <div class="paragraph">
168 <p><code>feed.link</code>: URI of the RSS 2.0 file.</p>
169 </div>
170 <div class="paragraph">
171 <p><code>feed.baseurl</code>: base URI where the HTML news files will be located.</p>
172 </div>
173 <div class="paragraph">
174 <p><code>html.header.file</code>: the content of the denoted file will be added in the <code>head</code> block of
175 the generated HTML documents.</p>
176 </div>
177 </div>
178 </div>
179 <div class="sect1">
180 <h2 id="_run_the_utility">Run the utility</h2>
181 <div class="sectionbody">
182 <div class="paragraph">
183 <p>The command line usage is:</p>
184 </div>
185 <div class="listingblock">
186 <div class="content">
187 <pre>asciidoctor_to_rss.sh &lt;IN_DIR&gt; &lt;OUT_DIR&gt; &lt;CFG_FILE&gt;</pre>
188 </div>
189 </div>
190 <div class="paragraph">
191 <p><code>IN_DIR</code>: the directory containing the news as Asciidoctor documents.</p>
192 </div>
193 <div class="paragraph">
194 <p><code>OUT_DIR</code>: the output directory which contains all generated files.</p>
195 </div>
196 <div class="paragraph">
197 <p><code>CFG_FILE</code>: the path to the configuration file.</p>
198 </div>
199 <div class="paragraph">
200 <p>The <code>OUT_DIR</code> will contain:</p>
201 </div>
202 <div class="ulist">
203 <ul>
204 <li>
205 <p>one HTML file for each Asciidoctor document,</p>
206 </li>
207 <li>
208 <p>the <a href="https://wpitchoune.net/news/news.html"><code>news.html</code></a> file,</p>
209 </li>
210 <li>
211 <p>and the <a href="https://wpitchoune.net/news/news.html"><code>feed.xml</code></a> file which is a feed
212 compatible with RSS v2.0.</p>
213 </li>
214 </ul>
215 </div>
216 </div>
217 </div>                  </article>
218                         <article>
219                                 <header>
220                                         <h1><a href='https://wpitchoune.net/news/added_rss_feed.html'>RSS Feed</a></h1>
221 <div class='date'>2016-04-07</div>
222                                 </header>
223 <div class="paragraph">
224 <p>It is now possible to follow news and announces of the
225 website with the following RSS feed:
226 <a href="https://wpitchoune.net/news/feed.xml" class="bare">https://wpitchoune.net/news/feed.xml</a></p>
227 </div>
228 <div class="paragraph">
229 <p>Under the bridge it is automaticaly generated
230 with a very simple program from Asciidoctor
231 documents. You can get the sources
232 from the GIT repository: <a href="https://git.wpitchoune.net/asciidoctor_to_rss.git" class="bare">https://git.wpitchoune.net/asciidoctor_to_rss.git</a> .</p>
233 </div>                  </article>
234                         <article>
235                                 <header>
236                                         <h1><a href='https://wpitchoune.net/news/call_contribution.html'>Call for contributions for the translation of psensor</a></h1>
237 <div class='date'>2016-14-06</div>
238                                 </header>
239 <div class="paragraph">
240 <p>The version 1.2.0 of psensor is going to be released in the coming
241 weeks. This release will include many changes which impact the
242 translations. If you want to contribute to the translation of psensor
243 it is now the good timeframe. See the
244 <a href="https://wpitchoune.net/psensor/contribute.html">instructions</a>.</p>
245 </div>                  </article>
246                         <article>
247                                 <header>
248                                         <h1><a href='https://wpitchoune.net/news/new_website.html'>New website</a></h1>
249 <div class='date'>2016-14-06</div>
250                                 </header>
251 <div class="paragraph">
252 <p>After being bored with Wordpress for years, the <a href="http://wpitchoune.net">wpitchoune.net</a>
253 website is changing. It is now based on <a href="http://asciidoctor.org">Asciidoctor</a> and
254 a simple shell script to generate it.</p>
255 </div>
256 <div class="paragraph">
257 <p>With the help of <a href="http://atom.io">Atom</a> and a couple of addons dedicated to
258 Asciidoctor, it is easy and quick to write content. I am happy to no
259 more have to worry about the painful admistration of Wordpress,
260 upgrading it, taking care of security, spamming of comments and bot
261 account creation, and backup of databases.</p>
262 </div>
263 <div class="paragraph">
264 <p>If you want to know how the website is built, everything is on
265 a GIT repository: <a href="http://git.wpitchoune.net/gitweb/?p=www.git" class="bare">http://git.wpitchoune.net/gitweb/?p=www.git</a>.
266 It is simple, really simple&#8230;&#8203; but enough for my needs.</p>
267 </div>                  </article>
268 </div>
269 <footer>
270         <ul>
271                 <li><i class="fa fa-rss" aria-hidden="true"></i>
272                         Feed: <a href="https://wpitchoune.net/news/feed.xml">RSS 2.0</a>
273                 </li>
274
275                 <li><i class="fa fa-envelope" aria-hidden="true"></i>
276                     Email: <a href="mailto:jeanfi@gmail.com">jeanfi@gmail.com</a>
277                 </li>
278
279                 <li><i class="fa fa-git-square" aria-hidden="true"></i>
280                     Source repository: <a href="https://git.wpitchoune.net/gitweb">gitweb</a>
281                 </li>
282         </ul>
283 </footer>
284         </body>
285 </html>