Feel free to use this page to experiment with the Text Formatting Rules. Just click the "Edit Page" link at the bottom of the page.
- Change Log on February 01, 2007, at 01:08 PM by erisraven
6
Error: It's not possible to reach RSS file http://digg.com/rss/containergaming.xml ...
|
0.05: Attempt to handle some character issues (utf8 and other hacks).
Variables:
feed= URL to RSS feed file. Defaults to pmwiki.org's
Site/AllRecentChanges.
cache_time= Time to cache data... be nice to the providers.
Defaults to 2000 seconds.
max_count= Number of items to read. Defaults to 0.
newwin= Open links to items in a new window. Defaults to true.
overrides= Set this to false to prevent URL line GET overrides to
these parameters.
showitems= Defaults to true. If false, don't show RSS items.
showitemdescr= Defaults to true. If false, don't include the description along with
the item.
showtitle= Defaults to true. If false, don't show the feed title.
title= Alternate title instead of using RSS title.
unsafe= Defaults to false. If true, allows setting of title and feed
from the URL line (_GET).
|
Quote of the day
All we have to decide is what to do with the time that is given us.
del.icio.us, the social bookmarking site, offers the use of javascript tagrolls and linkrolls to be used on blogs and other web sites. This script enables you to include those rolls in a PmWiki installation. In addition, the script allows you to include a badge showing how many times a page has been bookmarked using del.icio.us, and offering the opportunity to save the page to the user's del.icio.us bookmarks.
To use this feature, install the Attach:delicious.php Δ script into the cookbook/ directory, then add an include_once("$FarmD/cookbook/delicious.php"); line to a local customization file.
The script can generate linkrolls and tagrolls. The simplest linkroll can be created by using the markup (:linkroll user=foo:) where foo is the desired delicious username, creating a roll of 10 recent links. Similarly (:tagroll user=foo:) creates a complete tag cloud (not a list) of user foo.
In order to produce a tagometer badge, you simply type (:deliciousbadge:).
The recipe is derived from the del.icio.us help pages, specifically those related to tagrolls, linkrolls, and tagometer.
The following is a list of arguments:
For (:linkroll:)
- user: del.icio.us username (required)
- number: the number of links you want to display
- sort: options are recent (default) or alpha
- tags: Limit the linkroll by tag(s). Multiple tags use the syntax 'tag+tag'
- icon: large, small, rss, or none
- label: text to display as a header
- showtags: true or false - include the tags used with the links
For (:tagroll:)
- user: del.icio.us username (required)
- number: number of tags to display
- sizerange: in the syntax '8-25', the lowest and highest text size used for display
- label: text to display as a header
- sort: options are freq (frequency) or alpha
- flow: cloud or list
- color1/color2: color1 is the least frequent tag, color2 is the most frequent (colors are used on a gradient between color1 and color2). must use html colors, no # (aka like this: '000099')
- counts: true or false - include the frequency of each tag
The Attach:dictindex.php Δ script will enable page listings using a "dictionary index" format. This format can be used by anything that produces a page listing; i.e., one can do things like:
(:pagelist group=Cookbook fmt=dictindex:)
(:searchresults group=Cookbook text=index fmt=dictindex:)
