All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Is there a way to detect file type?

Boyink 23 Aug 2012 19:12 question, complete

Hey Low -

Is there a way within the {entries} loop to detect file type? We're seeing video files returned with timeline-ish numbers for an {excerpt} and would like to remove those.

Replies

  1. Low 23 Aug 2012 19:27

    The request parameters will allow you to exclude certain file types, using the as_filetype parameter. Would that help?

  2. Boyink 23 Aug 2012 20:26

    Hmm...no, we don't want to exclude videos just the excerpt for them.

    No biggie if not, but client was asking.

  3. Low 24 Aug 2012 10:13

    Don't think that's a value returned by Google, by the looks of it...

  4. Boyink 24 Aug 2012 15:59

    Thanks Low - I'll let them know.