Rss Keyword Filter avatar

Rss Keyword Filter

Pricing

$0.01 / actor start

Go to Apify Store
Rss Keyword Filter

Rss Keyword Filter

Pricing

$0.01 / actor start

Rating

0.0

(0)

Developer

Eichan Jolly

Eichan Jolly

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

12 days ago

Last modified

Categories

Features

Limited permissions

Share

RSS / Atom Keyword Filter

Small scheduled job: Check up to five public RSS or Atom feeds, and save only articles containing your search terms in the title or plain-text summary. Results are merged, deduplicated by article link, sorted newest-first (undated entries last), and capped.

Who is it for?

News monitoring, topic research, company-watch digests, and scheduled feed filtering without a login or scraping framework. Use an Apify schedule to get a new dataset for each run.

Example input

The Store form starts with a working public BBC News RSS URL and deliberately broad sample terms to show matching results. Change these words to your topic for useful monitoring.

{
"feedUrls": ["https://feeds.bbci.co.uk/news/rss.xml"],
"keywords": ["the", "and"],
"maxItems": 20
}

feedUrls accepts 1–5 RSS/Atom HTTP(S) URLs. keywords accepts 1–20 nonempty strings (100 characters maximum each); matching is case-insensitive substrings, including inside words. maxItems defaults to 20, with a maximum of 100. Duplicate keywords (ignoring letter case) are collapsed.

Example output: one matching article

This is an illustrative record showing the schema, not a claim about the current live BBC feed.

{
"title": "The Moon and its next exploration mission",
"link": "https://example.org/article/moon",
"publishedAt": "2026-11-01T09:30:00Z",
"sourceFeed": "https://feeds.bbci.co.uk/news/rss.xml",
"summary": "The team describes its launch and mission goals.",
"matchedKeywords": ["the", "and"],
"status": "ok",
"error": null,
"checkedAt": "2026-11-01T09:31:00Z"
}

If a feed fails, one error row per failed feed is written with sourceFeed, status: "error", a readable error message, matchedKeywords: [], and null article fields. Good feeds still contribute matches. Failed-feed error items are additional to maxItems. Zero matches is successful: no rows are added for a valid feed with no matches.

Running locally

No install needed beyond Python 3.12+ (3.12 is used in the Dockerfile):

export ACTOR_INPUT_JSON='{"feedUrls":["https://feeds.bbci.co.uk/news/rss.xml"],"keywords":["the"],"maxItems":20}'
python src/main.py

Results appear in ./storage/datasets/default/000000001.json, etc. For a local file input instead of the environment variable, create ./storage/key_value_stores/default/INPUT.json.

On Apify, the Actor reads INPUT via GET https://api.apify.com/v2/key-value-stores/{APIFY_DEFAULT_KEY_VALUE_STORE_ID}/records/INPUT using its run-scoped APIFY_TOKEN, and writes result rows to its default dataset through the Apify REST API. Explicit ACTOR_INPUT_JSON takes priority, even on Apify. No Apify SDK, extra dependency, account on source sites, or third-party API key is required.

Limits & honest behavior

  • Only public, directly accessible feeds are supported. Local/private addresses and URLs with embedded credentials are rejected; safe redirects are allowed. Feeds requiring authentication or rendered JavaScript are unsupported.
  • Downloads are capped at 1.5 MB/feed and time out after 12 seconds. For politeness, each feed is fetched once, sequentially. Only the first 300 articles per feed are examined.
  • HTML pages passed as feed URLs are reported explicitly as HTML, not RSS/Atom. Malformed HTTP, missing DNS, invalid XML, and HTTP errors use readable per-feed error rows, not tracebacks.
  • Summary HTML is reduced to plain text (up to 2,000 characters); titles are limited to 500 characters. The Actor does not open article pages.
  • Dates are UTC ISO 8601 or null if the feed's supplied date cannot be parsed. Undated articles sort last; duplicates are resolved by retaining the newest supplied date.
  • These are current matching articles, not new-since-previous-run alerts. This Actor has no persistent state or notifications. A successful run with no matches saves zero items.

Scheduled use case

Schedule the Actor every morning with keywords: ["climate", "energy"]. Consume that run's dataset in your automation. Treat each run as a new snapshot; use downstream storage if you need cross-run change alerts.

Store information

Category: Automation (AUTOMATION), Developer Tools (DEVELOPER_TOOLS). Suggested pricing: $0.006 per run (advisory only; billing is not configured). The RSS content remains subject to each publisher's terms and attribution requirements.