Looks like I have to drop the idea of using RSS, and go back to trying to
figure out how to show PHP site developers how to use WSDL in PHP.
It got pretty heated last night, and I even got some hate mail offline from
some list members about it. If I can explain my position by way of an
analogy, since explaining it directly isn't helping people see where I'm
coming from ..
[analogy mode on]
Suppose you have a site that has been working fine for ages, but your boss
says "there's a page that needs to be expressed in Greek because a lot of
Greek people want to use it. You need to have a little page that tells them
where to find a translation service. Here are the 6 sentences you need to
translate into Greek and put on the site"
Given the size of the job - only 6 sentences - and the fact that it's an
incidental thing to your site, you wouldn't go and sign yourself up for a 3
month course in learning Greek, spending a hundred bucks on books, and
studying the Greek language would you? You'd remember there are a lot of
sons and daughters of Greek migrants in your golf club and see if you can
find one of them who'll translate these 6 sentences for you. Amongst that
lot, there must be at least *one* who understands both Greek and English and
can translate it for you, and who'll be prepared to help you.
[/analogy mode off]
That's why I asked on this list and on several PHP lists rather than buying
a book from Amazon.com, and learning PHP myself, downloading and installing
PHP servers, learning how to configure it all myself, producing elementary
PHP pages, then learning more advanced PHP functionality, so I can
understand the web pages that people have been sending me to. I'm not
asking anyone to teach me PHP, because I don't need to know anything about
PHP, apart from this small function.
And to the person who said my attitude stinks because "You act like it's our
responsibility to teach you how to use webservices" , I don't think any such
thing. The whole point of this list, as I understood it, was to discuss
ColdFusion related technical issues. I don't raise any issue on this list
until I have exhausted all the means reasonably open to me to find out what
I need to know first. That includes studying the CF Docs, at two CFWACK
books, Barry Moore's book "ColdFusion MX form Static to Dynamic in 10 steps"
and any sites I can find on the web. I do all that before I go looking
for any of you to help me.
I don't expect to be nursemaided (is that a word? I guess it is now) but
as I'm finding out, this web services/ SOAP/RSS area isn't the simple
straightforward thing that Ben Forta and others would have us believe. If
you're producing a straight news feed like zillions of others it might be.
But who needs another news feed? If you're producing a web service in
ColdFusion that is used by a ColdFusion site, it's a cinch. For anything
else, expect to spend a lot of time studying. And expect a GREAT deal of
frustration.
So that explains how come I got excited yesterday. I'm sorry if I offended
anyone, but I did get tired of being given the same URLS to pages I didn't
understand (and which I was asking about) again and again.
Cheers
Mike Kear
Windsor, NSW, Australia
AFP Webworks
http://afpwebworks.com
_____
From: Matthew Walker [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 17 March 2004 2:12 PM
To: CF-Talk
Subject: RE: Generating RSS feed - validating
1) Try putting this immediately before the <?xml.
<cfcontent type="text/xml" reset="yes"><?xml.
2) There's probably not a lot of point making up tags. The only advantage of
RSS is that it's a standard, meaning other software like FeedDemon will
recognize the tags. If you add your own, other software won't recognize the
data embedded in those tags. Worse, the third party software may reject your
entire feed as it is invalid.
Yes, the point of XML is that you can define your own tags. But an RSS doc
is an XML doc that conforms to a specific DTD. That DTD restricts the tags
etc that may be used.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

