01.12.2012 Views

7 Components: the Function Pages - Developers

7 Components: the Function Pages - Developers

7 Components: the Function Pages - Developers

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Adapted feeds<br />

222<br />

��<br />

��<br />

��<br />

At regular intervals, you should also first archive and <strong>the</strong>n empty <strong>the</strong><br />

contents of <strong>the</strong> Trash web, into which deleted pages are placed.<br />

15.1.3<br />

RSS Feeds<br />

TWiki also offers <strong>the</strong> possibility of monitoring recent changes via<br />

RSS. This news service is provided by <strong>the</strong> page WebRss, which is<br />

available in every web. If you look at that page in TWiki, you will<br />

only find a collection of URLs and a few comments. To obtain <strong>the</strong><br />

actual RSS document, you have to have it displayed in <strong>the</strong> Rss skin.<br />

Thus is <strong>the</strong> URL under which an RSS reader can pick up its information:<br />

Web/WebRss?skin=rss<br />

This feed contains all pages that are also found in WebChanges, including<br />

a short description. The newest pages and most recent edits<br />

are listed first.<br />

You can also create an adapted feed that only monitors a selection<br />

of pages containing a particular key word. To do this, add to <strong>the</strong><br />

URL <strong>the</strong> additional parameter search:<br />

Web/WebRss?skin=rss&search=keyword<br />

Now, only those edits to pages are shown that can also be found<br />

with a normal text and title search under that key word. Of course, it<br />

is also possible to generate a page of links to specialized feeds. Such<br />

a link can be integrated into a wiki page with <strong>the</strong> following command:<br />

[[%SCRIPTURL%/view%SCRIPTSUFFIX%/Web/ ↵<br />

WebRss?skin=rss&search=keyword] ↵<br />

[Feed to keyword]]<br />

15.2<br />

Topic Templates<br />

When you generate a new topic, you will see that <strong>the</strong>re is already<br />

text on <strong>the</strong> page, consisting of your user name and <strong>the</strong> current time.<br />

This text is defined in a topic template, and adopted when a new<br />

15 Administering TWiki

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!