首页

思源更新了吗

feed:https://ld246.com/member/siyuan/articles
customParse:
js
async (feedDoc, resText, { xssDefend, elText }) => { // resText 是利用思源api获取的不用担心跨域,但这里你也可以使用 fetch 获取数据,不过小心跨域 const parser = new DOMParser(); const dom = parser.parseFromString(resText, "text/html"); console.log(dom) const r ={ title: elText(dom,'title'), subtitle: "nil", updated: "nil", entryList: Array.from(dom.querySelectorAll("li")).map((entry) => { return { title: elText(entry,'h2'), published: entry.querySelector('span').textContent.split('\n')[10].trim(), //summary: elText(entry,'p'), link: xssDefend(entry.querySelector("a").getAttribute("href")), //这个是用来识别文档的唯一性的,也是导航到文档的链接 }; }).reverse(), }; return r };
思源笔记 v3.1.9 发布,修复缺陷
published:2024-10-15 10:52
思源笔记 v3.1.5 发布,修复缺陷
published:2024-09-03 11:20
思源笔记 v3.1.4 发布,修复缺陷
published:2024-08-27 11:18
思源笔记 v3.1.3 发布,修复缺陷
published:2024-08-06 09:19
思源笔记 v3.1.1 发布,修复缺陷
published:2024-07-16 09:38
思源笔记 v3.0.7 发布,修复缺陷
published:2024-04-03 17:31
思源笔记 v2.9.9 发布,修复缺陷
published:2023-08-08 12:52
思源笔记 v2.9.8 发布,修复缺陷
published:2023-08-01 11:32
思源笔记 v2.9.6 发布,修复缺陷
published:2023-07-18 12:01