Converting Heterogeneous RSS pubDate & Atom Timestamps to Canonical ISO-8601 JSON
Unify inconsistent RSS 2.0 RFC-822 dates ('Mon, 30 Nov 2026 10:15:00 +0000') and Atom RFC-3339 timestamps into canonical UTC ISO-8601 strings ready for sorting and indexing.
Why Existing Scrapers & Subscriptions Break Here
RSS feeds mix RFC-822 timezone offsets, named abbreviations (EST/GMT), and malformed dates, while Atom feeds use RFC-3339 strings.
Naive string sorting breaks chronological event timelines whenever feeds from US and EU agencies are merged.
Harvest-Anything normalizes every item's publication date into canonical UTC published_iso (2026-11-30T10:15:00Z) with line references.
Verified Extraction Output Breakdown (Observed Receipt: 40000 micros)
| Extracted Attribute | Observed Value / Outcome | Provenance / Line Ref | Confidence |
|---|---|---|---|
| Raw vs Deduped Entries | 3 raw items -> 2 unique items (1 removed) | SHA-256 GUID dedup | 0.99 |
| Double-Entity Repair | €75.36/tCO2e, São Paulo & München | Clean UTF-8 output | 0.98 |
| Timestamp Normalization | 2026-11-30T10:15:00Z & 2026-12-01T08:00:00Z | RFC-822 to ISO-8601 | 0.97 |
| Billed Amount | $0.04 (40,000 micros) | Live verified hit | 1.00 |
Pricing Benchmark vs Incumbents
| Provider | Pricing Model | Verified Cost & Friction | Harvest-Anything Advantage |
|---|---|---|---|
| Harvest-Anything | Pay-per-verified-harvest (Creem $9/$29/$99/$299 packs, 0% treg hub commission) | $0.04 live / $0.004 recheck; $0 on fake-200, empty, or 422 | Deterministic JSON Schema, field confidence, 1-based line refs, Streamable MCP |
| Incumbent Benchmark | Annual seats, monthly floors, or metered raw proxy GBs | Trade compliance suites ($2,000-$4,000 setup + annual lock-in); raw RSS scrapers with no encoding repair | Zero monthly minimum, zero sales gate, zero charge on soft-blocks |
Run via HTTP REST (POST /harvest)
curl -sS -X POST https://harvest.fastmesh.dev/harvest \
-H "Content-Type: application/json" \
-d '{"url": "https://customs.example.eu/tariffs/updates.rss", "mode": "customs_feeds"}'
Run via Native Streamable MCP (POST /mcp)
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "harvest_extract",
"arguments": {
"url": "https://customs.example.eu/tariffs/updates.rss",
"mode": "customs_feeds"
}
}
}
Run via Treg Hub (0% Seller Commission)
treg call harvest-anything --data '{"url": "https://customs.example.eu/tariffs/updates.rss", "mode": "customs_feeds"}'
Observed HarvestReceipt JSON Output
{
"ok": true,
"status_code": 200,
"mode": "customs_feeds",
"url": "https://customs.example.eu/tariffs/updates.rss",
"extracted": {
"feed_type": "rss",
"feed_title": "Tariff & Duty Bulletins — Müller Customs",
"encoding_detected": "utf-8",
"entry_count": 2,
"dedup_removed_count": 1,
"entries": [
{
"id": "TAR-2026-01",
"title": "HS 8541.43 Solar Cell Duty & CBAM Update",
"link": null,
"published_iso": "2026-11-30T10:15:00Z",
"summary": "Rate adjusted to 50% (€75.36/tCO2e) for São Paulo & München ports.",
"categories": [],
"line": 1
},
{
"id": "TAR-2026-02",
"title": "HTS 8507.60 Non-EV Battery Section 301 Notice",
"link": null,
"published_iso": "2026-12-01T08:00:00Z",
"summary": "Duty rate 25% effective immediately.",
"categories": [],
"line": 1
}
]
},
"field_confidence": {
"entries": 0.96,
"encoding_normalization": 0.98,
"dedup": 0.99
},
"source_line_refs": {
"first_entry": {
"line": 1,
"end_line": 1,
"snippet": "HS 8541.43 Solar Cell Duty & CBAM Update",
"source_kind": "rss"
}
},
"schema_valid": true,
"cache_hit": false,
"cache_tier": "live",
"billed_micros": 40000,
"zero_bill_reason": null,
"sha256_receipt": "2c3b13e2a2501b14efdd0f4effe2923832f79f368911caf3f67bd262160714cf"
}
Frequently Asked Questions
What timestamp format does Harvest-Anything output across feeds?
Every feed entry exposes published_iso formatted in UTC ISO-8601 (YYYY-MM-DDTHH:MM:SSZ).
Is the original feed title and item summary preserved?
Yes. feed_title, entry id, title, link, published_iso, summary, and categories are all returned cleanly.
How fast is a cached feed recheck?
Same-tenant rechecks within the archive cache return immediately at 10% ($0.004 / 4,000 micros).