Find the Exponential Software extensions you want
| UNIX name | Owner | Status |
|---|---|---|
| opsa_rsstemplate | Bayron Guevara | stable |
| Version | Compatible with |
|---|---|
| 1.0.1 | 4.x |
Description: Allow to specify a template wich will process the output for a RSS Item attribute
Author: Bayron José Guevara
Nickname: Socrattes
Email: bayron.guevara@gmail.com
1. Execute the following SQL code inside EzPublish database:
This will create a table for store the information about whether to use a template for the title and description of a RSS Export Item
2. Active the extension
3. Regenerate autoload array for extensions
4. Edit 'extension/opsa_rsstemplate/settings/opsa_rss.ini.append.php' and specify the templates to use for each content object attribute
The templates paths are relative to 'design:opsa_rss/attributes'
Example:
5. Create and edit the template listed aboved, each template will have available the $attribute variable which represent the current eZContentObjectAttribute object
6. Clear all caches
7. Go to RSS in Admin's Setup Tab and edit the respectively RSS Export. Now a checkbox named 'Use Template' will be available for each attribute.
Any suggestion or bugreports, please send them to bayron.guevara@gmail.com