This works for the XML file feed.  I am using it at www.uxb.net.
However if you upgrade Office 2K to the latest service pack it breaks.
I upgraded my development machine to Office 2000 SR1 service pack and
now IE5.0 or  the XMLDOM won't or read any XML file using iso-8859-1.
If I change it to UTF-8 it works fine.   Thank you Bill!


==================[ code snippet ]===================


<cfset
XMLFile="http://p.moreover.com/cgi-local/page?index_cyberculture+xml">
<!--- Instantiate an XMLDOM object --->
<CFOBJECT TYPE="COM" NAME="objSource" CLASS="Microsoft.XMLDOM"
ACTION="CREATE">
<!--- load XML source and check readyState --->
<CFSET objSource.async = "false">
<CFSET sourceReturn = objSource.load("#XMlFile#")>
<!--- we can select nodes from the whole document, as here --->
<CFSET stories = objSource.selectNodes("moreovernews/article")>
<!--- check the value returned by the load function, just to make
                        sure loaded correctly --->
<cfif sourceReturn is "NO">
                XML File not loaded into XML COM Object
<cfelse>
<table width="100%"  border="0" cellspacing="0" cellpadding="4">
                <cfset X=10> <!--- Set the number of lines to be displayed --->
        <cfset Y=0>
                <cfloop COLLECTION="#stories#" ITEM="story">
                        <cfset title = story.selectsinglenode("headline_text")>
                        <cfset link = story.selectsinglenode("url")>
                        <tr>
    <td>
                                <a href="#link.text#" 
target="_new">#title.text#</a></font>
                             </td>
                   </tr>
                         <cfset Y=Y+1>
                 <cfif Y eq X>
                                <cfbreak>
                        </cfif>
                </cfloop>
</cfif>

==================[ code snippet ]===================

Best Regards,

Dennis Powers
UXB Internet
(203)879-2844
http://www.uxbinfo.com

-----Original Message-----
From: Timothy C. Hill [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 23, 2000 9:50 AM
To: [EMAIL PROTECTED]
Subject: Re: for those looking for news feeds

Has anyone gotten the CF/WDDX/XML feed from MoreOver.com to work for
them?
If so, can someone send me some examples as to how they output the
information???
I am an XML illiterate..........but I do want to learn.

thanks,
Tim


----- Original Message -----
From: Steve Reich <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 21, 2000 12:50 PM
Subject: RE: for those looking for news feeds


> Yes... and also check out James Carlyle's directory of syndicated
new
links
> at xmltree.com
>
> Steve
>
> -----Original Message-----
> From: Ric Smith [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 21, 2000 12:17 PM
> To: [EMAIL PROTECTED]
> Subject: for those looking for news feeds
>
>
> I've seen some posts asking about news feeds and the suggestion
> is usually http://www.isydicate.com. I stumbled upon a jewel this
morning
in
> http://www.moreover.com. They can supply you the feeds in WDDX
format.
> I haven't tried it yet but it looks like the shiznit.
>
> -- Ric Smith
>
>
> --------------------------------------------------------------------
------
--
> --
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
>
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_tal
k or
> send a message to [EMAIL PROTECTED] with
'unsubscribe' in
> the body.
>
> --------------------------------------------------------------------
------
----
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_tal
k or
send a message to [EMAIL PROTECTED] with 'unsubscribe'
in
the body.

----------------------------------------------------------------------
--------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_tal
k or send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body.

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to