Public
Versions
- Open: VersionChanges from v82 to v83+0-0⦚ 25 unchanged lines ⦚⦚ 25 unchanged lines ⦚
- Open: VersionChanges from v81 to v82+0-0⦚ 25 unchanged lines ⦚⦚ 25 unchanged lines ⦚
- Open: VersionChanges from v80 to v81+0-0⦚ 25 unchanged lines ⦚⦚ 25 unchanged lines ⦚
- Open: VersionChanges from v79 to v80+0-0⦚ 25 unchanged lines ⦚⦚ 25 unchanged lines ⦚
- Open: VersionChanges from v78 to v79+1-0⦚ 18 unchanged lines ⦚const extendedFeeds = me.extendFeeds(allNewItems);const html = me.renderFeedsForEmail(extendedFeeds);
console.email({ subject: "Your Daily RSS Digest", html });me.lastRunAt = Date.now();}}⦚ 18 unchanged lines ⦚const extendedFeeds = me.extendFeeds(allNewItems);const html = me.renderFeedsForEmail(extendedFeeds);console.email(extendedFeeds);console.email({ subject: "Your Daily RSS Digest", html });me.lastRunAt = Date.now();}} - Open: VersionChanges from v77 to v78+2-1export async function pollRSSFeeds() {let allNewItems = [];
await Promise.all(me.rssFeeds.map(async ({ name, url }) => {try {let items = await me.newRSSItems({url,lastRunAt: me.lastRunAt,});⦚ 15 unchanged lines ⦚export async function pollRSSFeeds() {let allNewItems = [];await Promise.all(me.rssFeeds.map(async ({ name, url, type }) => {try {let items = await me.newRSSItems({url,type,lastRunAt: me.lastRunAt,});⦚ 15 unchanged lines ⦚ - Open: VersionChanges from v76 to v77+20-21export async function pollRSSFeeds() {
console.email("test from pollRSS");let allNewItems = [];// await Promise.all(@me.rssFeeds.map(async ({ name, url }) => {// try {// let items = await @me.newRSSItems({// url,// lastRunAt: @me.lastRunAt,// });// if (items.length) {// allNewItems = [...allNewItems, ...items];// }// }// catch (error) {// console.error(`Failed to fetch items for ${name}: ${error.message}`);// }// }));// if (allNewItems.length) {// const extendedFeeds = @me.extendFeeds(allNewItems);// const html = @me.renderFeedsForEmail(extendedFeeds);// console.email({ subject: "Your Daily RSS Digest", html });// @me.lastRunAt = Date.now();// }}export async function pollRSSFeeds() {let allNewItems = [];await Promise.all(me.rssFeeds.map(async ({ name, url }) => {try {let items = await me.newRSSItems({url,lastRunAt: me.lastRunAt,});if (items.length) {allNewItems = [...allNewItems, ...items];}}catch (error) {console.error(`Failed to fetch items for ${name}: ${error.message}`);}}));if (allNewItems.length) {const extendedFeeds = me.extendFeeds(allNewItems);const html = me.renderFeedsForEmail(extendedFeeds);console.email({ subject: "Your Daily RSS Digest", html });me.lastRunAt = Date.now();}} - Open: VersionChanges from v75 to v76+21-20export async function pollRSSFeeds() {
let allNewItems = [];await Promise.all(me.rssFeeds.map(async ({ name, url }) => {try {let items = await me.newRSSItems({url,lastRunAt: me.lastRunAt,});if (items.length) {allNewItems = [...allNewItems, ...items];}}catch (error) {console.error(`Failed to fetch items for ${name}: ${error.message}`);}}));if (allNewItems.length) {const extendedFeeds = me.extendFeeds(allNewItems);const html = me.renderFeedsForEmail(extendedFeeds);console.email({ subject: "Your Daily RSS Digest", html });me.lastRunAt = Date.now();}}export async function pollRSSFeeds() {console.email("test from pollRSS");let allNewItems = [];// await Promise.all(@me.rssFeeds.map(async ({ name, url }) => {// try {// let items = await @me.newRSSItems({// url,// lastRunAt: @me.lastRunAt,// });// if (items.length) {// allNewItems = [...allNewItems, ...items];// }// }// catch (error) {// console.error(`Failed to fetch items for ${name}: ${error.message}`);// }// }));// if (allNewItems.length) {// const extendedFeeds = @me.extendFeeds(allNewItems);// const html = @me.renderFeedsForEmail(extendedFeeds);// console.email({ subject: "Your Daily RSS Digest", html });// @me.lastRunAt = Date.now();// }} - Open: Version+23-0export async function pollRSSFeeds() {let allNewItems = [];await Promise.all(me.rssFeeds.map(async ({ name, url }) => {try {let items = await me.newRSSItems({url,lastRunAt: me.lastRunAt,});if (items.length) {allNewItems = [...allNewItems, ...items];}}catch (error) {console.error(`Failed to fetch items for ${name}: ${error.message}`);}}));if (allNewItems.length) {const extendedFeeds = me.extendFeeds(allNewItems);const html = me.renderFeedsForEmail(extendedFeeds);console.email({ subject: "Your Daily RSS Digest", html });me.lastRunAt = Date.now();}}
Updated: October 23, 2023