Treece
New Member
I'm trying to remove YouTube videos and podcasts from the "Latest" and "Unread" modules - they have their own modules for that - but every query I've tried either removes all feed items or none.
The presence of an enclosure seems to be the only way to tell what the feed item is, so I've focused on that.
-
-
-
-
-
These are some of the queries I've tried with no success. Either it includes all video and audio, or the module shows no results. Not new to SQL or coding, but I'm struggling here. The goal is just to keep articles, podcasts, and videos separated into their own modules. The video and podcast modules I've put together work as expected. I've looked over the database schema and see nothing else that would indicate the content is text, audio, or video than the enclosure.
Any ideas? Thanks for reading.
The presence of an enclosure seems to be the only way to tell what the feed item is, so I've focused on that.
-
EnclosureLink IS NULL AND EnclosureType NOT LIKE '%video%'
-
EnclosureType NOT IN ('video/mp4','audio/mpeg')
-
EnclosureType NOT LIKE 'video%' AND EnclosureType NOT LIKE 'audio%'
-
EnclosureType NOT LIKE '%video%' AND EnclosureType NOT LIKE '%audio%'
-
EnclosureType IS NULL
These are some of the queries I've tried with no success. Either it includes all video and audio, or the module shows no results. Not new to SQL or coding, but I'm struggling here. The goal is just to keep articles, podcasts, and videos separated into their own modules. The video and podcast modules I've put together work as expected. I've looked over the database schema and see nothing else that would indicate the content is text, audio, or video than the enclosure.
Any ideas? Thanks for reading.