-
+ The use of directives is available only when generating feeds in the XML format. +
By default, the name of the root element is derived from the base name of the feed class. @@ -56,6 +60,9 @@
To add information to the beginning of the root element (if present) or without it, override the @@ -87,6 +94,9 @@
To change the header and footer, override the header and footer methods:
@@ -132,6 +146,8 @@
@@ -189,6 +209,8 @@
diff --git a/docs/topics/create-feeds.topic b/docs/topics/create-feeds.topic index afe246b..04d955b 100644 --- a/docs/topics/create-feeds.topic +++ b/docs/topics/create-feeds.topic @@ -100,4 +100,24 @@
+ You can generate feeds in different formats. + A feed class can be correctly exported only to the format for which it is intended. + This is due to the use of + directives and other format specifics. +
+ +
+ To apply the required format, simply override the $format property in the feed class:
+
+ By default, the xml format is used.
+