Comments (5)
可以通过检测封面图片是否在文章里,有的话变不显示封面图片
from inkingnewsstand.
已修正,发布在dev分支里。
from inkingnewsstand.
页面不会显示相同的两张图片了,但是点开封面没有图片的新闻链接时会出现错误,直接跳到程序那报错。
if(new Uri(News.CoverUrl) == new Uri(HtmlConverter.GetFirstImages(html)))//该行出错
{
headerImg.Visibility = Visibility.Collapsed;
}
else
{
headerImg.Visibility = Visibility.Visible;
}
}
from inkingnewsstand.
页面不会显示相同的两张图片了,但是点开封面没有图片的新闻链接时会出现错误,直接跳到程序那报错。
if(new Uri(News.CoverUrl) == new Uri(HtmlConverter.GetFirstImages(html)))//该行出错
{
headerImg.Visibility = Visibility.Collapsed;
}
else
{
headerImg.Visibility = Visibility.Visible;
}
}
没图片时用一个不合规范的字符串新建Uri实例会报错,已修复。
from inkingnewsstand.
已测试,修复成功。
from inkingnewsstand.
Related Issues (20)
- NewsDetailPage.xaml.cs中的SaveButton_Click方法中的OnNewsListUpdated事件订阅错误 HOT 1
- 在切断网络下点击新闻后迅速返回可能会使程序奔溃
- 点击设置页面后无法正确加载页面宽度 HOT 2
- 新闻排序问题
- 一些新闻的段落中会出现额外的间隙,图片与下一行无行间隙
- 在“添加报纸”页面中添加太多订阅源不能往下翻页
- 换成“按需加载”的新闻加载方式后,返回会出现错误
- 未对报纸标题长度进行限制,以及报纸标题为空时也能将报纸保存,不能识别重复的标题 HOT 2
- 编辑报纸时会生成新的报纸 HOT 1
- 从网站获取RSS链接时页面会卡 HOT 3
- 输入无效的RSS订阅源,不会进行提示
- 首次生成报纸时,要点击刷新才能获得新闻 HOT 3
- 有些新闻打开时会出现莫名的代码或符号
- 提取的新闻中段首不符合规范 HOT 1
- 在点击扩展选项时有些新闻会报错,有些新闻就不会。
- 点击收藏程序会奔溃 HOT 1
- 封面图片在扩展正文中的显示问题
- 一张报纸被删除后,进入收藏页面后可能会出错
- 在添加报纸后自动刷新新闻会在Feeds更新到数据库时出现一下错误 HOT 1
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 inkingnewsstand.