EXT: RSS feed on latest content

Extension Key: stever_rss_content

Copyright 2000-2005, Steve Ryan, <stever@syntithenai.com>

This document is published under the Open Content License

available from http://www.opencontent.org/opl.shtml

The content of this document is related to TYPO3

- a GNU/GPL CMS/Framework available from www.typo3.com

Table of Contents

EXT: RSS feed on latest content	1

Introduction	1

What does it do?	1

Screenshots	2

Users manual	3

Reference	3

Tutorial	3

Introduction

What does it do?

This extension provides an XML RSS feed of all recently updated publicly available content on your website.

This extension has been heavily ripped off from jb_eebblog_rss but also heavily modified to output RSS in the same format as used by slashdot.

Screenshots

This is a sample of the output when viewed with a web browser

Users manual

To work with this extension simply insert the plugin 'RSS feed of content' in your page. Do not put any other content elements on that page. At minumum, the RSS content element must be the first element on the page.

Additionally a template record should be created on this page to configure the plugin. Reference to the setup configuration is provided below.

This extension has been tested with typo3 v3.8 but should work with all versions of typo3. The only library dependancies are the typo3 core db libraries.

Reference

plugin.tx_steverrsscontent_pi1 (TypoScript)

Property:	Data type:	Description:	Default:
url	string	Base urlof the website that provides the content. Used to create links back to the website content from your rss reader	
title	string	Title of the rss feed	
desc	string	Description of the rss feed	
language	string	Language of the rss feed	
copy	string	Copyright information about the rss feed	
category	string	Category of the rss feed	
rssfile	string	Filename to write cached rss results to in the root directory of the website	

[tsref:(cObject).TEST]

Example

This is an example code for the formular page for editing the events:

plugin.tx_steverrsscontent_pi1 {

url = http://thebegavalley.com/

title = TheBegaValley.com Recent Updates

desc = TheBegaValley.com Recent Updates

language = en

copy = copyleft

category = blog

rssfile = recentupdates.xml

}

Tutorial

Install the plugin.

Create a page dedicated to your rss feed

Create a content element of type plugin/RSS feed of content on your new page

Create a template record to configure the plugin as described above

Access the page in a browser to view the XML output.

When the output is displayed, a file is written (name specified in configuration) in the root directory of the website. Because rendering can take some time on large sites it is advisable to setup a cron job to access the dynamic page and give the static file link to your rss users.

EXT: rss feed of recent content - 3

EXT: rss feed of recent content

2005-04-16T18:21:17