extract_doc1Add my vote for this tag create new tag
, view all tags
I want to create RSS from the contents of a TWiki page and publish it like slashdot does.

I have read the 'web base rss' topic and seen the WebRss generated. But WebRss also includes some html which is not parsed by my xml parser (I am using XML4J parser).

How do I get rid of the html generated by TWiki?

-- TWikiGuest- 26 Jul 2002

Hi - you need to use a URL like this: http://twiki.org/cgi-bin/view/Main/WebRss?skin=rss&contenttype=text/xml - the key is the skin=rss part, which uses a minimal skin that doesn't include any HTML. Once you've done this, it should all work OK.

See RichSiteSummary for various explanatory stuff and links on RSS feeds, RSS readers, etc. Also, RSSAutoDiscovery is well worth implementing for a public site - lets some RSS-capable tools find your RSS feed more easily.

-- RichardDonkin - 26 Jul 2002

Here are the exact steps that I followed:

  1. You require TWiki Dec 2001 release. This has FormattedSearch capability included - essential for this functionality.
  2. RSS skin template has to be added to 'templates' directory. (Available as attachment in WikiRssExtension; Click here to download it.)
  3. Create a topic WebRssBase in TWiki web. Copy the contents of WebRssBase. (Only the contents between STARTINCLUDE and STOPINCLUDE get included.) This topic has a SEARCH that identifies most recent 15 topics in the INCLUDEd web, and the names of these webs are output as RSS items.
  4. Create a topic WebRss in the web (which has to be RSS-streamed). Follow the instructions in WebRssBase for the contents of this topic.
  5. If the web is 'Test', then the URL: http://yourhost/twiki/bin/view/Test?skin=rss&contenttype=text/xml should be used for RSS stream.

- VinodKulkarni - 01 Aug 2002

One other point is that you should edit WebRss and TWiki.WebRssBase to include the appropriate feed name, description and copyright details, some of which are specific to TWiki.org at the present. This is important if your feed gets syndicated e.g. via syndic8.com. In particular, it's best if the <title> element includes a unique name for your site, not just 'TWiki' - e.g. the feed at http://donkin.org reads 'Donkin.org'.

-- RichardDonkin - 01 Aug 2002

Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2008-09-16 - TWikiJanitor
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.