     manage compatibility with previous versions of the plugins
     TODO remove when deprecated
     ###
-    fixOldConfigurationFormat = (config) ->
+    fixOldConfigurationFormat: (config) ->
       if config.collection? or config.url?
         #be compatible with previous version
         oldConf =


    getConfig: ->
      config = super()
      return fixOldConfigurationFormat(config)

    writeCollection = (configName,collectionConfig) ->
      {docpad} = @
      {site} = docpad.getTemplateData()
      feedCollection = docpad.getCollection collectionConfig.collection


    writeAfter: ->
      for own configName,collectionConfig of @getConfig()
        @writeCollection configName,collectionConfig
