# Feed Delta — Incremental RSS, Atom & JSON Feed (`globose_keypress_hwl/feed-delta`) Actor

Collect a fresh news list for newsletters: turn public RSS, Atom and JSON feeds into exportable article records, with cross-run deduplication. No full-page scraping or automatic publishing.

- **URL**: https://apify.com/globose_keypress_hwl/feed-delta.md
- **Developed by:** [td w](https://apify.com/globose_keypress_hwl) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Feed Delta — incremental RSS, Atom & JSON Feed

Collect **new** entries from public feeds as structured records, without repeatedly sending the same URLs downstream. Useful for newsletter editors and small automation pipelines that already know their feed URLs.

### A fresh news list, without sorting the same links again

Preparing a newsletter or tracking industry announcements? Give Feed Delta the public RSS, Atom or JSON Feed URLs you already follow. It collects article titles, links, dates and feed-provided summaries into a table you can export as CSV or JSON in Apify. Later runs can return only entries not in your saved history.

**Example:** a newsletter editor follows several software blogs. The first run collects their current entries. Later runs return newly discovered links instead of repeating the existing list. You still choose what to publish: this tool does not write or send newsletters, or scrape full article pages.

### Try it in a few minutes

1. Click **Try for free** and sign in to Apify. Use this five-record preview input, then click **Start**.
2. Open the completed run's **Dataset / Output** to inspect or export article titles, links, dates and summaries.
3. For your own incremental list, set `deduplicate` to `true`, choose your own `stateNamespace`, and keep that namespace on later runs. An empty dataset can mean no new links; check `REPORT` for source status.
4. Optionally save an Apify Task and configure a Schedule for regular collection. Every scheduled run consumes platform resources.

```json
{"feedUrls":["https://blog.python.org/feeds/posts/default?alt=rss"],"stateNamespace":"public-demo","deduplicate":false,"maxItems":5}
```

**Trial cost:** no developer surcharge is currently activated. Apify compute, storage and transfer usage still applies and can use your available free allowance. Check account limits before scheduling; trial usage is not unlimited.

### Status

Local and Apify cloud execution verified against the public Python blog on 2026-10-27: first cloud run emitted 50 records, second cloud run emitted 0 new records using persistent state. No paid users or orders.

### Input

```json
{"feedUrls":["https://blog.python.org/feeds/posts/default?alt=rss"],"stateNamespace":"my-news","maxItems":100,"maxSeenItems":10000}
```

- `feedUrls`: 1–20 public RSS 2.0, RSS 1.0/RDF, Atom or JSON Feed URLs.
- `deduplicate`: default true, emits only new entries across runs. Set false for repeatable demos; the Store's default demonstration uses false and emits up to five entries each time.
- `stateNamespace`: independent deduplication stream, 1–50 letters/digits/underscore/hyphen. Change it to start a new stream.
- `maxItems`: 1–1000 new records per run, default 100. Truncated items remain eligible next run.
- `maxSeenItems`: stored identity bound, default 10000; at least `maxItems`, at most 100000. Once old keys are evicted, old entries may appear again.

### Output

Dataset records contain `title`, `url`, `id`, `author`, `published_at`, `updated_at`, `date_source`, `date_error`, `updated_date_error`, `summary`, `categories`, `feed_url`. Dates are ISO 8601 UTC. Missing, invalid or timezone-free dates remain null with a reason; no publication dates are invented. `REPORT` in the run key-value store lists each source's parsed/new/emitted counts and failures.

Deduplication uses a URL without fragment or `utm_*` parameters, then a feed-scoped ID, then a content hash. Other query parameters are preserved. Deduplication does not detect edited articles at the same URL, syndicated copies at different URLs, or every form of URL aliasing.

Cloud history is kept in the named key-value store `feed-delta-state`, keyed by namespace. Use **one running job per namespace**. Delivery is at-least-once: interruption between dataset write and state commit can cause a repeated record. The first run emits all current entries up to the requested limit, not historical entries no longer present in the feed.

### Local use (Python 3.12, no dependencies)

```sh
python -m unittest test_product -v
python -m src.main --input INPUT.json --storage storage
```

`storage/dataset.json`, `storage/report.json`, and `storage/state-<namespace>.json` hold the outputs. Every local run replaces dataset/report files; use separate storage folders to archive runs. Standard `HTTP_PROXY` / `HTTPS_PROXY` environment variables are supported; no proxy service is required or bundled.

### Apify deployment

Upload **only this product directory** to an Actor source or private repository, build the Dockerfile, run with INPUT.json, inspect dataset and REPORT, then publish through the Store's Publishing page. The free plan can be used within its allowance; do not purchase a plan automatically. Cloud-only dependency: `apify>=3.0,<4.0`.

### Source rules and limits

Only fetch public feeds you are allowed to use. This tool checks robots.txt for feeds and their redirects, refuses disallowed sources and sources with crawl-delay in this version, does not authenticate, does not defeat verification, and does not extract full article pages. Each response is limited to 2 MiB with a 20-second request timeout. RSS enclosures, private feeds, feed discovery, historical archives, article change detection and web dashboards are out of scope. Partial source failures are listed in REPORT; all-source failure fails the run.

### Pricing and maintenance

No price has been activated. This Actor is offered without a developer usage fee; the user's Apify platform usage still applies. Compute, storage, transfer and platform revenue share apply under Apify's current terms. An observed local runtime is not a cloud cost quote. Free-user activity is not proof of revenue. Initial maintenance budget: inspect failures weekly and after source format changes; official publishing guidance suggests roughly two hours per week. Review actual paid demand before expanding features.

# Actor input Schema

## `feedUrls` (type: `array`):

1–20 public RSS, Atom or JSON Feed URLs. No credentials or private sources.

## `deduplicate` (type: `boolean`):

Keep enabled for incremental pipelines. Disable for repeatable demos and platform tests.

## `stateNamespace` (type: `string`):

Use one namespace per stream; do not overlap concurrent runs with the same namespace.

## `maxItems` (type: `integer`):

Stops after this many new items. Remaining items stay eligible for later runs.

## `maxSeenItems` (type: `integer`):

At least maxItems; older keys are discarded when this bound is exceeded.

## Actor input object example

```json
{
  "feedUrls": [
    "https://blog.python.org/feeds/posts/default?alt=rss"
  ],
  "deduplicate": true,
  "stateNamespace": "default",
  "maxItems": 100,
  "maxSeenItems": 10000
}
```

# Actor output Schema

## `entries` (type: `string`):

No description

## `report` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "feedUrls": [
        "https://blog.python.org/feeds/posts/default?alt=rss"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("globose_keypress_hwl/feed-delta").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "feedUrls": ["https://blog.python.org/feeds/posts/default?alt=rss"] }

# Run the Actor and wait for it to finish
run = client.actor("globose_keypress_hwl/feed-delta").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "feedUrls": [
    "https://blog.python.org/feeds/posts/default?alt=rss"
  ]
}' |
apify call globose_keypress_hwl/feed-delta --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,globose_keypress_hwl/feed-delta"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/9lqkQ4O0HPqYNWGAG/builds/aVdZTMUUcbLenJWEx/openapi.json
