Last active
August 29, 2015 14:08
-
-
Save richcaudle/84a8067eb16a6ebb736d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Declare a filter in CSDL, looking for content mentioning brands, tagging each mentioned | |
$csdl = 'tag.brand "Calvin Klein" { interaction.content contains "Calvin Klein" } | |
tag.brand "GQ" { interaction.content contains "GQ" } | |
tag.brand "Adidas" { interaction.content contains "Adidas" } | |
return | |
{ | |
interaction.content contains_any "Calvin Klein, GQ, Adidas" | |
}'; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment