@accepts(utf8, gboolean) @returns(gboolean) def uri_could_be_podcast(uri, is_opml)
Checks if @uri identifies a resource that is probably a podcast (RSS or Atom feed). This does not perform any IO, it just guesses based on the URI itself.
uri : |
a URI to check |
is_opml : |
returns whether the URI identifies an OPML document |
Returns : |
True if @uri may be a podcast |