Graphrt

RSS Reader

Ambil dari URL https publik (setiap redirect dicek, batas ukuran) atau parse teks yang diberikan ke satu bentuk item yang seragam, dengan batas since dan jumlah item, parser XML ketat tanpa DTD atau entity expansion

Stabil v0.1.0 Node.js 2 aksi
Pakai di Graphrt Desktop

Tentang

Plugin Graphrt untuk feed berita dan blog. Plugin ini mengambil RSS 2.0 (dan 0.9x), RSS 1.0 (RDF), Atom 1.0 dan JSON Feed 1.x dari URL https publik dan mengembalikan semua format dalam satu bentuk yang seragam, jadi workflow dan agent bisa polling feed tanpa peduli format yang dipakai sebuah situs.

Yang bisa dilakukan

  • read_feed: fetch a feed by URL and normalise it.
  • parse_feed: normalise feed text you already have (from another node), with no network access.
  • One item shape: id, title, link, published, updated (ISO 8601 when the feed uses RFC 822 or ISO 8601 with a real calendar day, the raw text otherwise), author, categories, summary (plain text, at most 1000 characters), enclosures (url, type, length). link, the feed's link and enclosure URLs are http(s) only: javascript:, data:, file: and other schemes become null (enclosures without one are dropped). id is kept as the feed wrote it (Atom ids are often tag: URIs), treat it as an identifier, never as a link. include_content: true adds content as readable text, or the feed's HTML with content_format: "html" (capped by max_content_chars, with content_truncated when cut).
  • Polling helpers: since keeps items published or updated after a date (undated items are kept, since they cannot be compared), max_items (default 50, at most 500) with item_count and truncated. Pair it with the state-store plugin's filter_unseen to process each item once.

Aksi

Setiap aksi adalah langkah yang bisa ditambahkan ke workflow. Agent juga bisa memakai sebagian besar aksi sebagai tool.

  • Read a feed rss-reader.read_feed
  • Parse feed text rss-reader.parse_feed

Pengaturan

Graphrt menyalakan plugin dengan environment yang bersih. Hanya nilai ini yang sampai ke plugin, dan secret tidak masuk log.

  • RSS_READER_MAX_FEED_BYTES 5 MiB
    Largest feed accepted (65536 to 50 MiB), checked while streaming, also caps parse_feed input
  • RSS_READER_TIMEOUT_MS 20000
    Time limit for one fetch, redirects included (1000 to 45000)

Cara memakainya

Di Graphrt Desktop

  1. Buka Plugins dan cari RSS Reader.
  2. Klik Install lalu setujui.
  3. Ikuti langkah setup di halaman plugin, lalu tempel pengaturan yang dibutuhkan.
  4. Jelaskan pekerjaan yang membutuhkannya, dan builder menambahkan langkahnya.
Plugin di Graphrt Desktop

Dengan CLI

terminal
$ graphrt plugin install rss-reader
workflow.yaml
- { id: news, type: rss-reader.read_feed, url: "https://blog.rust-lang.org/feed.xml", since: "2026-11-01T00:00:00Z", max_items: 10 }
Plugin di docs