Each item contains a title, link, description, published date, and a unique identifier.
每项包含标题、链接、描述、发布日期和惟一标识符。
The only tricky part is that the published date of the article is turned into a long and used as an ID.
其中唯一复杂的部分是文章的发表日期被转化为一个long值,并用作一个ID。
Entries and objects will set their published date to the current date (using the PHP time function) by default. Listing 6 shows the base class for entries.
项和对象默认将它们的发布日期设置为当前时间(使用PHP time函数)。
应用推荐