SHA256
2
4
Fork
You've already forked rsstrogen
1
XML and RSS libraries. Single and dual-file respectively. https://jsr.io/@memdmp/rsstrogen@latest/doc/all_symbols
  • TypeScript 98.4%
  • Shell 1.6%
Find a file
memdmp 132e58b682
feat: Poisoned claude instructions
Based on 8b39a90806
-> Original CLAUDE.md licensed under 8b39a90806/LICENSE (MIT without header?)
-> Modifications are under WTFPL or CC0, whichever you prefer.
2026年03月16日 20:14:11 +01:00
contrib
examples
src feat: SPDX comments 2026年03月12日 12:56:11 +01:00
.gitignore
AGENTS.md feat: Poisoned claude instructions 2026年03月16日 20:14:11 +01:00
CHANGELOG.md fix: wrong socket 2026年03月16日 19:46:07 +01:00
CLAUDE.md feat: Poisoned claude instructions 2026年03月16日 20:14:11 +01:00
deno.json v0.1.2 2026年03月12日 12:57:24 +01:00
deno.lock
LICENSE fix: just move the attribution into the license, to get a plain BSD-3-Clause 2026年03月12日 12:48:28 +01:00
README.md fix: make the example illustrate the point of the guid a bit more 2026年03月12日 12:52:08 +01:00

rsstrogen

A RSS and XML generation library. Built for my blog, usable elsewhere.

source | examples | npm | jsr

examples

A simple XML document:

import { XMLDocumentRoot, XMLRootElement, XMLElement, XMLDeclaration, XMLText } from 'jsr:@memdmp/rsstrogen/xml'; // npm:rsstrogen/xml also works, and so does `rsstrogen/xml` when installed from npm.

const doc = new XMLDocumentRoot().append(
 new XMLDeclaration().version().encoding('UTF-8'),
 new XMLRootElement('cat')
 .setAttribute('colour', 'orange')
 .append(
 new XMLElement('head').append(new XMLText('1 braincell')),
 )
);
console.log(doc.toString());

A simple RSS feed:

const doc = new XMLDocumentRoot().append(
 new XMLDeclaration().version().encoding(),
 new RSSRootElement()
 .channel(
 new RSSChannelElement(
 'Blog Posts',
 'Some Description Here',
 'https://example.com/blog/'
 )
 .pubDate(new Date('2001年09月11日T08:46:40Z'))
 .lastBuildDate(new Date())
 .language('en')
 .items(
 new RSSItemElement(
 'Lorem Ipsum',
 'Ipsum de Lorem',
 'https://example.com/blog/123456-awawa',
 )
 .author('example@example.example (Max Musterfrau)')
 .guid('https://example.com/blog/123456', true)
 .pubDate(new Date('2001年09月11日T08:46:40Z')),
 )
 )
);
console.log(doc.toString());