Parse Sone from fetch result.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 16 Oct 2010 01:45:08 +0000 (03:45 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 16 Oct 2010 01:45:08 +0000 (03:45 +0200)
src/main/java/net/pterodactylus/sone/core/Core.java

index 8570e9a..cf61941 100644 (file)
@@ -291,6 +291,7 @@ public class Core extends AbstractService {
        public void loadSone(String requestUri) {
                try {
                        FetchResult fetchResult = freenetInterface.fetchUri(new FreenetURI(requestUri).setMetaString(new String[] { "sone.xml" }));
+                       soneDownloader.parseSone(null, fetchResult);
                } catch (MalformedURLException mue1) {
                        logger.log(Level.INFO, "Could not create URI from “" + requestUri + "”.", mue1);
                }