Premium Advanced Search Rules (PAI Sources)

Boolean Logic and Syntax

Scraawl SocL’s Premium Advanced Search rules for RSS deliver matching data to you based on search rules that you set up.

Keywords are not case sensitive.

Search RulesSample Matching Posts
happy
Happy
I am very happy today.
I am very happy today.

Find multiple keywords in the same post.

Search RulesSample Matching Posts
happy AND party
happy party
I'm very happy since I'm having a party.

Find any one of several keywords (or both).

Search RulesSample Matching Posts
happy OR partyI'm very happy.
I'm having a party tonight.
I'm very happy since I'm having a party.

NOTs should always follow an AND because a negated term by itself will result in a HUGE volume search.

Search RulesSample Matching Posts
happy AND NOT birthday
happy -birthday
I am happy to see you.
Sunflowers make me happy.

Logical clauses can be combined using parentheses to create more complex searches

Search RulesSample Matching Posts
(happy OR party) AND (holiday OR house)
(happy OR party) (holiday OR house)
We always have a party for the Thanksgiving holiday.

To exclude multiple terms from your search, negate an OR statement.

Search RulesSample Matching Post
happy AND NOT (party OR holiday)
happy -(party OR holiday)
Happy birthday!

NOTE: Negations should always follow an AND. Negations following an OR would return everything except the negation. E.g., this is an invalid search: ipad OR -(iphone OR ipod)

Quotes (“”) allow you to search for an exact phrase (which is not case sensitive).

Search RulesSample Matching Posts
"happy birthday"
Happy birthday!

Order of Operations

When combining AND and OR functionality in a single rule, the following order of operations will dictate how your rule is evaluated.

  1. Operators connected by AND logic are combined first
  2. Then, operators connected with OR logic are applied
Search RulesSample Matching Posts
iphone OR ipad AND apple =
iphone OR (ipad AND apple)
I own an apple ipad.
apple OR iphone ipad =
apple OR (iphone AND ipad)
My grandma has an iphone and an ipad.

ipad AND iphone OR android =
(iphone ipad) OR android
Who has an ipad and not an iphone?

To eliminate uncertainty and ensure that your rules are evaluated as intended, group terms together with parentheses where appropriate. For example:

Search RulesSample Matching Posts
iphone –(ipad OR android)I can’t live without my iphone.
(iphone OR ipad) AND appleHe needs to fix his iphone at the apple store.
ipad -(iphone OR android)I read books on my ipad.

Operators

The syntax for RSS News Feed searches is similar to Scraawl Twitter searches in many ways. Look at the tables below for specific search operators.

Logic TypeScraawl SyntaxDescription
langlang:zhMatches posts that have been classified by posts source as being of a particular language (if, and only if, the post has been classified). It is important to note that each post is currently only classified as being of one language, so AND’ing together multiple languages will yield no results.
sourcesource:ABCMatches posts from a specified news source.
regionregion:Middle EastMatches on the “region” field of the area that the news feeds or blogs have specified that they are covering.
categorycategory:DefenseMatches any post generated by the given source application.
point_radius: [lon lat radius]point_radius:[-77.0365 38.8977 10mi] lang:enMatches against the Exact Location (x,y) of the post when present, or against the location of a geo-profiled place identified in the text, and where the geo-profiled place is fully contained within the defined region.
countrycountry:SyriaMatches on the “country ” that the news feeds or blogs have specified that are covering.
Back to top