RSS News Reader script?

After overcoming the stuff in "rookie needs help", I now have the entire site ready to go. I'm under an agreement not to show the content publicly until my client approves it, so apologies for not posting a link.
FWIW, this is a project directly related to the paperless electonic voting controversy, and the upcoming election (which we all anticipate to be an immense crisis - they should have solved this paper trail **** months ago), so all help is appreciated by more than just me - this one's for all of us. The site is likely to become a high-profile destination as November approaches.
I need to read a newsfeed from another related site. However, the ability to install code on the site I'm presently building is limited to what I can put into the immediate web. The site is hosted on an ASP (application service provider), and I'm uncertain what the sysadmin will welcome beyond that.
I have an ASP script that reads the newsfeed. It is demonstrated here:
http://www.gbdg.net/clay/index_vu.asp
What I am looking for, if such exists, is a similar JSP script. I am hoping this is simply a page I can install in my new site, and then execute via an include.
Could someone please direct me to such a script, assuming this is possible? Or point me in the right direction?
Thanks,
Greg

Yikes!
I have a week before a mandatory launch, and this is one small aspect of what I need to do. I pray somone knows a script or such that I can download and install - the last thing I hope to do this week is to learn how to build a custom tag.
Just as this page http://www.gbdg.net/clay/index_vu.asp reads content from http://www.votersunite.org/news-rss/index.xml and displays it in a formatted table, I can just as easily cause that box of news items to appear on the home page of a site - that page would also have other content. What I am looking for is a script that reads the XML newsfeed and displays it on a web page.
Thanks
FYI, here is the ASP RSS newsreader script that causes the above page to work:
<%
Dim objXML
Dim objXSL
Dim objFSO
Dim strFile
Dim strFileName
Dim strXSL
Dim strURL
Const ForReading = 1, ForWriting = 2, ForAppending = 8
Dim fso, f
' File extension
strFileName = "voters.xml"
' Format of current file e.g. 200160710cnn.xml
strFile = Year(Now) & Month(now) & Day(now) & Hour(now) & strFileName
' Style sheet
strXSL = "/includes/rss/rss.xsl"
' URL for XML Feed
strURL = "http://www.votersunite.org/news-rss/index.xml"
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
' If a current file for this hour doesn't exist, then get a new one.
If Not (objFSO.FileExists(Server.MapPath(strFile))) Then
     Set objXML = Server.CreateObject ("MSXML2.ServerXMLHTTP.4.0")
     objXML.Open "GET", strURL, False
     objXML.Send     
     xmlGet = objXML.responseText
     'strip out the crap to make it work...otherwise you will get a "The data necessary to complete this operation is not yet available." error.
     xmlGet = replace(xmlGet,"<!DOCTYPE rss PUBLIC ""-//Netscape Communications//DTD RSS 0.91//EN"" ""http://www.scripting.com/dtd/rss-0_91.dtd"">","")     
     ' Create new cnn XML file
     Set fso = CreateObject("Scripting.FileSystemObject")
     Set f = fso.OpenTextFile(Server.MapPath(strFile), ForWriting, True)
     f.Write xmlGet
     f.Close
     Set objXML = Nothing
     ' Now delete any older cnn files
     Set objFolder = objFSO.GetFolder(Server.MapPath("./"))
          For Each objFile in objFolder.Files
               If (objFile.Name = strFile) or Instr(objFile, strFileName)=0 then
               Else
                    objFSO.DeleteFile(Server.MapPath(objFile.Name))
               End If
          Next
End If
Set objFSO = nothing
' Now load XML and XSL documents
Set objXML = server.createobject("MSXML2.DOMDocument.4.0")
Set objXSL = server.createobject("MSXML2.DOMDocument.4.0")
objXML.load(Server.MapPath(strFile))
objXSL.load(Server.MapPath(strXSL))
Response.Write objXML.transformNode(objXSL)
Set objXML = Nothing
Set objXSL = Nothing
%>
RSS.xsl:
<?xml version="1.0" ?>
- <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:template match="/">
- <xsl:for-each select="rss/channel/item">
- <xsl:if test="position() < 8">
- <a>
- <xsl:attribute name="href">
<xsl:value-of select="link" />
</xsl:attribute>
<xsl:value-of select="title" />
</a>
- <xsl:if test="pubdate!=/">
<xsl:value-of select="pubdate" />
</xsl:if>
<img src="/images/spacer.gif" alt="" width="10" height="6" border="0" />
</xsl:if>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>

