Comments (3)
- 有这样需求的人比较少
- 实现起来有些麻烦:列表拉取的数据并没有正文的数据,所以需要二次取到正文数据才可以知道定义时间
from mirror.
可以考虑在issue的标题中添加额外数据,例如“博文名称[time=2017-12-24 08:00+8]”,这样解析时如果发现了存在额外数据,就以添加的为准。
我确实是需要这样的功能的,如果官方没有打算加,我可以自己实现,只是希望能为我提供一点实现思路 :)
from mirror.
在标题处加标记是一个办法,还有一个就是把正文内容首次就拿到
https://github.com/LoeiFy/Mirror/blob/master/src/api/issues.js#L28-L58
在 updatedAt 上面加上 bodyHTML,这样你就可以首次就获得正文数据,后续打开文章页也不需要再次拉取数据了,缺点是首次加载内容会多一些
from mirror.
Related Issues (20)
- development error? HOT 1
- i'm reading your source code, i have a problem invited you HOT 2
- authors问题 HOT 2
- Proxy替换Observer该如何实现呢? HOT 1
- 建议:评论,搜索,tag
- 说下遇到的问题 HOT 2
- 详情页能把评论直接放出来么,不想二次点击。
- less里需要加图片,你那个falco的配置要怎么写loader? HOT 1
- demo失效了,可以更新一下吗 HOT 1
- timeline 实现难度
- 重新设置token报错, 401
- graphql接口调用问题 HOT 1
- 按照教程报错,是我使用方式有问题吗? HOT 1
- Failed to load resource: the server responded with a status of 401? HOT 9
- 请问有更详细的教程吗?
- The index.html in the released package is wrong HOT 1
- How to add more button below the avatar? HOT 1
- 怎么更新docs下面的js文件
- graghql 报 401 错误 HOT 3
- mirror网站无法打开
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mirror.