diff --git a/src/fr/devinsy/statoolinfos/htmlize/SocialNetworksPage.java b/src/fr/devinsy/statoolinfos/htmlize/SocialNetworksPage.java index cadc278..65e1676 100644 --- a/src/fr/devinsy/statoolinfos/htmlize/SocialNetworksPage.java +++ b/src/fr/devinsy/statoolinfos/htmlize/SocialNetworksPage.java @@ -31,7 +31,6 @@ import fr.devinsy.statoolinfos.HtmlizerContext; import fr.devinsy.statoolinfos.core.Federation; import fr.devinsy.statoolinfos.core.Organization; import fr.devinsy.statoolinfos.core.Organizations; -import fr.devinsy.statoolinfos.core.SocialNetworks; import fr.devinsy.statoolinfos.core.StatoolInfosException; import fr.devinsy.statoolinfos.crawl.CrawlCache; import fr.devinsy.xidyn.XidynException; @@ -60,16 +59,8 @@ public class SocialNetworksPage logger.info("Htmlize social networks pages."); Organizations organizations = federation.getOrganizations().filterBySocialNetworks(); - String page = SocialNetworksPage.htmlize("Tous", organizations); + String page = SocialNetworksPage.htmlize("Réseaux sociaux", organizations); FileUtils.write(new File(htmlizeDirectory, "socialNetworks.xhtml"), page, StandardCharsets.UTF_8); - - organizations = federation.getOrganizations().filterBySocialNetwork(SocialNetworks.DIASPORA); - page = SocialNetworksPage.htmlize("Disapora*", organizations); - FileUtils.write(new File(htmlizeDirectory, "socialNetworks-diaspora.xhtml"), page, StandardCharsets.UTF_8); - - organizations = federation.getOrganizations().filterBySocialNetwork(SocialNetworks.MASTODON); - page = SocialNetworksPage.htmlize("Mastodon", organizations); - FileUtils.write(new File(htmlizeDirectory, "socialNetworks-mastodon.xhtml"), page, StandardCharsets.UTF_8); } /** diff --git a/src/fr/devinsy/statoolinfos/htmlize/socialNetworks.xhtml b/src/fr/devinsy/statoolinfos/htmlize/socialNetworks.xhtml index d1b8038..edaf027 100644 --- a/src/fr/devinsy/statoolinfos/htmlize/socialNetworks.xhtml +++ b/src/fr/devinsy/statoolinfos/htmlize/socialNetworks.xhtml @@ -12,17 +12,15 @@