Similar Messages

  • Blackberry RSS News Reader

    On my 9800 a bunch of news feeds which I didn't add showed up in my reader and when I delete them they come back. I can't figure out how to permanently delete them. This happened after I loaded the Blackberry RSS News Reader on my new Playbook, I don't know if this related. Any ideas?

    Long shot, but is there an option to clear the cache in the news reader options?
    Please click the Thumbs Up icon if this comment has helped you!
    If your issue is resolved, please click the solution button on the resolution!
    Every BlackBerry should have BlackBerry Protect, get it now! | Follow me on Twitter | Bring Back BBM Music!

  • RSS/news reader for the N97 Mini?

    I use Google Reader a lot for keeping up with news and developments in my field. 
    However, it's a real pain to access Google Reader through the built-in browser in the N97 Mini. And there seems to be no simple, straightforward way to insert all the feeds (on my gReader account) into the phone. 
    Are there any news reader (RSS, Atom) applications for Symbian/Nokia phones that you would recommend?
    There are many excellent free RSS-reader apps for the iPhone and Windows Mobile, but I can't seem to find a half-decent one for Nokia phones.  Even a search on Ovi Store only brought up two. Both are not free and don't have spectacular reviews. (If I'm going to pay for it, I want to know it's a great, bug-free application first!)
     Thanks. 

    the best out there is currently google reader. its not an online app, but more of a webpage, the interface is similar to the full blown google reader. visit www.google.com/reader from the default web browser.

  • Rss news

    I have a few observations about the (way cool...) RSS news reader in JDeveloper 10g. I wonder if others see the same behaviour as I do?
    . Right click on article and 'Open in browser' does nothing
    . Double-click an article opens it OK, but messes up the order and formatting (I had dragged the column separator to see the dates better)
    Regards,Billy

    Hi Billy,
    Thanks for the feedback and taking time to report these problems. They both appear to be bugs in the extension. I'll try to get around to fixing them as soon as I have some spare cycles.
    Thanks,
    Brian

  • NavigateToURL - RSS Feed Reader Linking Issue

    Hi, I am working on an RSS feed reader. The reader pulls blog entries just fine, but the results are not clickable. Tried numerous variations of "navigateToURL", but am relatively new to the Flex framework. Is there a way to make generated feed clickable? See code below:
    <?xml version='1.0' encoding='UTF-8'?>
    <s:Application xmlns:d="http://ns.adobe.com/fxg/2008/dt"
                   xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/halo"
                   xmlns:feed="services.feed.*"
                   width="275" height="325" backgroundColor="#E2E7E9" preloaderChromeColor="#E2E7E9"
                   viewSourceURL="srcview/index.html">
        <!-- Blog Feed 1.0 -->
        <!-- Properties of the parent ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
        <!-- Metadata ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
        <!-- Styles ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
        <!-- Script ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
        <fx:Script>
            <![CDATA[
                import mx.events.FlexEvent;
                import flash.net.navigateToURL;
                protected function list_creationCompleteHandler(event:FlexEvent):void
                    getDataResult.token = feed.getData();
                public function feed_clickHandler(event:MouseEvent):void
                    navigateToURL(new URLRequest("http://blog.mysite.com/feed/"+getDataResult.lastResult.title));
            ]]>
        </fx:Script>
        <!-- Script ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
        <!-- Declarations ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
        <fx:Declarations>
            <s:CallResponder id="getDataResult"/>
            <feed:Feed id="feed" showBusyCursor="true"/>
        </fx:Declarations>
        <!-- Declarations ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
        <!-- UI components ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
        <fx:DesignLayer d:userLabel="Content">
            <s:BitmapImage d:userLabel="Shape 2" x="1" y="64" smooth="true"
                           source="@Embed('/assets/images/PSM-RSS-Feed/Shape 2.png')"/>
            <s:BitmapImage d:userLabel="line highlight" x="263" y="66" smooth="true"
                           source="@Embed('/assets/images/PSM-RSS-Feed/line highlight.png')"/>
        </fx:DesignLayer>
        <fx:DesignLayer d:userLabel="Feed Item">
        </fx:DesignLayer>
        <fx:DesignLayer d:userLabel="Scrollbar">
            <s:List id="list" x="4" y="64" click="feed_clickHandler(event)"
                    creationComplete="list_creationCompleteHandler(event)"
                    skinClass="components.FeedDataListSkin4">
                <s:AsyncListView list="{getDataResult.lastResult}"/>
            </s:List>
        </fx:DesignLayer>
        <fx:DesignLayer d:userLabel="Header">
            <s:BitmapImage d:userLabel="Shape 1" x="1" y="1" smooth="true"
                           source="@Embed('/assets/images/PSM-RSS-Feed/Shape 1.png')"/>
            <s:BitmapImage d:userLabel="Lines" x="12" y="43" smooth="true"
                           source="@Embed('/assets/images/PSM-RSS-Feed/Lines.png')"/>
            <s:BitmapImage d:userLabel="Pomona Swap Meet" x="11" y="8" smooth="true"
                           source="@Embed('/assets/images/PSM-RSS-Feed/Pomona Swap Meet.png')"/>
            <s:BitmapImage d:userLabel="Blog" x="184" y="31" smooth="true"
                           source="@Embed('/assets/images/PSM-RSS-Feed/Blog.png')"/>
        </fx:DesignLayer>
        <!-- UI components ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    </s:Application>
    I tried to connect a click event to the feed "title", but I'm not sure that the mouse event function is correct, or that I have placed the "clickHandler(event)" in the right location. Any thoughts would be appreciated.
    Thx.

    apex.oracle.com is locked down pretty tight since it is a free service.
    I'm surprised that running a restricted Package (DBMS_NETWORK_ACL_ADMIN) didn't throw an error and laugh at you.
    If you want to test that app, you must bring it "in house".
    MK

  • Integrating RSS feed reader into Fireworks Header

    Hello,
    I have a simple header for my website created in FW and I
    wish to embed an RSS news feed into the header area.
    Can you advise where (in FW or DW) to work and how I proceed.
    I am considering CARP for the aggregator (although I've never
    used CARP).
    Thanks for the advice,
    Jerry

    > I have a simple header for my website created in FW and
    I wish to embed an
    > RSS
    > news feed into the header area.
    FW is a graphics editor, so not the right app for it.
    > Can you advise where (in FW or DW) to work and how I
    proceed.
    You'd use DW and the appropriate back end
    programming/scripting needed.
    Which programming/scripting would depend on the server
    technologies you want
    to use.
    > I am considering CARP for the aggregator (although I've
    never used CARP).
    Then I imagine you would want to read about that on their web
    site, as that
    would be a specific application.
    -Darrel

  • Looking to set the result of a variable based on the content of another (new to scripts)

    Hi,
    I'm new to scripts, new to acrobat forms to be honest, so be gentle with me
    I have a text field Acc1pnt which can accept either Y or N as an entry. Based on the answer, text field Acc1snd would always be N/A if the result of Acc1pnt is N. I'm looking for a script that will add N/A to the second text field and skip over it (make read only?) if the answer to the first field is N.
    Sorry if I'm making this look like hard work. Basically a check is made as to whether an accessory is received and, if it is, whether it is 'sound' or 'damaged'. Obviously if it isn't received then it's condition is irrelevant hence N/A in the senond text field.
    Also, is there something simple I can add to convert an entry to a capital letter?
    Thanks in advance
    Cliff

    Hi Gilad
    I've shied away from radio buttons as the users are used to tabbing through the fields and 'clicking' a radio button would mean taking their hands from the keyboard, I will certainly consider it though.
    Acc1snd (the 2nd variable) should be editable ONLY if the answer to Acc1pnt (the 1st variable) is Y. If the value of the 1st variable is N then Acc1snd can only be N/A (not applicable) and should not be editable.
    Obviously if the user makes an initial mistake and needs to change the value of the 1st variable to Y then the 2nd variable would then need to be editable.
    I will run through the tutorials this evening

  • I am new to scripting & I need Script for Document color mode

    Hi,
    Please help me to create a script which should find the Document color mode. I am new to scripting. And please let me know how to use the same.
    Balaji

    Are you using the Extendscript Toolkit Editor (ESTK)? In the Help menu you can find all the properties for Document that can be queried/changed.
    (Personally, I don't use ESTK, because I really really hate it. But I don't want to miss the Help, so I made my own version. I have Illustrator CS4, and it's possible your version doesn't have this, but under Document I find:
    documentColorSpace
    DocumentColorSpace:
    DocumentColorSpace.RGB
    DocumentColorSpace.CMYK
    readonly
    The color space used for the document.
    For the how-to-use I glady refer you to Adobe's own Starting With Scripting guides.)

  • Anyone tried the new Weblogic Scripting Tool (WLST)?

    Has anyone tried using the new WebLogic Scripting Tool (WLST) that was recently
    posted on the dev2dev WebLogic Utilities site: http://dev2dev.bea.com/resourcelibrary/utilitiestools/adminmgmt.jsp
    It looks to be a handy tool that is built upon jython and enables you to easily
    navigate, inspect and manipulate the WebLogic MBean tree on a running server.
    It also has a nice scripting tool which allows you to convert a config.xml file
    into a script that can be run to recreate a domain or specific resources within
    the domain. This is exactly something I have been looking for because we occasionally
    recreate domains or subsets of a domain for testing and POC purposes.
    The utility is fairly well documented and works well for the most part. The only
    issue I have run into so far is that is does not seem to understand JMS Distributed
    Destinations. When I try to convert a config.xml that contains a DD to a script
    it throws a null pointer exception. I have not tried a cluster yet.
    I noticed the utility was authored by someone at BEA. Is there potential that
    BEA will support this in the future if it catches on? Has anyone had experience
    with WLST or jython that would cause you to reccomend (or not) using it?
    Thanks.

    Darryl,
    Thanks for the valuable feedback. My comments are inline.
    Darryl Stoflet wrote:
    As a fairly long time wlshell user who recently started testing wlst there are
    few features I have found lacking in wlst.
    1. For monitoring purposes I am frequently using the -g and -r options to wlshell's
    get command for graphing and repeating respectivelyI haven't looked at -g and -r options in wlshell, but will do so.
    Although there is no graphical monitoring of attributes in wlst, but
    there is certainly some monitoring capability (which will be enhanced
    further in the coming version). Please take a look at the
    monitorAttribute() function.
    wls:/(offline)> help('monitorAttribute')
    Description:
    Monitors the specified attribute every by polling every interval.
    Syntax:
    monitorAttribute(attributeName, interval, monitorFile)
    attributeName = Name of the attribue that you would like to monitor.
    interval = Time (in seconds) to wait before the next fetch
    monitorFile=[optional] File path where the monitored data will be
    written to.
    Example:
    wls:/mydomain/runtime/ServerRuntimes/myserver/ExecuteQueueRuntimes/weblogic.kernel.Default>
    monitorAttribute("ServicedRequestTotalCount",10)
    Press Return to quit monitoring
    Monitoring started for attribute ServicedRequestTotalCount
    wls:/(offline)>
    >
    2. wlshell 2.0 adds the option when connecting to the admin server to also connect
    to all managed servers in that domain. This is a nice feature for monitoring because
    you then have access to all the runtime mbeans in each managed serverYes, this indeed seems to be a very nice feature. We will consider this
    for our next release.
    >
    3. There is not a good way to pass cmd line options(variables) to wlst. In wlshell
    I can send cmd line options via -v. I have tried something similar with wlst using
    -loadProperties but this is a little laborious because I do not necessarily want
    to create a properties file when a passing in only one or two variables. Also
    I find loadProperties lacking somewhat (see 4 below)ok, I just realised that there is indeed a bug in wlst where the command
    line arguments are not being honored. In Jython one can access the
    command line arguments from the sys.argv variable. For example,
    java weblogic.WLST -i foo.py var1 var2 var3
    Initializing WebLogic Scripting Tool (WLST) ...
    Welcome to Weblogic Server Administration Scripting Shell
    Type help() for help on available commands
    wls:/offline> print sys.argv
    ['foo.py', 'var1', 'var2', 'var3']
    wls:/offline>
    But this isn't working properly, please keep using the loadProperties
    untill this has been fixed.
    >
    4) loadProperties treats all created variables as strings. While this is understandable
    from the perspective that getProperty returns a string, it would be nice if wlst
    was smart enough that when a property is numbers only its an int, otherwise a
    string etc.
    wlshell does this logic/conversion for you which really simplifies calling methods
    that expect the particular datatype. To get around this problem you can create a script file say,
    variables.py which would look like,
    # variables that will be used
    theInterpreter.set('var1',10)
    theInterpreter.set('var2','i am a string')
    java weblogic.WLST variables.py
    Initializing WebLogic Scripting Tool (WLST) ...
    Welcome to Weblogic Server Administration Scripting Shell
    Type help() for help on available commands
    wls:/(offline)> print var1
    10
    wls:/(offline)> print var2
    'i am a string'
    >
    5. I'd like to be able to send cmd output etc to a file while running within wlst.
    In wlshell its a simple as adding >> filename to the end of the command. In wlst it is not as simple as doing >>, it is more than that. You can
    choose any output stream to direct your output to. In your case you can
    create a FileOutputStream and route the output to this stream for any
    particular command.
    Example,
    # create a file output stream say fos
    from java.io import FileOutputStream
    fos = FileOutputStream("output.txt")
    # save the default output stream to a variable to
    # switch it back
    sys.stdout=fos
    # Now all output for any function will go to output.txt
    ls()
    cd('foo')
    # after done with your functions switch it back
    sys.stdout=origOutput
    This is the right Jython way to do it. This works for all output streams
    , very useful when you embed an interpreter in a servlet and would like
    to display the output via a PrintStream etc.
    >
    >
    All in all wlst is a nice tool. Personally if the above features were added it
    would be much easier to transistion to wlst for good.
    Also I really like the wlst offline tool. Its nice to be able to do the whole
    create and configure domain process with one tool. Will this be supported. Yes indeed. We are working on merging both the tools into one.
    I do
    not want to rely on it too much if it will not work in future weblogic versions.It will be supported in future release of weblogic.
    Thanks,
    -satya
    >
    Thanks,
    Darryl
    "Steve Hess" <[email protected]> wrote:
    Hello,
    I am the BEA Product Manager behind WLST.
    WLST, as it appears today on dev2dev, is an early release version of
    a tool that
    BEA does intend to support as part of our next major release. We decided
    to issue
    early versions of the tool because of the demand for a supported scripting
    solution,
    and to generate feedback from our user community. I encourage you to
    work with
    WLST, and assure you that this tool represents our current direction
    in management
    scripting.
    Also note, this newsgroup can be used to issue questions, concerns and
    feedback
    about WLST. The engineering and PM team will monitor this group and
    respond to
    your questions as quickly as we can. While we will not be able to respond
    to
    every feature request, we really value your suggestions, and will endeavor
    to
    improve the tool in ways that meet your real-world needs.
    Cheers,
    Steve Hess
    Director, WLS PM
    "George Lupanoff" <[email protected]> wrote:
    Has anyone tried using the new WebLogic Scripting Tool (WLST) that was
    recently
    posted on the dev2dev WebLogic Utilities site: http://dev2dev.bea.com/resourcelibrary/utilitiestools/adminmgmt.jsp
    It looks to be a handy tool that is built upon jython and enables you
    to easily
    navigate, inspect and manipulate the WebLogic MBean tree on a running
    server.
    It also has a nice scripting tool which allows you to convert a config.xml
    file
    into a script that can be run to recreate a domain or specific resources
    within
    the domain. This is exactly something I have been looking for because
    we occasionally
    recreate domains or subsets of a domain for testing and POC purposes.
    The utility is fairly well documented and works well for the most part.
    The only
    issue I have run into so far is that is does not seem to understandJMS
    Distributed
    Destinations. When I try to convert a config.xml that contains a DDto
    a script
    it throws a null pointer exception. I have not tried a cluster yet.
    I noticed the utility was authored by someone at BEA. Is there potential
    that
    BEA will support this in the future if it catches on? Has anyone had
    experience
    with WLST or jython that would cause you to reccomend (or not) using
    it?
    Thanks.

  • ACL rights assignment in new user script

    I've been tasked with converting an old new-user script that runs at least once a day written in VB to PowerShell. This script takes as input a CSV file we get from HR that has all necessary info and creates a user, adds them to specific groups based on
    the info in the CSV, enables their Exchange mailbox, and creates their home directory. I'm having a bit of trouble planning out the rights assignment part on the user home directory; I need to be able to add the specific user (set by variable at the beginning
    of the script) and three static groups. What is the best way to do that? I can easily grab outside modules if needed (a section of my script checks for and if necessary installs modules and adds snap-ins), but I'd rather keep this 100% PowerShell - no icacls
    or outside commands.
    Any suggestions?
    Thank you in advance.
    [email protected]

    Here's what I came up with for the File System Stuff:
    foreach ($user in $userlist)
    $samaccountname = $user.empid
    $FQN = "domain\" + $samaccountname
    $homedirpath = "\\fileserver\users\$samaccountname"
    new-item -ItemType directory -path $homedirpath -force
    #Set ACLs for user and required groups
    $homedir_acl = get-acl $homedirpath
    $acl_access1 = 'domain\HomeDirectory Admins'
    $acl_access2 = "domain\$samaccountname"
    $fullrights = "Fullcontrol"
    $modifyrights = "Modify"
    $inheritrights = "ContainerInherit,ObjectInherit"
    $rule1 = new-object system.security.accesscontrol.filesystemaccessrule ($acl_access1, $fullrights, $inheritrights, "none", "Allow")
    $rule2 = new-object system.security.accesscontrol.filesystemaccessrule ($acl_access2, $modifyrights, $inheritrights, "none", "Allow")
    $homedir_acl.addAccessRule($rule1)
    set-acl $homedirpath $homedir_acl
    $homedir_acl.addAccessRule($rule2)
    set-acl $homedirpath $homedir_acl
    #Set owner on home directory
    $owner = New-Object System.Security.Principal.NTAccount($FQN)
    $homedir_acl.setowner($owner)
    set-acl $homedirpath $homedir_acl
    [email protected]

  • Create a New Calc Script from VB.

    Does anyone know how to create a calc script using the VB Essbase API? We are going thru a large modification. Most of our calc scripts are stored on an oracle database. The idea is to send the stored scripts to a text file and then using the essbase api to create new calc scripts based on the the text files. Any help or ideas would be appreciated.Thanks

    This shouldn't be too difficult. You should be able to either read your existing script straight from your Oracle database using ODBC & ADO Recordset or from a test file using a scripting.filesystemobject and then make any changes using the VB code. Then use either the EsbBeginCalc/EsbSendString/EsbEndCalc or EsbCalc functions in the VB API to run them. I've used this sort of approach in the past to allow users to substitute specific members into 'template' calc scripts at runtime. Hope this helps.Mark Rixon www.analitica.co.uk

  • RSS feed reader stopped working

    Hi,
    I have an RSS feed reading function that worked just fine until yesterday.  I grab an RSS feed from google news using cfhttp and then parse it using XMLParse.  I am attaching the code below.
    Does anyone know if anything changed at Google or somewhere else that would cause my code to stop working?  Instead of the expected results, I see the browser saying the page is loading but never get any results.
    Perhaps there is a parameter I never set in the CFHTTP line and skated by without it for all this time.  It is definitely hanging up on the CFHTTP call.
    Thanks for the help.
    With relation to the code, the search term I am using is "football" and the searchtype is "AND".
    <CFPARAM NAME="newsfeed_start" DEFAULT="1">
    <CFPARAM NAME="newsfeed_end" DEFAULT="5">
    <CFQUERY DATASOURCE="#sitedatasource#" NAME="otherinfo">
    SELECT newssearchterm, newssearchtype
    FROM otherinfo
    WHERE siteid = #currentsiteid#
    </CFQUERY>
    <CFSET newsterm = replace(otherinfo.newssearchterm," ","+","all")>
    <CFIF otherinfo.newssearchtype EQ "AND">
    <cfhttp url="http://news.google.com/news?hl=en&ned=us&q=#newsterm#&btnG=Search+News&output=rss" method="GET" resolveurl="No" charset="utf-8" userAgent="firefox"></cfhttp>
    <CFELSE>
    <cfhttp url="http://news.google.com/news?as_q=&svnum=10&as_scoring=r&hl=en&ned=us&aq=f&ie=UTF-8&btnG=Go ogle+Search&as_epq=&as_oq=#newsterm#&as_eq=&as_drrb=q&as_qdr=&as_mind=1&as_minm=1&as_maxd= 31&as_maxm=1&as_nsrc=&as_nloc=&geo=&as_occt=any&aq=f&output=rss" method="GET" resolveurl="No" charset="utf-8" userAgent="firefox"></cfhttp>
    </CFIF>
    <cfset my_news_xml=XMLParse(cfhttp.FileContent)>
    <CFIF len(my_news_xml) GT 1200>
    <cfoutput>
    <CFIF ArrayLen(my_news_xml.rss.channel.item) GT newsfeed_end>
          <CFSET newsfeed_end = newsfeed_end>
    <CFELSE>
          <CFSET newsfeed_end = ArrayLen(my_news_xml.rss.channel.item)>
    </CFIF>
    <cfloop index="x" from="#newsfeed_start#" to="#newsfeed_end#">
    <LI><A HREF="#my_news_xml.rss.channel.item
    [x].link.xmlText#">#my_news_xml.rss.channel.item[x].title.xmlText#</A></LI></cfloop>
    </cfoutput>
    <CFELSE>
    <CFOUTPUT>There are no headlines matching your search term: #newsterm#
    </CFOUTPUT></CFIF>

    RSS feed was replaced by web-admin, works now.

  • Opening OA page in new java script window from ProcessRequest method

    I wish to open new OA page in new java script window.
    Code is
    javascript:var help_win = window.open(strHelpDesk,'help_win',
    'resizable=yes,scrollbars=yes,toolbar=yes,width=600,height=500'); help_win.focus();
    strHelpDesk is the url of the requested new OA page .. How can we open that page in new window from processRequest .. I can't assign this code in pages's attribute ... The new Oa page should be opened whenever , control goes in Processrequest ... Do we have such command ? can we use pagecontext.redirectImmediately..or any other command ..
    thx in advance

    Yes, you can, what you need to do is
    add a raw text bean in your page.
    Attach this raw text bean to a transient attribute (column) of VO
    populate this column with your javascript function which will open a new window and inlcude its call here
    now whenyour page will render and process request is called ur javascript function is triggered and a new window will be opened.I guess i am clear!
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • [ANN] Oracle JDeveloper RSS News Feed

    Get the latest news about everything JDeveloper related sent directly to you.
    A new RSS News Feed for Oracle JDeveloper is available at from the right side of the JDeveloper home page:
    http://otn.oracle.com/products/jdev

    Subscribed. Thanks Shay.

  • Rolling RSS news

    Hi!
    I´ve had lot of problems developing custom XML transformers for RSS news.. Does someone have the source codes for making and iview with "Rolling News" from an RSS feed? you know.. that cicling news that when you click on every title it stop cicling and opens the full new.
    I saw it in many places and have been reading how to develop it, but it can´t figure it out; it would be much simpler having a full example, so i can see how it works...
    My mail is [email protected]
    Best regards people!!
    Message was edited by:
            Themis Rosell

    Hi Themis,
    I had  similar kind of requirement of publishing the News in Portal using RSS feed reader. For this, I hv created the XML IView which converts the XSLT to htmlb format in Portal.
    However, the XML Iview doesn't show up the News. I hv went through with Configuring proxy server settings within the System Cofugration >> Service Confugration in Portal browser. But no use,  still the message appears :
    XML Iview error contact System administrator appears.
    Appreaciate your time and valuable inputs. Looking forward to your responses.
    Best Regards,
    Ravi Kumar.

Maybe you are looking for

  • Delay in AJP Connector jBoss/TomCat Solaris 10

    I have: - IIS 6, Windows 2003 Server on dual PIII with jk 1.2.15 installed and working - Solaris 10 on Sun E420R with Quad Processors with jBoss / Tomcat version 4.0.3SP1 There is a significant delay in page loading that occurs randomly (every 10-20

  • Missing data after server restart

    Hi, We restarted our MDM server at the OS level last night. Everything seemed okay after the restart. However, when our users came in this morning, they found that some data was missing from a table. We have a Material repository with 3 main tables.

  • Why is this FMS query not working for me?

    There is already a FMS query that works in Delivery Pane. The FMS field there is a user defined field called U_NWR_Bin, rom table DLN1. This works fine and it is alpha numeric 10 characters. This FMS is defined in Marketing Documents rows. I created

  • Cursor off-set from text in design view CS3

    I'm a recent MacSwitcher and found that DW 8 won't run worth a damn on my new MacBook Pro (Intel). So am using trial version of DW CS3 and having this bit of weirdness... where I put the cursor on the page in design view is about 1 character "off" fr

  • Automatic time zone wrong post 2/21/14 security update

    Updated ipad air and iphone 5s with new security update today.  For some reason, automatic time zone is now indicating I am in Chicago(central time) even though I am in Cincinnati, OH (eastern time). Anybody else having this problem?