Rss Atom Feed Converter avatar

Rss Atom Feed Converter

Pricing

$0.01 / actor start

Go to Apify Store
Rss Atom Feed Converter

Rss Atom Feed Converter

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

11 days ago

Last modified

Categories

Features

Limited permissions

Share

Convert one public RSS or Atom XML feed into a clean dataset with one uniform row per entry. Useful for developers, researchers, no-code automation builders and content monitors who need JSON rows instead of XML. No logins or feed subscriptions are required.

What it does

  • Downloads the supplied public RSS 2.0 / Atom 1.0 feed, with limited RSS 1.0 (RDF) support.
  • Automatically identifies the feed format from the XML root.
  • Exports up to maxEntries items (default 20, allowed 1–100), in source feed order.
  • Normalizes dates to ISO 8601 UTC (Z) when a timezone is provided; unknown, malformed or timezone-free dates become null.
  • Converts summaries to plain text, stripping HTML tags and removing script/style content. Summaries are capped at 5,000 characters.
  • If XML is malformed or the feed type is not supported, writes one error item with the same fields and a safe, plain-language error value.

Example input

{"feedUrl":"https://blog.rust-lang.org/feed.xml","maxEntries":2}

The prefill is the public Rust project blog feed, reported working in an October 2026 feed catalog. Feed publishers may change their endpoints.

Example output

Illustrative, fictional fixture item, not a claim about a live Rust blog entry:

{
"title": "Release One",
"link": "https://blog.rust-lang.org/2026/11/01/release-one/",
"publishedAt": "2026-11-01T01:15:00Z",
"author": "Editorial",
"summary": "Hello developers! & welcome.",
"sourceFeed": "https://blog.rust-lang.org/feed.xml",
"error": null
}

All normal items use title, link, publishedAt, author, summary, sourceFeed, error. Missing optional metadata is null, summary may be empty. Error records have null title/link/date/author and a readable error string. A valid but empty feed returns zero dataset rows.

Honest limitations

  • One URL, one feed request, one pass. No pagination, automatic feed discovery, subscriptions, crawling linked articles, or deduplication.
  • No redirects, cookies, authentication, login sites or hostile targets. Submit the final public feed URL directly.
  • 10 MB response limit (before and after supported gzip compression), 10-second network timeout, public DNS and verified TLS. IP literal URLs, non-standard ports and domains resolving to non-public IPs are blocked.
  • maxEntries counts entries, not pages; dates without explicit timezones are intentionally not guessed. Non-standard feed extensions may not be mapped.
  • HTML summaries are normalized with a best-effort parser; formatting and embedded images are discarded. The feed's text is not verified against original articles.
  • DTD/entity declarations are rejected as a safety measure.

Run locally

Python 3.12+ (Python standard library only):

$ACTOR_INPUT_JSON='{"feedUrl":"https://blog.rust-lang.org/feed.xml","maxEntries":2}' python src/main.py

Alternatively, create storage/key_value_stores/default/INPUT.json. Output rows go to storage/datasets/default/*.json. Set APIFY_LOCAL_STORAGE_DIR to change the local output directory.

On Apify the Actor loads its JSON input using REST GET from the default run key-value store at /v2/key-value-stores/{id}/records/{inputKey}, then stores results using REST POST to /v2/datasets/{id}/items. It relies exclusively on Apify's runtime-provided APIFY_TOKEN and storage IDs; no user credentials or SDK are required. ACTOR_INPUT_JSON is available for local/testing overrides.

Verification

python tests/run_smoke.py
python -m unittest discover -s tests -p 'test_*.py' -v

The smoke runner actually executes python src/main.py as a subprocess with the public feed URL input but answers over a local TLS fixture, avoiding dependence on live connectivity. Recorded terminal output and actual dataset rows: verification/script-mode-smoke.txt and verification/dataset-items.json. This is not a live network test or Apify cloud build.

Store / pricing recommendation

Category: DEVELOPER_TOOLS. Suggested: $0.003 per successful Actor run (pay-per-event; not per feed item), advisory only. No billing or publication configured; store_metadata.json describes the proposal.