<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Script Filter to apply on equal campaigns</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=5362111" />
  <subtitle>Script Filter to apply on equal campaigns</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=5362111</id>
  <updated>2013-05-22T01:04:10Z</updated>
  <dc:date>2013-05-22T01:04:10Z</dc:date>
  <entry>
    <title>RE: Script Filter to apply on equal campaigns</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5890140" />
    <author>
      <name>Rodrigo Covarrubias</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5890140</id>
    <updated>2012-06-19T20:00:05Z</updated>
    <published>2012-06-19T20:00:05Z</published>
    <summary type="html">Hi John, thanks for your support, It works.

Regards.</summary>
    <dc:creator>Rodrigo Covarrubias</dc:creator>
    <dc:date>2012-06-19T20:00:05Z</dc:date>
  </entry>
  <entry>
    <title>RE: Script Filter to apply on equal campaigns</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5870978" />
    <author>
      <name>John Russell</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5870978</id>
    <updated>2012-06-14T15:34:21Z</updated>
    <published>2012-06-14T15:34:21Z</published>
    <summary type="html">The socialminerhost part of the url is supposed to be replaced by your installed socialminer.  For example if your SocialMiner is installed at myhost.company.com the url would be

http://myhost.company.com/scripts/klout.groovy

Give that a try and let us know if it works.

Thanks</summary>
    <dc:creator>John Russell</dc:creator>
    <dc:date>2012-06-14T15:34:21Z</dc:date>
  </entry>
  <entry>
    <title>RE: Script Filter to apply on equal campaigns</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5864493" />
    <author>
      <name>Rodrigo Covarrubias</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5864493</id>
    <updated>2012-06-13T18:50:37Z</updated>
    <published>2012-06-13T18:50:37Z</published>
    <summary type="html">Hi guys,

The link to the groovy script sample is now broken (http://socialminer host/scripts/klout.groovy ), could anyone send me the file sample?

Regards</summary>
    <dc:creator>Rodrigo Covarrubias</dc:creator>
    <dc:date>2012-06-13T18:50:37Z</dc:date>
  </entry>
  <entry>
    <title>RE: Script Filter to apply on equal campaigns</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5378359" />
    <author>
      <name>Rui Martins</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5378359</id>
    <updated>2012-03-29T16:29:18Z</updated>
    <published>2012-03-29T16:28:52Z</published>
    <summary type="html">Hi,

I've followed the guide and made some script tests and we are able to that now.
Configuring a script filter and applying to a campaign, we can filter out contacts that don't match predefined keywords.

The hint in the Developers Guide 8.5.5 is at 16.2.4:
//Finally, return 100 so that we include the social contact in campaigns.
return 100

Best Regards,
Rui Martins</summary>
    <dc:creator>Rui Martins</dc:creator>
    <dc:date>2012-03-29T16:28:52Z</dc:date>
  </entry>
  <entry>
    <title>RE: Script Filter to apply on equal campaigns</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5360151" />
    <author>
      <name>John Russell</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5360151</id>
    <updated>2012-03-27T18:54:06Z</updated>
    <published>2012-03-27T18:54:06Z</published>
    <summary type="html">The language is groovy.  It is very much like Java if you are familiar with that. Java syntax will work.  
For what objects are available in the script context check out section 16.2 of the developer guide.
http://developer.cisco.com/web/socialminer/docs

For example scripts there is at least one on your socialminer server at 
http://socialminerhost/scripts/klout.groovy

That probably has more than you need but its a good example of tagging social contacts.</summary>
    <dc:creator>John Russell</dc:creator>
    <dc:date>2012-03-27T18:54:06Z</dc:date>
  </entry>
  <entry>
    <title>Script Filter to apply on equal campaigns</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5362110" />
    <author>
      <name>Rui Martins</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5362110</id>
    <updated>2012-03-27T17:12:39Z</updated>
    <published>2012-03-27T17:12:39Z</published>
    <summary type="html">Hi,
 
I've a customer who monitores its Facebook Fan Page. We've created 2 campaigns with the same Feed (the FB fan Page) but now we want to filter the contacts/comments by some keywords, in order to separate the relevant contacts by campaigns.
 
The only way I see to do this is to implement Script Filters, but I need additional help on this language.
 
Does any of you have a sample code for this type of implementation?
 
Thx in advance,
Rui Martins
 </summary>
    <dc:creator>Rui Martins</dc:creator>
    <dc:date>2012-03-27T17:12:39Z</dc:date>
  </entry>
</feed>

