added feed autodiscovery code