From: Jean-Philippe Orsini Date: Wed, 29 Jun 2016 16:06:09 +0000 (+0200) Subject: added guid X-Git-Url: http://git.wpitchoune.net/gitweb/?p=www.git;a=commitdiff_plain;h=b0f553adb27970775e6125fa32291af5463da190 added guid --- diff --git a/asciidoctor/asciidoctorfeed.props b/asciidoctor/asciidoctorfeed.props index d227ba4..1e487af 100644 --- a/asciidoctor/asciidoctorfeed.props +++ b/asciidoctor/asciidoctorfeed.props @@ -1,3 +1,4 @@ feed.title=The feed title feed.description=The description of the feed -feed.link=http://wpitchoune.net/news/feed.xml \ No newline at end of file +feed.link=http://wpitchoune.net/news/feed.xml +feed.baseurl=http://wpitchoune.net/news \ No newline at end of file diff --git a/asciidoctor/src/main/java/Main.java b/asciidoctor/src/main/java/Main.java index cfb5591..843189d 100644 --- a/asciidoctor/src/main/java/Main.java +++ b/asciidoctor/src/main/java/Main.java @@ -72,6 +72,7 @@ public class Main { e = new SyndEntryImpl(); e.setTitle(h.getDocumentTitle().getMain()); + e.setUri(props.getProperty("feed.baseurl") + "/" + html.getName()); c = new SyndContentImpl(); c.setType("text/html");