import{t as e}from"./parse-date-BdYTmLpo.mjs";import{t}from"./got-BBDj7u1e.mjs";import{Fragment as n,jsx as r,jsxs as i}from"hono/jsx/jsx-runtime";import{renderToString as a}from"hono/jsx/dom/server";import{raw as o}from"hono/html";const s={path:`/events`,categories:[`new-media`],example:`/houxu/events`,radar:[{source:[`houxu.app/events`,`houxu.app/`]}],name:`专栏`,maintainers:[`nczitzk`],handler:c,url:`houxu.app/events`};async function c(s){let c=`https://houxu.app`,l=`${c}/api/1/events?limit=${s.req.query(`limit`)??50}`;return{title:`后续 - 专栏`,link:`${c}/events`,item:(await t({method:`get`,url:l})).data.results.map(t=>({guid:`${c}/events/${t.id}#${t.last_thread.id}`,title:t.title,link:`${c}/events/${t.id}`,author:t.creator.name,category:t.tags,pubDate:e(t.update_at),description:a(i(n,{children:[r(`h1`,{children:t.title}),r(`p`,{children:t.description}),i(`b`,{children:[`Latest: `,t.last_thread.link_title]}),r(`p`,{children:o(t.last_thread.title.replaceAll(`\r
`,`<br>`))}),r(`small`,{children:t.update_at})]}))}))}}export{s as route};