that's exactly what I was thinking of ;-)

Ian W

----- Original Message -----
From: "David Low" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 23, 2004 2:50 PM
Subject: RE: [ cf-dev ] XML/RSS Feed


> One way to do it is just get the data in your usual way (from queries
etc), then do
> something like this:
>
> <cfcontent type="text/xml; UTF-8">
> <?xml version="1.0" encoding="your encoding format here">
> <rss version="2.0">
>     RSS Bits here (<channel>, <title> etc)
>         <cfoutput query="queryfrom_my_tables>
>         <item>
>         <title>#title#</title>
>         <link>#link#</link>
>          (and so on)
>         </cfoutput>
>     </channel>
> </rss>
>
> The resulting page should be properly formatted RSS which can be accessed
at the
> far end by whoever wants it.  It's up to them to write something which
downloads
> and parses the relevant data...
>
> David
>
> --- "Lovelock, Richard J" <[EMAIL PROTECTED]> wrote:
> > OK thanks Rich/Ellis
> >
> > I am still not really too clear how this would be done in terms of
making
> > the necessary data accessible
> >
> > the data is stored in a whole host of different tables and Commonspot
uses a
> > load of moderately complex queries on all the pages to retrieve all the
> > correct data for display (all of which kind of happens behind the scenes
as
> > you would expect from a CMS)
> >
> > would I be feeding data straight from a DB or is it possible to pull
data
> > from the final rendered HTML code ?
> >
> > this is all a bit foggy still
> >
> > also, does whoever is going to be receiving any RSS feed have to be
involved
> > in any dev work to enable them to receive and process whatever we are
> > supplying to them?
> >
> > sorry if none of this is making too much sense!!
> >
> >
> > _______________________________________________________
> >
> > *  Regards,
> >                 Richard Lovelock,
> >                 Senior Application Analyst.
> >
> > Westminster City Council - Web Support
> > Cap Gemini Ernst & Young
> > Southbank
> > 95 Wandsworth Road
> > London
> > SW8 2HG
> >
> > (     0870 906 7482
> >
> > _______________________________________________________
> >
> > -----Original Message-----
> > From: Rich Wild [mailto:[EMAIL PROTECTED]
> > Sent: 23 March 2004 12:08
> > To: '[EMAIL PROTECTED]'
> > Subject: RE: [ cf-dev ] XML/RSS Feed
> >
> >
> > well, my site, funjunkie has several feeds including RSS 0.91 and 2.0
(and
> > wddx). Its very very easy to create a feed - they're just textfiles, so
you
> > just copy the format and change what you need.
> >
> > I've created a coldfusion template that writes the rss page and then
> > scheduled it to create the raw news.rss files so that a CF page isn't
run
> > everytime someone grabs the feed, which with modern aggregators happens
> > quite a lot.
> >
> > Feel free to nick the format, follow http://www.funjunkie.co.uk
> > <http://www.funjunkie.co.uk>  and then the feeds are at the bottom of
the
> > page. The copy for each post item has its HTML formatting removed in my
> > versions.
> >
> > -----Original Message-----
> > From: Lovelock, Richard J [mailto:[EMAIL PROTECTED]
> > Sent: 23 March 2004 11:55
> > To: 'cflist'
> > Subject: [ cf-dev ] XML/RSS Feed
> >
> >
> > Hi guys
> >
> > I've had a new call come through. Details are as follows:
> >
> > - Investigate possibility of exporting website data as an XML/RSS feed
to
> > other (selected) websites
> >
> > Not too sure of the finer details. We are on CF5 and use Paperthin's CF
> > based content management system where all data is stored in Commonspot's
> > defined DB tables.
> >
> > I have absolutely no exposure to XML or RSS and need some advice if this
> > sort of thing is possible and where to start looking? Have read a couple
of
> > intros to XML/RSS to get a bit of backgound but as I say, I am
completely
> > new.
> >
> > Would greatly appreciate any advice you can give me.
> > _______________________________________________________
> >
> > *  Regards,
> >                 Richard Lovelock,
> >                 Senior Application Analyst.
> >
> > Westminster City Council - Web Support
> > Cap Gemini Ernst & Young
> > Southbank
> > 95 Wandsworth Road
> > London
> > SW8 2HG
> >
> > (     0870 906 7482
> >
> > _______________________________________________________
> >
> >
> >
> >
> > =======================================================
> > This message contains information that may be privileged or confidential
and
> > is the property of the Cap Gemini Ernst & Young Group. It is intended
only
> > for the person to whom it is addressed. If you are not the intended
> > recipient, you are not authorised to read, print, retain, copy,
disseminate,
> > distribute, or use this message or any part thereof. If you receive this
> > message in error, please notify the sender immediately and delete all
copies
> > of this message.
> > =======================================================
> >
> >
> >
>
>
> =====
> --
> David Low
> [EMAIL PROTECTED]
>
> --
> These lists are syncronised with the CFDeveloper forum at
http://forum.cfdeveloper.co.uk/
> Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
>
> CFDeveloper Sponsors and contributors:-
> *Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided
by activepdf.com*
>       *Forums provided by fusetalk.com* :: *ProWorkFlow provided by
proworkflow.com*
>            *Tutorials provided by helmguru.com* :: *Lists hosted by
gradwell.com*
>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
>
>
>



-- 
These lists are syncronised with the CFDeveloper forum at 
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
 
CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by 
activepdf.com*
      *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com*
           *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]

Reply via email to