【发布时间】:2012-07-13 17:08:17
【问题描述】:
My App 服务给用户一些关于公共领域的电影、音频等内容...
从任何特定网站 URL 下载内容(没问题)一个月。
特定的 URL(有内容。)每天都由 XML 更新。
<?xml version="1.0" encoding="utf-8"?>
<audioCatalog xmlns='http://www.w3.org/2005/Atom' xmlns:storage='https://blahblah.com/contents/'>
<audio date="2012-07-16" category="...">
<title>"..."</title>
<description>"..."</description>
<fileBase>"..."</fileBase>
</audio>
<audio date="2012-07-15" category="...">
<title>"..."</title>
<description>"..."</description>
<fileBase>"..."</fileBase>
</audio>
<audio date="2012-07-14" category="...">
<title>"..."</title>
<description>"..."</description>
<fileBase>"..."</fileBase>
</audio>
.
.
.
</audioCatalog>
用户点击 UIButton 可以每天下载新内容。
(https://blahblah.com/"..."
imageURL: https://blahblah.com/"...png"
audioURL: https://blahblah.com/"...mp3" <-- user download contents if click on button
以下示例 UI。
总之,按一个下载按钮,就是给一个月的权限。 使用自动更新订阅服务 (IAP)。这个可以吗?
谢谢。
【问题讨论】: