微信读书清单

微信读书笔记清单

const groups =  dv.pages('#微信读书笔记 and -"Extras"').groupBy(p => {
    // 目前有小bug,自动手动上传的书,所做的笔记,会没有category字段,需要手动处理。
    if (p.category != null){
        p.category.split('-')[0]
    }
})
for (let group of groups) {
	dv.header(3, group.key);
	dv.table(["Name","author","publisher", "NoteCount"],
		group.rows
			.sort(k => k.noteCount, 'desc')
			.map(k => [k.file.link,k.author,k.publisher, k.noteCount]))
}

画廊视图

table without id ("![](" + cover + ")") as Cover,file.link as Name, author as Author,publisher,noteCount as NoteCount
from #微信读书笔记 and -"Extras"
sort NoteCount desc

反向链接: