UNPKG

rsshub

Version:
36 lines (34 loc) 1.1 kB
import "./esm-shims-CzJ_djXG.mjs"; import "./config-C37vj7VH.mjs"; import "./dist-BInvbO1W.mjs"; import "./logger-Czu8UMNd.mjs"; import "./ofetch-BIyrKU3Y.mjs"; import "./parse-date-BrP7mxXf.mjs"; import "./timezone-D8cuwzTY.mjs"; import { t as common_config_default } from "./common-config-ChcwGVXn.mjs"; //#region lib/routes/stratechery/index.ts const route = { path: "/", name: "Unknown", maintainers: ["chazeon"], handler }; async function handler() { const link = "https://stratechery.com/"; return await common_config_default({ link, url: link, title: "Stratechery by Ben Thompson", author: "Ben Thompson", description: "Stratechery provides analysis of the strategy and business side of technology and media, and the impact of technology on society. ", item: { item: "article", title: `$('article > header > h1 > a').text()`, link: `$('article > header > h1 > a').attr('href')`, pubDate: `parseDate($('article .entry-date').attr('datetime'))`, description: `$('article > .entry-content').html().replace(/%/g, '%')` } }); } //#endregion export { route };