Zum Inhalt
HALOWERK

Nostrwerk

rss to nostr

Fetches the feed over https with redirect and size limits, recognises RSS 2.0, RDF and Atom, and converts each entry into a NIP-01 event. Kind 1 produces a short note built from title, optional shortened summary and the link; kind 30023 produces a long-form article carrying the full entry text plus the title, published_at and d tags that NIP-23 expects.

POST https://nostr.halowerk.com/rss-to-nostr

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
feed_urlstringJahttps address of the RSS or Atom feed.
pubkeystringNeinPublic key as hex or npub of the account that will sign. Given, every event carries its computed id.
kindintegerNein1 for short notes, 30023 for NIP-23 long-form articles.
limitintegerNeinHow many of the newest entries to convert.
include_summarybooleanNeinInclude the entry summary in a kind 1 note. Ignored for kind 30023.
summary_max_charsintegerNeinMaximum summary length in a kind 1 note before it is cut at a word boundary.
since_unixintegerNeinOnly convert entries published at or after this Unix timestamp. Entries without a date are kept.
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "feed_url"
  ],
  "additionalProperties": false,
  "properties": {
    "feed_url": {
      "type": "string",
      "description": "https address of the RSS or Atom feed."
    },
    "pubkey": {
      "type": "string",
      "description": "Public key as hex or npub of the account that will sign. Given, every event carries its computed id."
    },
    "kind": {
      "type": "integer",
      "enum": [
        1,
        30023
      ],
      "default": 1,
      "description": "1 for short notes, 30023 for NIP-23 long-form articles."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50,
      "default": 10,
      "description": "How many of the newest entries to convert."
    },
    "include_summary": {
      "type": "boolean",
      "default": true,
      "description": "Include the entry summary in a kind 1 note. Ignored for kind 30023."
    },
    "summary_max_chars": {
      "type": "integer",
      "minimum": 80,
      "maximum": 2000,
      "default": 480,
      "description": "Maximum summary length in a kind 1 note before it is cut at a word boundary."
    },
    "since_unix": {
      "type": "integer",
      "minimum": 0,
      "description": "Only convert entries published at or after this Unix timestamp. Entries without a date are kept."
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "feed_url": "beispiel",
  "kind": 1,
  "limit": 10,
  "include_summary": true,
  "summary_max_chars": 480
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →