Programmable RSS/Atom feed event listeners.
See a full example in example.ts.
const kv = await Deno.openKv();
const feeder = new DenoFeeder(kv);
await feeder.cron(
"https://fart.tools/feed.xml",
"FartLabs Blog",
"0 * * * *", // https://crontab.guru/#0_*_*_*_*
(entries) => {
console.dir(entries, { depth: Infinity });
},
);Make sure to install Deno: https://deno.land/manual/getting_started/installation.
Run the example to manually test the project:
deno task exampleFormat the project:
deno fmtCheck for common errors:
deno lintSee every dependency in deno.json.
Developed with 🧪 @FartLabs