| Trace: AgriLife WIki:About » TExAS » Natural Resour…ervice Alliance » Talk:Main Page » Help:Contents |
Help:Contents
From AgriLife WIki
Help for the TCEwiki is not yet developed. However, you are invited to check the Wikipedia Tutorial on Editing until such time as we write more specific or condensed help.
New Features
Wiki RSS Reader
The custom tag is called <rss>. For instance, if you put <rss>http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/world/rss.xml</rss>then you will create a feed to BBC World news. You can add more than one feed in a single <rss> tag to have them display in columns. Do so by adding "|" between the feed urls. Thus, <rss>firsturl|secondurl|thirdurl</rss> will create a reader with 3 columns, displaying items from all 3 feeds. Inside the <rss> tag you can include optional settings, which are detailed below:
- number
- By default, the reader will display all the items in the feed. If you want to display upto a maximum of a certain number of items, then add number=n (where n is the max number) inside the rss tag: <rss number=10>http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/world/rss.xml</rss> will display the last 10 stories from BBC World.
- time
- By default, the reader will take the value of $egCacheTime as the amount of time (in seconds) between each local caching of the RSS feed. If you want a certain feed to refresh its cache more or less frequently, then add time=t (where t is the refresh time in seconds) inside the rss tag: <rss time=7200>http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/world/rss.xml</rss> will refresh the cach of stories from BBC World every 7200 seconds (2 hours). <br />The max and min time allowed for the time argument is governed by $egCacheTimeMin and $egCacheTimeMax in LocalSettings.php. If the specified time falls outside this range, then it will revert to the default $egCacheTime value.
- desc=off
- Hides the description provided by the feed.
- width
- If set to a legal value (between $egWidthMin and $egWidthMax) it turns the RSS section into a floating div, alligned to the right, of the width specified (in pixels)
Dynamic Page List (DPL)
Let us assume that there is an article on FRED. You want to give some information about impact on children when fathers take an active roll in reading to them. But you do not want to create redundancy by repeating information that was already given in the articles.
In our scenario the natural approach with DPL would be to generate a list of 'impacts' (=impacts) where fathers play a role (i.e. restrict your selection to articles of category 'impact' which contain a link to 'FRED'). Typically you would want to include part of the text chapter on 'areas'. You might also want to give the number of current members for each site. The output should be shown as an alphabetically ordered table. It would be nice if the user could easily sort the table by inhabitants or some other criteria.
DPL can
- generate a list of all those articles (or a random sample)
- show metadata of the articles
- show one or more chapters of the articles
- show parameter values which are passed to the common template
- order articles appropriately
- present the result in a sortable table (e.g.)
- use multi column output
