From 60cf61685ead9ad5cde44ff5c85f2bb57902bfd7 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Mon, 8 Jan 2007 03:55:10 +0000 Subject: [PATCH] asset template variables, ISA relationships for SyndicatedContent --- lib/WebGUI/Help/Asset_SyndicatedContent.pm | 68 ++++++++++++++++--- .../i18n/English/Asset_SyndicatedContent.pm | 58 ++++++++++++++-- 2 files changed, 113 insertions(+), 13 deletions(-) diff --git a/lib/WebGUI/Help/Asset_SyndicatedContent.pm b/lib/WebGUI/Help/Asset_SyndicatedContent.pm index 5f112d47c..90c6df560 100644 --- a/lib/WebGUI/Help/Asset_SyndicatedContent.pm +++ b/lib/WebGUI/Help/Asset_SyndicatedContent.pm @@ -6,8 +6,8 @@ our $HELP = { body => '71', isa => [ { - namespace => "Asset_Wobject", - tag => "wobject add/edit" + namespace => 'Asset_Wobject', + tag => 'wobject add/edit' }, ], fields => [ @@ -52,16 +52,25 @@ our $HELP = { tag => 'wobjects using', namespace => 'Asset_Wobject' }, - { - tag => 'asset fields', - namespace => 'Asset' - }, - ] + ], }, + 'syndicated content template' => { title => '72', body => '73', - fields => [ + isa => [ + { + namespace => 'Asset_SyndicatedContent', + tag => 'syndicated content asset template variables', + }, + { + namespace => 'Asset_Template', + tag => 'template variables' + }, + { + namespace => 'Asset', + tag => 'asset template' + }, ], variables => [ { @@ -123,8 +132,49 @@ our $HELP = { tag => 'wobject template', namespace => 'Asset_Wobject' } - ] + ], + fields => [ + ], }, + + 'syndicated content asset template variables' => { + title => 'syndicated content asset template variables title', + body => 'syndicated content asset template variables body', + isa => [ + { + namespace => 'Asset_Wobject', + tag => 'wobject template variables' + }, + ], + variables => [ + { + 'name' => 'cacheTimeout' + }, + { + 'name' => 'templateId' + }, + { + 'name' => 'rssUrl' + }, + { + 'name' => 'processMacrosInRssUrl' + }, + { + 'name' => 'maxHeadlines' + }, + { + 'name' => 'displayMode' + }, + { + 'name' => 'hasTerms' + }, + ], + related => [ + ], + fields => [ + ], + }, + }; 1; diff --git a/lib/WebGUI/i18n/English/Asset_SyndicatedContent.pm b/lib/WebGUI/i18n/English/Asset_SyndicatedContent.pm index 09a11981f..7a700c413 100644 --- a/lib/WebGUI/i18n/English/Asset_SyndicatedContent.pm +++ b/lib/WebGUI/i18n/English/Asset_SyndicatedContent.pm @@ -217,15 +217,65 @@ these unique properties:
  • http://w.moreover.com/
  • -

    Currently, we can handle RSS versions .90, .91, 1.0, and 2.0. Atom feeds aren't supported for now. Probably other RSS-ish files would work too. +

    Currently, WebGUI can handle RSS versions .90, .91, 1.0, and 2.0. Atom feeds aren't supported for now. Probably other RSS-ish files would work too.

    To create an aggregate RSS feed (one that pulls information from multiple RSS feeds), include a list of URLs, one on each line, instead of a single URL. Items will be sorted by the date WebGUI first received the story.

    |, - lastUpdated => 1146800018, + lastUpdated => 1168228049, }, '3 description' => { - message => q|Enter the maximum number of headlines that should be displayed. Set to zero to allow any number of headlines.|, - lastUpdated => 1119977659, + message => q|Enter the maximum number of headlines that should be displayed. Set to zero to allow any number of headlines. Note that all headlines from all RSS URL's are still fetched, even if they are not displayed.|, + lastUpdated => 1168228412, }, + + 'cacheTimeout' => { + message => q|The amount of tie in seconds data from this Asset will be cached.|, + lastUpdated => 1168227896, + }, + + 'templateId' => { + message => q|The ID of the template used to display this Asset.|, + lastUpdated => 1168227896, + }, + + 'rssUrl' => { + message => q|A newline separated list of all RSS URLs.|, + lastUpdated => 1168227896, + }, + + 'processMacrosInRssUrl' => { + message => q|A conditional that indicates whether or not this Asset was set to process Macros in the RSS Url field.|, + lastUpdated => 1168227896, + }, + + 'maxHeadlines' => { + message => q|The maximum number of headlines that will be displayed.|, + lastUpdated => 1168227896, + }, + + 'displayMode' => { + message => q|If the Asset was set to sort RSS headlines by the title of the originating RSS site, this will be the string "grouped". Otherwise is will be "interleaved".|, + context => q|Translator's note: Do not translate the words in quotes, they are constants in the source code.|, + lastUpdated => 1168227896, + }, + + 'hasTerms' => { + message => q|Terms used to filter RSS items.|, + lastUpdated => 1168227896, + }, + + 'syndicated content asset template variables title' => { + message => q|Syndicated Content Asset Template Variables|, + lastUpdated => 1164841146 + }, + + 'syndicated content asset template variables body' => { + message => q|Every asset provides a set of variables to most of its +templates based on the internal asset properties. Some of these variables may +be useful, others may not.|, + lastUpdated => 1164841201 + }, + }; + 1;