Note assumption in feed type guessing code.
Move constants up to module level.
Add discover_feeds().