Is there a way to detect file type?
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.
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
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?
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.
Low 24 Aug 2012 10:13
Don't think that's a value returned by Google, by the looks of it...
Boyink 24 Aug 2012 15:59
Thanks Low - I'll let them know.