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 example
Format the project:
deno fmt
Check for common errors:
deno lint
See every dependency in deno.json
.
Developed with 🧪 @FartLabs