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