Modules@robinpath/feed

@robinpath/feed

0.1.0Public

RSS, Atom, and JSON Feed creation, parsing, manipulation, and auto-detection

@robinpath/feed

RSS, Atom, and JSON Feed creation, parsing, manipulation, and auto-detection

Category Functions Auth License

Why use this module?

The feed module lets you:

  • Create RSS 2.0 feed
  • Create Atom feed
  • Create JSON Feed
  • Parse RSS feed
  • Parse Atom feed

All functions are callable directly from RobinPath scripts with a simple, consistent API.

Installation

npm install @robinpath/feed

Quick Start

No credentials needed — start using it right away:

feed.createAtom {"title": "My Blog", "link": "https://example.com", "items": [...]}

Available Functions

FunctionDescription
feed.createRssCreate RSS 2.0 feed
feed.createAtomCreate Atom feed
feed.createJsonCreate JSON Feed
feed.parseRssParse RSS feed
feed.parseAtomParse Atom feed
feed.parseJsonParse JSON Feed
feed.detectDetect feed format
feed.parseAuto-detect and parse any feed
feed.addItemAdd item to feed config
feed.removeItemRemove item by guid
feed.sortItemsSort items by date
feed.filterItemsFilter items by field regex
feed.mergeFeedsMerge multiple feeds
feed.fetchFetch and parse feed from URL

Examples

Create Atom feed

feed.createAtom {"title": "My Blog", "link": "https://example.com", "items": [...]}

Create JSON Feed

feed.createJson {"title": "My Blog", "items": [...]}

Parse RSS feed

feed.parseRss $xml

Integration with RobinPath

import { RobinPath } from "@wiredwp/robinpath";
import Module from "@robinpath/feed";

const rp = new RobinPath();
rp.registerModule(Module.name, Module.functions);
rp.registerModuleMeta(Module.name, Module.functionMetadata);

const result = await rp.executeScript(`
  feed.createAtom {"title": "My Blog", "link": "https://example.com", "items": [...]}
`);

Full API Reference

See MODULE.md for complete documentation including all parameters, return types, error handling, and advanced examples.

Related Modules

License

MIT

Versions (1)

VersionTagPublished
0.1.0latestyesterday
Install
$ robinpath install @robinpath/feed
Version0.1.0
LicenseMIT
Unpacked Size6.8 KB
Versions1
Weekly Downloads0
Total Downloads0
Stars0
Last Publishyesterday
Createdyesterday

Category

web