c9358508bacf51632be349f2535277992f6c01ae
[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>RSS Feed</title>\r
33       <link>https://wpitchoune.net/news/added_rss_feed.html</link>\r
34       <description>&lt;div class="paragraph"&gt;\r
35 &lt;p&gt;It is now possible to follow news and announces of the\r
36 website with the following RSS feed:\r
37 &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
38 &lt;/div&gt;\r
39 &lt;div class="paragraph"&gt;\r
40 &lt;p&gt;Under the bridge it is automaticaly generated\r
41 with a very simple program from Asciidoctor\r
42 documents. You can get the sources\r
43 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
44 &lt;/div&gt;</description>\r
45       <pubDate>Sun, 03 Jul 2016 22:00:00 GMT</pubDate>\r
46       <guid isPermaLink="false">https://wpitchoune.net/news/added_rss_feed.html</guid>\r
47       <dc:date>2016-07-03T22:00:00Z</dc:date>\r
48     </item>\r
49     <item>\r
50       <title>Asciidoctor to RSS</title>\r
51       <link>https://wpitchoune.net/news/asciidoctor_to_rss.html</link>\r
52       <description>&lt;div id="preamble"&gt;\r
53 &lt;div class="sectionbody"&gt;\r
54 &lt;div class="paragraph"&gt;\r
55 &lt;p&gt;In order to have a website based only on Asciidoctor\r
56 documents, I have written a small utility which\r
57 converts a set of Asciidoctor documents to HTML pages and\r
58 generates a RSS 2.0 feed.&lt;/p&gt;\r
59 &lt;/div&gt;\r
60 &lt;/div&gt;\r
61 &lt;/div&gt;\r
62 &lt;div class="sect1"&gt;\r
63 &lt;h2 id="_installation_of_asciidoctor_to_rss"&gt;Installation of asciidoctor_to_rss&lt;/h2&gt;\r
64 &lt;div class="sectionbody"&gt;\r
65 &lt;div class="paragraph"&gt;\r
66 &lt;p&gt;It is required to install:&lt;/p&gt;\r
67 &lt;/div&gt;\r
68 &lt;div class="ulist"&gt;\r
69 &lt;ul&gt;\r
70 &lt;li&gt;\r
71 &lt;p&gt;maven&lt;/p&gt;\r
72 &lt;/li&gt;\r
73 &lt;li&gt;\r
74 &lt;p&gt;java (&amp;gt;1.7)&lt;/p&gt;\r
75 &lt;/li&gt;\r
76 &lt;/ul&gt;\r
77 &lt;/div&gt;\r
78 &lt;div class="paragraph"&gt;\r
79 &lt;p&gt;The sources can be retrieved from GIT:&lt;/p&gt;\r
80 &lt;/div&gt;\r
81 &lt;div class="listingblock"&gt;\r
82 &lt;div class="content"&gt;\r
83 &lt;pre&gt;git clone git clone https://git.wpitchoune.net/asciidoctor_to_rss.git&lt;/pre&gt;\r
84 &lt;/div&gt;\r
85 &lt;/div&gt;\r
86 &lt;div class="paragraph"&gt;\r
87 &lt;p&gt;Compilation:&lt;/p&gt;\r
88 &lt;/div&gt;\r
89 &lt;div class="listingblock"&gt;\r
90 &lt;div class="content"&gt;\r
91 &lt;pre&gt;cd asciidoctor_to_rss\r
92 mvn clean install&lt;/pre&gt;\r
93 &lt;/div&gt;\r
94 &lt;/div&gt;\r
95 &lt;/div&gt;\r
96 &lt;/div&gt;\r
97 &lt;div class="sect1"&gt;\r
98 &lt;h2 id="_howto_write_news"&gt;Howto write news&lt;/h2&gt;\r
99 &lt;div class="sectionbody"&gt;\r
100 &lt;div class="paragraph"&gt;\r
101 &lt;p&gt;Each news has to be written in a separate Asciidoctor document\r
102 and all documents must be dropped into a directory.&lt;/p&gt;\r
103 &lt;/div&gt;\r
104 &lt;div class="paragraph"&gt;\r
105 &lt;p&gt;There is not any restriction concerning the syntax because\r
106 the utility is based on the java bridge of Asciidoctor.\r
107 I have added an attribute 'date' which allows the utility\r
108 to know the publication date of the news.&lt;/p&gt;\r
109 &lt;/div&gt;\r
110 &lt;div class="paragraph"&gt;\r
111 &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
112 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
113 &lt;/div&gt;\r
114 &lt;/div&gt;\r
115 &lt;/div&gt;\r
116 &lt;div class="sect1"&gt;\r
117 &lt;h2 id="_configuration"&gt;Configuration&lt;/h2&gt;\r
118 &lt;div class="sectionbody"&gt;\r
119 &lt;div class="paragraph"&gt;\r
120 &lt;p&gt;The configuration of the utility can be done in text file.&lt;/p&gt;\r
121 &lt;/div&gt;\r
122 &lt;div class="paragraph"&gt;\r
123 &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
124 &lt;/div&gt;\r
125 &lt;/div&gt;\r
126 &lt;/div&gt;\r
127 &lt;div class="sect1"&gt;\r
128 &lt;h2 id="_run_the_utility"&gt;Run the utility&lt;/h2&gt;\r
129 &lt;div class="sectionbody"&gt;\r
130 &lt;div class="paragraph"&gt;\r
131 &lt;p&gt;The command line usage is:&lt;/p&gt;\r
132 &lt;/div&gt;\r
133 &lt;div class="listingblock"&gt;\r
134 &lt;div class="content"&gt;\r
135 &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
136 &lt;/div&gt;\r
137 &lt;/div&gt;\r
138 &lt;div class="paragraph"&gt;\r
139 &lt;p&gt;&lt;code&gt;IN_DIR&lt;/code&gt;: the directory containing the news as Asciidoctor documents.&lt;/p&gt;\r
140 &lt;/div&gt;\r
141 &lt;div class="paragraph"&gt;\r
142 &lt;p&gt;&lt;code&gt;OUT_DIR&lt;/code&gt;: the output directory which contains all generated files&lt;/p&gt;\r
143 &lt;/div&gt;\r
144 &lt;div class="paragraph"&gt;\r
145 &lt;p&gt;&lt;code&gt;CFG_FILE&lt;/code&gt;: the path to the configuration file&lt;/p&gt;\r
146 &lt;/div&gt;\r
147 &lt;div class="paragraph"&gt;\r
148 &lt;p&gt;The &lt;code&gt;OUT_DIR&lt;/code&gt; will contain:&lt;/p&gt;\r
149 &lt;/div&gt;\r
150 &lt;div class="ulist"&gt;\r
151 &lt;ul&gt;\r
152 &lt;li&gt;\r
153 &lt;p&gt;one HTML file for each Asciidoctor document&lt;/p&gt;\r
154 &lt;/li&gt;\r
155 &lt;li&gt;\r
156 &lt;p&gt;the &lt;code&gt;news.html&lt;/code&gt; file&lt;/p&gt;\r
157 &lt;/li&gt;\r
158 &lt;li&gt;\r
159 &lt;p&gt;the &lt;code&gt;feed.xml&lt;/code&gt; file which is a feed compatible with RSS v2.0.&lt;/p&gt;\r
160 &lt;/li&gt;\r
161 &lt;/ul&gt;\r
162 &lt;/div&gt;\r
163 &lt;/div&gt;\r
164 &lt;/div&gt;</description>\r
165       <pubDate>Sun, 10 Jul 2016 22:00:00 GMT</pubDate>\r
166       <guid isPermaLink="false">https://wpitchoune.net/news/asciidoctor_to_rss.html</guid>\r
167       <dc:date>2016-07-10T22:00:00Z</dc:date>\r
168     </item>\r
169     <item>\r
170       <title>Call for contributions for the translation of psensor</title>\r
171       <link>https://wpitchoune.net/news/call_contribution.html</link>\r
172       <description>&lt;div class="paragraph"&gt;\r
173 &lt;p&gt;The version 1.2.0 of psensor is going to be released in the coming\r
174 weeks. This release will include many changes which impact the\r
175 translations. If you want to contribute to the translation of psensor\r
176 it is now the good timeframe. See the\r
177 &lt;a href="https://wpitchoune.net/psensor/contribute.html"&gt;instructions&lt;/a&gt;.&lt;/p&gt;\r
178 &lt;/div&gt;</description>\r
179       <pubDate>Mon, 13 Jun 2016 22:00:00 GMT</pubDate>\r
180       <guid isPermaLink="false">https://wpitchoune.net/news/call_contribution.html</guid>\r
181       <dc:date>2016-06-13T22:00:00Z</dc:date>\r
182     </item>\r
183   </channel>\r
184 </rss>\r