PowerTrack to CSDL Cheat Sheet

This cheat sheet translates documented PowerTrack operators for Tumblr into the equivalent CSDL targets and operators.

PowerTrack Operator Description CSDL Target CSDL Operator Examples

keyword

Matches a keyword within the body of an activity.

tumblr.body

contains

contains_any

tumblr.body contains "cola"

"exact phrase match"

Matches an exact phrase within the body of an activity.

tumblr.body

contains

contains_any

tumblr.body contains "call gnip"

"keyword1 keyword2"~N

Matches two keywords in close proximity to each other in the body of an activity.

tumblr.body

contains_near

tumblr.body contains_near "love,boulder:4"

contains:

Substring match for activities that have the given substring in the body, regardless of tokenization.

tumblr.body

substr

tumblr.body substr "phone"

from:

Matches any activity from a specific user.

tumblr.blog.id

tumblr.blog.name

==

in

tumblr.blog.id == 17200003

tumblr.blog.name == "mikesmith"

url_contains:

Matches activities with URLs that literally contain the given phrase or keyword.

links.url

contains

contains_any

links.url contains "how-to"

has:links

Matches activities which contain links in the message body.

links.url

exists

links.url exists

lang:

Matches activities that have been classified as being of a particular language.

language.tag

==

in

language.tag == "de"

has:lang

Matches activities which have been classified with a language.

language.tag

exists

language.tag exists

sample:

Returns a random sample of activities.

interaction.sample

interaction.sample

post_title:

Matches an exact phrase within the title of post.

tumblr.title

contains

contains_any

tumblr.title contains "Big Data"

post_title_contains:

Matches activities that have the given substring in the body, regardless of tokenization.

tumblr.title

substr

tumblr.title substr "obama"

#

Matches any activity with the given hashtag.

tumblr.hashtags

==

in

tumblr.hashtags == "politics"

is:reblog

Matches reblogs only.

tumblr.reblogged.parent.blogid

exists

tumblr.reblogged.parent.blogid exists

reblogs_of:

Matches activities that are reblogs of a specified tumblog.

tumblr.reblogged.parent.name

tumblr.reblogged.root.name

==

in

tumblr.reblogged.parent.name == "mynameismike"

OR tumblr.reblogged.root.name == "mynameismike"

source_url_contains:

Matches activities where the post’s author has attributed the post’s content to a URL containing the given string.

tumblr.source_url

contains

contains_any

tumblr.source_url contains "cnn.com"

type:

Matches activities of a given Tumblr type.

tumblr.type

==

in

tumblr.type == "photo"