Class | Hobix::Entry |
In: |
lib/hobix/entry.rb
|
Parent: | BaseEntry |
The Entry class stores complete data for an entry on the site. All entry extensions should behave like this class as well.
At the very least, entry data should support the following accessors.
id: | The id (or shortName) for this entry. Includes the basic entry path. |
link: | The full URL to this entry from the weblog. |
title: | The heading for this entry. |
tagline: | The subheading for this entry. |
tags: | A list of free-tagged categories. |
author: | The author‘s username. |
contributors: | An Array of contributors’ usernames. |
created: | The time the Entry was initially created. |
modified: | A modification time. |
updated: | Used internally to ensure an entry has been generated. |
summary: | A brief description of this entry. Can be used for an abbreviated text of a long article. |
content: | The full text of the entry. |
The following read-only properties are also available:
day_id: | The day ID can act as a path where other entry, posted on the same day, are stored. |
month_id: | A path for the month‘s entries. |
year_id: | A path for the year‘s entries. |