Comments (3)
@nczitzk 谢谢大佬的出手~
@ruleroller 客气了。根据你的建议和 App Store 提供的数据,我选择的方案如下。
在 /apple/apps/update/:country/:id
的基础上添加可选的 platform
参数,即路由变更为 /apple/apps/update/:country/:id/:platform?
。其中,platform
参数可选 iOS
或 macOS
或 tvOS
,即获取指定平台的更新内容。该参数留空则获取全部平台的更新内容。
在路由变更的基础上,我对获取条目的标题和分类也做了更改。其中,标题末尾加入 for <platform>
,分类设定为 <platform>
分类。如此指明该更新内容条目针对的是何种平台,可以方便用户根据标题或分类进行筛选。
另外,“适用于多个平台的同一版本更新”在 App Store 的数据源中会分别罗列在每个平台的更新内容中,所以理应不会出现被筛选遗漏的情况。
from rsshub.
/wip
from rsshub.
@nczitzk 谢谢大佬的出手~
也请考虑到可能一个更新是适用于多个平台的,比如同时可用于iOS以及tvOS等,不知道这种情况时有什么优雅的方法能够体现出来。这样的话,好像路由里加参数好像更适用一些,也就是我的建议二的方法。 踌躇了,不管如何,只要能实现分类提醒都是好的。
from rsshub.
Related Issues (20)
- 91porn路由失效 HOT 3
- 【**钢铁工业协会 - 统计发布& 行业分析】 希望能按照时间线推送
- LibGen
- tg回答问题速度太快了
- All Spotify-related routes return errors HOT 2
- Epic Free Games 路由异常 HOT 3
- Linkedin Company Posts and Jobs Post
- Colamanga漫画更新RSS HOT 1
- segmentfault RSS报错 HOT 1
- thoughtco HOT 1
- 【农业农村部 - 数据->最新发布】 希望能按照时间线推送
- 【国家市场监督管理总局 公众留言】 希望能按照时间线推送 HOT 1
- 仮面ライダ报错Cannot read properties of null (reading '1') HOT 1
- chinafactcheck HOT 2
- 【国家林业局 国家林草科技大讲堂】 希望能按照时间线推送 HOT 1
- CNKI RSS error HOT 3
- 人民网--人民时评栏目 HOT 1
- 【Bug report】 **政府网 信息稿件 改版 导致无法正常推送 HOT 3
- 【应急管理部 公开>事故及灾害查处>调查报告】 HOT 1
- bilibili会员购票务
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 rsshub.