SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 120 | Next

James Kennard

"Mastering Joomla! 1.5 Extension and Framework Development"


There is a fifth document type, error. We cannot create views within our components
for this document type. The error document renders using a template from the site
template or core error templates.
To request a page as a different document type, we use the request value format.
For example to request the component My Extension in feed format, we might use
this URI:
http://www.example.org/joomla/index.php?option=com_
myextension&format=feed
The four document types might sound restricting. However, the RAW document
type has a clever trick up its sleeve. When Joomla! encounters a unknown format, it
uses the RAW document. This means that we can specify bespoke formats. We will
discuss this in more detail in a moment.
Feed
Before you choose to create a feed view you should consider whether the data is
worthy of a feed. The data in question should be itemized and it should be likely to
change on a regular basis.
Joomla! supports RSS 2.0 (Really Simple Syndication) and Atom (Atom Syndication
Format) feeds; which is being used makes no difference as to how we build a feed
view class.


Pages:
108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132