Logo

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
joomla30:rssfactorypro:content_plugin [2015/08/24 13:16]
mircea
joomla30:rssfactorypro:content_plugin [2015/08/26 12:28]
mircea
Line 1: Line 1:
 ====== Content Plugin ====== ====== Content Plugin ======
 \\ \\
-tokenName=[value1,​ value2, value3]+Once you enable **plg_content_rssfactory** from the Plugin Manager page of Joomla you will be able to use the Content Plugin similar to this:\\ 
 +\\ 
 +<​code>​ 
 +{com_rssfactory relevantStories nrFeeds=[3]} 
 +</​code>​ 
 +\\ 
 +The format used for tokens is this: **tokenName=[value1,​ value2, value3]**\\ 
 +In the example shown above "​relevantStories"​ and "​nrFeeds"​ are token names while "​3"​ is the value, in this case representing the number of feeds to be displayed.\\ 
 +\\ 
 +Here is a list of the available tokens that can be used:\\ 
 +\\
  
-categoryId: feeds from the selected categories+  * **categoryId**: feeds from the selected categories 
 +  
 +  * **sourceId**:​ only the selected feeds 
 +  
 +  * **nrFeeds**:​ limit the number of feeds
  
-- sourceIdonly the selected ​feeds+  * **nrStories**limit the number of stories for each feed 
 +  
 +  * **relevantStories**:​ it will display ​feeds from the RSS Factory categories that are relevant to the current (article'​s) Joomla category. You can define for each RSS Factory category, the Joomla categories that it is relevant for.
  
-- nrFeedslimit the number of feeds+  * **searchTerm**filter stories that contain ​the searchTerm
  
-- nrStorieslimit the number of stories for each feed +  * **delimiter**change ​the delimiter
-alex.dinoci:​ - relevantStories:​ it will display feeds from the Rss Factory categories that are relevant to the current (article'​s) Joomla category. You can define for each Rss Factory category, the Joomla categories that it is relevant for.+
  
-- searchTerm: filter stories that contain the searchTerm +  * **displayMethod**:  (valid values: tabbed, list, tiled, slider) control the output style for each use of the content plugin.
- +
-- delimiter: change the delimiter +
- +
-displayMethod: ​ (valid values: tabbed, list, tiled, slider) control the output style for each use of the content plugin. +
-alex.dinoci:​ eventual da si niste exemple +
- +
-alex.dinoci:​ gen, if you wanted to display stories from 3 feeds that contain one of the search terms: "​ana",​ "​are"​ or "​mere",​ you could use: {com_rssfactory nrFeeds=[3] searchTerm=[ana,​are,​mere]} +
-alex.dinoci:​ 2-3 d-astea sa se prinda despre ce e vorba+
  
 +\\
 +=== Examples ===
 +\\
 +<​code>​{com_rssfactory nrFeeds=[3] searchTerm=[sport,​tennis,​nadal]}</​code>​
 +Displays stories from 3 feeds that contain one of the search terms: "​sport",​ "​tennis"​ or "​nadal",​ you could use\\
 +\\
 +<​code>​{com_rssfactory nrStories=[1] relevantStories}</​code>​
 +Displays stories relevant to the current article Joomla category, only one story for each feed.
 +\\
 +<​code>​{com_rssfactory categoryId=[4] displayMethod=slider}</​code>​
 +Displays stories of feeds using a slider format from the category which has the ID "​4"​.
 +\\
 +----
 +**(!)** Documentation based on **RSS Factory** and **RSS Factory PRO** version **4.1.2**
 +\\