I'm looking for a code or service that can detect feed URL(RSS or Atom) of a website automatically.
thanks a lot
For code, try the feedfinder.