fixed build
[www.git] / asciidoctor / src / main / java / Main.java
index cfb5591..c83bad8 100644 (file)
@@ -68,10 +68,11 @@ public class Main {
                                
                        h = asciidoctor.readDocumentHeader(adoc);
                                                            
-                       asciidoctor.convert(new FileReader(adoc), sw, Collections.emptyMap());
+                       asciidoctor.convert(new FileReader(adoc), sw, new HashMap<String,Object>());
                        
                        e = new SyndEntryImpl();
                        e.setTitle(h.getDocumentTitle().getMain());
+                       e.setUri(props.getProperty("feed.baseurl") + "/" + html.getName());
                        
                        c = new SyndContentImpl();
                        c.setType("text/html");