如何管理来自多个不同来源的Feed? [关闭]
问题描述:
Went I read rss from diffrent sources such as bbc, voa,... How can i plan they 'by source', 'by time',... Should I use database ? I think it make my app slowly.
我从不同来源读取rss,比如bbc,voa,......我怎样才能按来源计划它们 ','按时间',...我应该使用数据库吗? 我认为这会慢慢使我的应用程序。 p> div>
答
Not using a database would make your app slower. Without a database every time you restart the app it needs to fetch the rss feeds from the servers. It's sensible to store the data offline and update it with the new items on startup / with a button.
Think about additional operations which need a database: labeling, starring, saving for later, etc.
This provides an additional benefit: you can store the news offline so the user can read them without an active connection.