DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

EXT: RSS newsfeed import

Author:Kasper Skårhøj
Created:2002-11-01T00:32:00
Changed:2003-10-31T09:58:12
Author:Tim D'Hooge
Email:Typo3@nephie.org
Info 3:
Info 4:

EXT: RSS newsfeed import

Extension Key: n_rdfimport

Copyright 2000-2002, Tim D'Hooge, <Typo3@nephie.org>

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 newsfeed import 1

Introduction 1

What does it do? 1

Users manual 1

Known problems 2

Introduction

What does it do?

It displays multiple RSS newsfeeds, just like mininews displays news. You have a frontpage teaser list, a normal page list and a detail view. The layout for these 3 parts are seperated in 3 template files. The rdf feeds should follow the rss 0.91 specifications, since that is how they are parsed. ( see http://my.netscape.com/publish/formats /rss-spec-0.91.html )

It also has it's own caching system. This was needed because certain sites will ban you if you update to often (like slashdot) so a way to prevent this was needed. Unlike the plugin i got this idea from (cc_rdf_news_import) it does NOT cache layout, since that is in fact Typo3's job, it simply caches the content it gets from the newsfeed. The caching time is the “polling interval” and can (must) be set for each feed.

Users manual

In order to use this extension one should create “rdf newsfeeds” in a page (using the list mode is perfect for this), and then adding the frontend plugin to a page. This plugin can then be set to “frontpage teaser” mode, which will make it target it's links to the page where the news is stored, rather than it's own page, or you can set it to “details” mode. The details mode will display a list of feeds when none is specified, or the newstopic of a feed if one is specified. The list of feeds in detail mode will link to the page the plugin is on, rather than the page the feeds are on.

The 3 different display modes have 3 different template files. The following markers are allowed:

on the every display mode:

###CHANNEL_TITLE###
###CHANNEL_DESCRIPTION###
###CHANNEL_RATING###
###CHANNEL_COPYRIGHT###
###CHANNEL_PUBDATE###
###CHANNEL_LASTBUILD###
###CHANNEL_TITLELINK###
###CHANNEL_LANGUAGE###
###CHANNEL_DOCS###
###CHANNEL_MANAGINGEDITOR###
###CHANNEL_WEBMASTER###
###CHANNEL_IMAGETITLE###
###CHANNEL_IMAGEURL###
###CHANNEL_IMAGELINK###
###CHANNEL_IMAGEHEIGHT###
###CHANNEL_IMAGEWIDTH###
###CHANNEL_IMAGEDESCRIPTION###
###CHANNEL_INPUTTITLE###
###CHANNEL_INPUTLINK###
###CHANNEL_INPUTNAME###
###CHANNEL_INPUTDESCRIPTION###

The SUBPART <!-- ###LIST_LINK### --> will be transformed to the actual link to the details of the feed. Any markers in this subpart will be substituted. So if you want the title to be the link to the details you would insert this in your template:

<!-- ###LIST_LINK### --> ###CHANNEL_TITLE### <!-- ###LIST_LINK### -->

only on the details of one feed mode:

###CHANNEL_ITEM_TITLE###
###CHANNEL_ITEM_LINK###
###CHANNEL_ITEM_DESCRIPTION###

The available subparts here are <!-- ###CHANNEL_LINK### --> and <!--- ###LIST_LINK### --> , the first one should create the link to the newsfeeds site, the second one the link to the newstopic itself on the newsfeeds site.

Known problems

None that I know of. Pls tell me if you find any !

img-1 EXT: RSS newsfeed import - 2