anpho / zhihu Goto Github PK
View Code? Open in Web Editor NEW[STABLE]知乎日报 for BlackBerry 10
Home Page: https://appworld.blackberry.com/webstore/content/58370266/
License: GNU General Public License v2.0
[STABLE]知乎日报 for BlackBerry 10
Home Page: https://appworld.blackberry.com/webstore/content/58370266/
License: GNU General Public License v2.0
1、Passport的键盘滑动得到了支持,但是只支持上下滑动而没有支持左右滑动;
2、在查看具体内容中,触屏上下滑动时左右抖动严重,经常出现不小心返回到首页。
实现全文分享到remember功能
查看长评论、短评论
将现在关于页面中的issues链接
改为应用内页面
上个版本中因故取消的主题切换功能
以及新版本的亮暗主题样式
可能是remote css的问题,如果确认的话,需要手动加载远程CSS
在应用内部打开日报中的链接
首页由文字列表布局更改为方块图片布局
由于webview性能原因,更改device ratio时速度超慢,
现已改为css注入修改方式。
优势:
1,节省流量,不加载图片/CSS
2,使用Label显示纯文本,速度快
实现:
1,获取日报信息的返回值中,取出body
2,对body进行html 2 text处理,得到纯文本
3,在label中显示该文本
框架变更:
1,根据选项启用情况,决定日报查看时采用网页模式还是纯文本模式
2,纯文本模式下可以打开网页查看
3,该选项在下拉菜单中应该可见
由于广告过滤CSS没能正确处理不同页面的内容
导致部分页面内容没有显示
最小为单列(比例为16:9)
最大为4列(比例为1:1)
目前的日报在阅览时,是直接打开的web版阅读页面,并加入去广告处理。
这种方式的优点,是样式上与知乎官方保持一致;
这种方式的缺点在于:
当获取到该期日报web版链接的时候,已经拿到了全文HTML内容(在返回的数据体/body内)
导致文本类日报的流量是正常流量的2倍。
为列表部分字体 / 网页部分字体加入调节大小功能
目前使用的是显示今天日报的API,
需要改为/before类的API,并使其可以无限滚动。
比如坐时光机到2013年3月3日,此时下拉应显示3月4日的内容(在最上面)
由于webview需要可缩放,现在在阅读时会出现左右可移动的情况
需要禁用这一特性,保留缩放功能。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.