Parse rss issue

I've been trying to parse this rss feed
http://www.economicnews.ca/cepnews/wire/rss/custom?u=camagazine&p=39d7g7d9
Here is the code I'm using:
<!--- Retrieve the RSS document --->
<cfhttp url="
http://www.economicnews.ca/cepnews/wire/rss/custom?u=camagazine&p=39d7g7d9"
method="get">
<cfhttpparam type="Header" name="Accept-Encoding"
value="deflate;q=0">
<cfhttpparam type="Header" name="TE"
value="deflate;q=0">
</cfhttp>
<!--- Validation flag --->
<cfset XMLVALIDATION = true>
<cftry>
<!--- Create the XML object --->
<cfset objRSS = xmlParse(cfhttp.filecontent)>
<cfcatch type="any">
<!--- If the document retrieved in the CFHTTP
is not valid set the validation flag to false. --->
<cfset XMLVALIDATION = false>
</cfcatch>
</cftry>
<cfif XMLVALIDATION>
<!--- If the validation flag is true continue parsing
--->
<!--- Set the XML Root --->
<cfset XMLRoot = objRSS.XmlRoot>
<!--- Retrieve the document META data --->
<cfset doc_title = XMLRoot.channel.title.xmltext>
<cfset doc_link = XMLRoot.channel.link.xmltext>
<cfset doc_description =
XMLRoot.channel.description.xmltext>
<cfset doc_content = XMLRoot.channel.content.xmltext>
<!--- Output the meta data in the browser --->
<!-- <cfoutput>
<b>Title</b>: #doc_title#<br/>
<b>Link</b>: #doc_link#<br/>
<b>Description</b>:
#doc_description#<br/><br/>
</cfoutput> -->
<!--- Retrieve the number of items in the channel --->
<cfset Item_Length = arraylen(XMLRoot.channel.item)>
<!--- Loop through all the items --->
<cfloop index="itms" from="1" to="2">
<!--- Retrieve the current Item in the loop --->
<cfset tmp_Item = XMLRoot.channel.item[itms]>
<!--- Retrieve the item data --->
<cfset item_title = tmp_item.title.xmltext>
<cfset item_link = tmp_item.link.xmltext>
<cfset item_description = tmp_item.description.xmltext>
<cfset item_content = tmp_item.content.xmltext>
<!--- Output the items in the browser --->
<cfoutput>
<a href="#item_link#"
target="_blank"><strong>#item_title#</strong></a><br/>
#item_description#<br/><br/><br />
#item_content#
</cfoutput>
</cfloop>
<cfelse>
<!--- If the validation flag is false display error
--->
Invalid XML/RSS object!
</cfif>
But it gives me the following error:
Element CHANNEL.CONTENT.XMLTEXT is undefined in XMLROOT.
The error occurred in
E:\inetpub\wwwroot\cica\shane_upload_folder\rss_parse.cfm: line 31
29 : <cfset doc_link = XMLRoot.channel.link.xmltext>
30 : <cfset doc_description =
XMLRoot.channel.description.xmltext>
31 : <cfset doc_content =
XMLRoot.channel.content.xmltext>
I've checked and re-checked, I've done dumps and the content
is there, so I'm not sure what the heck it doesn't like. Thoughts
anyone?

SirPainkiller wrote:
> Ohhh I see. Ok so if we look under ITEM there is title,
link, description, content:encoded, etc.. So now the question is
how to I reference the content:encoded that is under item??
>
> Shane
When accessing that type of RSS feed you need to use array
notation
rather then dot notation to get at the elements.
I.E.
<cfset doc_content =
XMLRoot['channel']['item']['content:encoded']['xmltext']>

Similar Messages

  • RSS 2.0 parser loop (issue with load unload)

    Hello,
    Im using a GNU class from
    http://sunouchi.31tools.com/ASRssParser/#usage
    to parse rss2.0 files.
    In the example on the site it parses one file, but i need to
    parse more files and put them in an array.
    Im not an experienced AS writer, but i just put an loop
    around rssObj.load
    The onload function should be called when the fetching is
    done.
    The result now i only get the results from the last rss...
    Any solving Ideas.
    Cheers
    code :
    // import package
    import com.cybozuLab.rssParser.*;
    // create FetchingRss class instance
    // set the target RSS URL
    var xmlsource = new Array();
    xmlsource[0] = "
    http://www.nieuwsblad.be/Regio/WestVlaanderen/feed.xml";
    xmlsource[1] = "
    http://www.sportwereld.be/Tennis/feed.xml";
    xmlsource[2] = "
    http://rss.vrtnieuws.net/nieuwsnet_master/versie2/systeem/rss/nnII_nieuws_hoofdpunten/inde x.xml";
    for (i=0;i<2;i++){
    Trace(xmlsource
    var rssObj = new FetchingRss(xmlsource); // change exist
    URL
    var thisObj = this;
    rssObj.load();
    // define the function when loading is completed
    rssObj.onLoad = function( successFL, errMsg )
    if( successFL )
    // call function for listing summary
    thisObj.listSummary();
    else
    trace( errMsg );
    // start loading
    function listSummary()
    var rssData:Object = rssObj.getRssObject();
    for( var i=0; i<rssData.channel.item.length; i++ )
    var post:Object = rssData.channel.item
    trace( post.title.value );
    trace( post.description.value.substr( 0, 60 ) + "\n" );

    Here's a link for boot loop recovery.
    Since it's a new install you probably don't have anything to recover though:::
    https://supportforums.cisco.com/docs/DOC-26689#comment-14559
    Reading the system requirements for the Express version, one would think any version of ESXi is supported.
    Looking at the system requirements for the Standard and Pro versions though it appears 5.1 is the latest version.
    VMWare Version
    Express - ESXi 4.1 or later
    Standard - ESXi 5 or ESXi 5.1
    Pro - ESXi 5 or ESXi 5.1
    Try with ESXi 5.1 and I'll bet it works!

  • Parse RSS feed -System.out

    Hi,
    As below i have been reading RSS feeds.
    When i execute the parser.parse(url) method i get a dump of the xml bones from the feed onto System.out, which in my case is a catalina log file.
    Is there any way/method that im not aware of that can prevent this going to System.out?
    public void readRSSDocument() throws Exception {
            //Create the parser
            RssParser parser = RssParserFactory.createDefault();
            //Parse our url
            Rss rss = parser.parse(
                    new URL("http://rss.cnn.com/rss/cnn_world.rss"));
        }output:
    <rss>
    <channel>
    <title>
    </title>
    <link>
    </link>
    <description>
    </description>
    <language>
    </language>
    <copyright>
    </copyright>
    <pubDate>
    </pubDate>
    <ttl>
    </ttl>
    <image>
    <title>
    </title>
    <link>
    </link>
    <url>
    </url>
    <width>
    </width>
    <height>
    </height>
    <description>
    </description>
    </image>
    <atom10:link>
    </atom10:link>
    <atom10:link>
    </atom10:link>
    <item>
    <title>
    </title>
    <guid>
    </guid>
    <link>
    </link>
    <description>
    </description>
    <pubDate>
    </pubDate>
    <feedburner:origLink>
    </feedburner:origLink>
    </item>
    <item>
    <title>
    </title>
    <guid>
    </guid>
    <link>
    </link>
    <description>
    </description>
    <pubDate>
    ..

    I am presuming that you picked up the code from [this tutorial|http://java.sun.com/developer/technicalArticles/javaserverpages/rss_utilities/]
    Looks like the library was compiled with System.out.println() statements in it.
    There is always the handy little method "System.setOut()" to redirect it.
    Alternatively, decompile the code, delete/comment the System.out.println statements and then recompile it.
    Its not that hard. Here's the offending class:
    // Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
    // Jad home page: http://www.kpdus.com/jad.html
    // Decompiler options: packimports(3)
    // Source File Name:   DocumentHandler.java
    package com.sun.cnpi.rss.handlers;
    import com.sun.cnpi.rss.elements.Element;
    import com.sun.cnpi.rss.elements.Rss;
    import java.io.PrintStream;
    import java.util.*;
    import org.xml.sax.Attributes;
    import org.xml.sax.SAXException;
    import org.xml.sax.helpers.DefaultHandler;
    // Referenced classes of package com.sun.cnpi.rss.handlers:
    //            NullElementHandler, ElementHandler, HandlerException
    public class DocumentHandler extends DefaultHandler
        public DocumentHandler()
            handlers = new HashMap();
            handlerStack = new Stack();
            parentStack = new Stack();
            rss = new Rss("rss");
            handlers.put(null, new NullElementHandler());
            parentStack.add(rss);
        public void registerHandler(String key, ElementHandler handler)
            handlers.put(key.toLowerCase(), handler);
        public void addToParentStack(Element parent)
            parentStack.add(parent);
        public Element popFromParentStack()
            return (Element)parentStack.pop();
        public Element peekParentStack()
            return (Element)parentStack.peek();
        public void startElement(String uri, String localName, String qName, Attributes attributes)
            throws SAXException
            //System.out.println("<" + qName + ">");
            try
                ElementHandler currentHandler = (ElementHandler)handlers.get(qName.toLowerCase());
                handlerStack.add(currentHandler);
                if(currentHandler != null)
                    Element parent = (Element)parentStack.peek();
                    currentHandler.startElement(this, parent, uri, localName, qName, attributes);
            catch(HandlerException e)
                e.printStackTrace();
            super.startElement(uri, localName, qName, attributes);
        public void characters(char ch[], int start, int length)
            throws SAXException
            StringBuffer buffer = new StringBuffer();
            Element element = (Element)parentStack.peek();
            if(element.getText() != null)
                buffer.append(element.getText());
            buffer.append(ch, start, length);
            element.setText(buffer.toString());
            super.characters(ch, start, length);
        public void endElement(String uri, String localName, String qName)
            throws SAXException
            //System.out.println("</" + qName + ">");
            if(!handlerStack.isEmpty())
                try
                    ElementHandler currentHandler = (ElementHandler)handlerStack.pop();
                    if(currentHandler != null)
                        Element parent = (Element)parentStack.peek();
                        currentHandler.endElement(this, parent, uri, localName, qName);
                catch(HandlerException e)
                    e.printStackTrace();
            super.endElement(uri, localName, qName);
        public Rss getRss()
            return rss;
        private Map handlers;
        private Stack handlerStack;
        private Stack parentStack;
        private Rss rss;
    }

  • XML newbie - parsing RSS

    Hello Everbody,
    i started playing around with xml and i am finding it very interesting...i have a question, how does one transform an rss feed using Java.(to use on my home page for example)? I know that they have an RSSUtilities package here on java.sun.com but i wanted to try it out on my own so that i get more experience using it..
    i was successfully able to parse xml docs using sax and dom approaches..(i use jaxp by the way..) also, i can transform xml to html using dom and xslt stylesheets but feeds?? if i use the same program that i used for sml files, at run time i get the following errors..
    Error: URI=file:D:/javapractice/inrss.xml Line=2: Element type "rss" is n
    ot declared.
    Error: URI=file:D:/javapractice/inrss.xml Line=2: Attribute "version" is
    not declared for element "rss".
    Error: URI=file:D:/javapractice/inrss.xml Line=3: Element type "channel"
    is not declared.
    Error: URI=file:D:/javapractice/inrss.xml Line=4: Element type "title" is
    not declared.
    Error: URI=file:D:/javapractice/inrss.xml Line=5: Element type "link" is
    not declared.
    Error: URI=file:D:/javapractice/inrss.xml Line=6: Element type "descripti
    on" is not declared.
    Error: URI=file:D://javapractice/inrss.xml Line=7: Element type "language"
    is not declared.
    Error: URI=file:D://javapractice/inrss.xml Line=8: Element type "pubDate"
    is not declared.
    Error: URI=file:D://javapractice/inrss.xml Line=9: Element type "copyright
    " is not declared.
    Error: URI=file:D://javapractice/inrss.xml Line=10: Element type "image" i
    s not declared.
    i think the above is understood because there is no dtd for these rss feeds... please, help me understand this as i am going crazy with this problem

    Hi Nachida,
    The code is very simple and I am posting it as below.. Please note that if I use a regular xml file, it gives me correct results but if I use an RSS feed, it complains..
    First the code..
    import org.xml.sax.helpers.DefaultHandler;
    import java.io.File;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import org.w3c.dom.Document;
    import org.w3c.dom.DOMException;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.TransformerConfigurationException;
    import javax.xml.transform.TransformerException;
    import javax.xml.transform.dom.DOMSource;
    import javax.xml.transform.stream.StreamResult;
    import javax.xml.transform.stream.StreamSource;
    import org.xml.sax.Attributes;
    import org.xml.sax.SAXException;
    import org.xml.sax.SAXParseException;
    import javax.xml.parsers.ParserConfigurationException;
    import java.io.IOException;
    public class TransformRss
    { Document document;
         public TransformRss()
              {try
                   {DocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance();
                     dbFactory.setValidating(true);
                    dbFactory.setIgnoringElementContentWhitespace(true);
                    DocumentBuilder documentBuilder = dbFactory.newDocumentBuilder();
                    document = documentBuilder.parse(new File("inrss.xml"));
              catch (SAXException e)
              {System.out.println("This is a SAX Exception");
              catch (ParserConfigurationException e)
              {System.out.println("This is a Parser Configuration Exception");
              catch (IOException e)
              {System.out.println("This is a IO Exception");
         public void transformTheDocument(File stylesheet)
              {try
                   {Transformer transformer = TransformerFactory.newInstance().newTransformer(new                 StreamSource(stylesheet));
                    transformer.transform(new DOMSource(document), new StreamResult( new File("alteredRss.html")));
              catch (TransformerConfigurationException e)
                   {System.out.println("This a transformer configuration exception");
              catch (TransformerException e)
                   {System.out.println(" this is a transformer exception");
         public static void main(String[] args) throws Exception
              {TransformRss transformRss = new TransformRss();
               transformRss.transformTheDocument(new File("program.xsl"));
    Now instead of rss.xml if I want to transform lets say resumexml.xml it works fine... I am posting both resumexml.xml and inrss.xml
    resumexml.xml-----------------------------------------------------------------------------------------
    <?xml version="1.0"?>
    <!DOCTYPE resume [
    <!ELEMENT resume (name, education, country)>
    <!ELEMENT name (#PCDATA)>
    <!ELEMENT education (#PCDATA)>
    <!ELEMENT country (#PCDATA)>
    ]>
    <resume>
    <name>sabrang</name>
    <education> engineer </education>
    <country> usa </country>
    </resume>
    inrss.xml--------------------------------------// or it could be any rss type of file...
    <?xml version="1.0" ?>
    <rss version="0.91">
    <channel>
    <title>rediff Top Stories - India</title>
    <link>http://www.rediff.com/</link>
    <description>India's largest news and entertainment service online.</description>
    <language>en-us</language>
    <pubDate>Sat, 10 Apr 2004 19:44:36 GMT</pubDate>
    <copyright>Copyright: (C) 2004 Rediff.com India Limited. All Rights Reserved.</copyright>
    <image>
    <title>rediff.com</title>
    <url>http://www.rediff.com/uim/red_log.gif</url>
    <link>http://www.rediff.com/</link>
    <width>144</width>
    <height>28</height>
    <description>Visit rediff.com</description>
    </image>
    <item>
    <title>I am a Bihari by birth, saysVajpayee</title>
    <link>http://www.rediff.com/rss/redirect.php?url=http://www.rediff.com/election/2004/apr/10pm.htm</link>
    <description>'I am a Bihari by birth. I was named Bihari by my father the day I was born,' the prime minister said in Patna.</description>
    </item>
    <item>
    <title>US army asks for ceasefire in Fallujah</title>
    <link>http://www.rediff.com/rss/redirect.php?url=http://www.rediff.com/news/2004/apr/10iraq.htm</link>
    <description>After more than a week of fighting the US army has occupied only a small portion of the town.</description>
    </item>
    <item>
    <title>'We'd like to have a Shoaib in our side' </title>
    <link>http://www.rediff.com/rss/redirect.php?url=http://www.rediff.com/cricket/2004/apr/10inter.htm</link>
    <description>India coach John Wright analyses the tour of Pakistan and discusses his future with the Indian team.</description>
    </item>
    <item>
    <title>Vaghela vs Vaghela in Kapadvanj</title>
    <link>http://www.rediff.com/rss/redirect.php?url=http://www.rediff.com/election/2004/apr/10guj1.htm</link>
    <description>Of the seven assembly segments in the constituency, four are with the BJP and the rest with the Congress. So, whichever way you look at it, it is going to be a contest of equals.</description>
    </item>
    <item>
    <title>Paes/Bhupathi give India 2-1 lead</title>
    <link>http://www.rediff.com/rss/redirect.php?url=http://www.rediff.com/sports/2004/apr/10doubles.htm</link>
    <description>The ace doubles pair beat Thomas Shimada and Takahiro Terachi in the doubles rubber of the Davis Cup Asia/Oceania Group I tie.</description>
    </item>
    <item>
    <title>On the road to peace, a dream bloodied</title>
    <link>http://www.rediff.com/rss/redirect.php?url=http://www.rediff.com/news/2004/apr/10uri.htm</link>
    <description>Just a few days back the prospects of the Srinagar-Muzzafarabad road reopening had looked bright.</description>
    </item>
    </channel>
    </rss>

  • APD failure due to MDX Parser starting issue

    Hello,
    As part of BW on HANA migration, we have recently migrated Dev system to HANA database and during testing we have issue for one of the APD's
    which when triggered failed with the below error messages: Error occurred when starting the parser:timeout during allocate / CPIC- CALL: 'ThSAPCMRCV' Syntax error in MDX statement Termination: Error when executing the query Processing was canceled And the RFC connection for MDX PARSER was also failing. Subsequently, basis implemented the SAP Note 1032461 - MDX parser does not start. Which resolved the issue with the RFC connection. However, the APD is still failing. The error message we get is as below for the same: Error occurred when starting the parser: Function RRTS_PARSE_MDX is not available Syntax error in MDX statement Termination: Error when executing the query Processing was canceled. Request your help on the same.
    Most of the SDN forums on this topic advised on the SAP Note 1032461. However, despite implementing the same note our basis team couldn't succeed in resolving the issue. Thank you!

    Hi Meduru Avinash,
    As you rightly told, most of the time note 1032461 is referred to solve this issue.
    Some where I have read that we need to refer 638701 also,
    like adding gw/cpic_timeout in your system, if it is not available.
    BR
    Prabhith

  • Parsing URL issue

    **** WARNING ADULT RELATED LINKS ON THIS ISSUE ****
    I am having an issue with Firefox parsing part of the URL.
    Example: http://trial.jenndoll.com/bonus.php?fc=2
    Firefox is parsing away the ?fc=2 from the above URL. I have tested other browser and this functions properly.

    Did you ever find a way to provision a resource using SPML?
    I'm facing the same problem at the moment..
    Regards,
    Tine

  • Unattend.xml parsing/merging issue with SCVMM 2012 R2

    Hi all
    I have a problem with a new install of SCVMM 2012 R2. I have created templates for 2008 R2, 2012 and 2012 R2. I have an issue with the unattend.xml losing some of its configuration when the 2012 and 2012 R2 templates are built, this issue however doesn't
    occur on a 2008 R2 template build.
    I have generated unattend.xml files for all 3 OS's using System Image Manager in the latest AIK using the original install.wim from each OS media.
    In the unattend.xml file I have specified language settings, and a few other bits but the issue I have is when I configure autologon with local admin and password. I specify a logon count of 1, I also specify a GUIRunOnce command in SCVMM and not the answerfile.
    The problem is the resulting merged unattend.xml has a logon count of 999 and no GUIRunOnce command. I have tried different variations where I specify GUIRunOnce in the xml and not SCVMM, applying the autologon to the Template or Guest OS profile and
    all end with the resulting xml with logon count of 999 and no GUIRunOnce. If I remove the autologon part then GUIRunOnce gets parsed and works correctly.
    As mentioned this only happens with Server 2012 and 2012 R2, 2008 R2 works correctly.
    Any ideas?

    Hi Kevin
    I am struggling with the same thing during bare metal installs of Hyper-V hosts. In my case I have managed to narrow it down to the language settings in the oobe pass. If I include them, parsing of the unattend file halts (without an explicit error anywhere)
    and the host fails to join the domain. Could you try to leave out the language settings in oobe pass and see if it then completes as expected? Would be interesting to see if it actually is the same issue with a slightly different flavour :)
    EDIT: Got a bit further now with the new release of WS2012 R2. All the testing I've done has been with the 05182 build. Stumbled across KB2913316 which stated that a new build (31419) was released december 11th. Allthough the KB does not directly apply to our
    issue I thought I'd give it a go, so I went about building a new vhdx-image. Low and behold - the first test went smoothly applying all the settings in the unattend file! I'm going to continue testing to make sure the successful run wasn't just a fluke.

  • Need help Loading parsed RSS text

    Hi, I have created an AS3 FLA where I am parsing and
    displaying RSS text. I have traced the parsed text and displayed
    the text into dynamic text boxes on the stage no problem.
    However the line breaks in the traced text show up on stage
    as well.
    How does one strip out the <p> or </r> tags from
    the text to make the text one nice long line that will wrap using
    the length of the text box as it's parameters?

    OK, I have found the answer, thanks all.
    var myvar:String = myDynamicText.text;
    myDynamicText.text = myvar.split("\r").join(" ");
    myDynamicText.text = myDynamicText.text.split("\n").join("

  • How to parse RSS

    I want to write a litte program so that it subtracts the tilte and contents of an RSS feed out to a text file. Since RSS is a type of XML file, I think there must be an API for parsing it. However, after I got to this site, I found that there are so many things that I have never heard of, so I don't know where to start.
    Could anybody tell me which API should I use or at least where to start?
    Thank you very much!

    Hey i need to know exactly what you posted so if you get any info will you let me no thanks

  • Simple help with RSS issues

    so I made a podcast in garageband, published it using iweb and have submitted it to itunes. Here is my issue. when itunes gives me the breakdown of my rss, I have no picture and the name of my podcast is the generic MUSIC PODCAST. I have looked all over and cannot figure out how to add a picture and change the name of my podcast. help please.

    so I made a podcast in garageband, published it using iweb and have submitted it to itunes. Here is my issue. when itunes gives me the breakdown of my rss, I have no picture and the name of my podcast is the generic MUSIC PODCAST. I have looked all over and cannot figure out how to add a picture and change the name of my podcast. help please.

  • Ktorrent doesn't parse rss

    I want to use an RSS feed URL to automatize download using ktorrent. It works perfectly in my laptop with Kubuntu and it worked also in my system before I did a fresh install of Arch last days.
    I'm getting this error when I try to update my RSS URL
    dom mar 22 11:11:45 2015: Failed to load feed http://XXXXXXX/rss.php?user_id=XXXXX: Error de recepción desconocido
    dom mar 22 11:11:45 2015: Error happened during parsing : Unknown DHT rpc call (transaction id = Ë)
    Log of ktorrent:
    dom mar 22 10:53:43 2015: Qt Debug: ktorrent(5123)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/ktmagnetgeneratorplugin.so" does not offer a qt_plugin_instance function.
    dom mar 22 10:53:43 2015: Qt Debug: ktorrent(5123)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/ktdownloadorderplugin.so" does not offer a qt_plugin_instance function.
    dom mar 22 10:53:43 2015: Qt Debug: ktorrent(5123)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/ktscanfolderplugin.so" does not offer a qt_plugin_instance function.
    dom mar 22 10:53:43 2015: Qt Debug: ktorrent(5123)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/ktinfowidgetplugin.so" does not offer a qt_plugin_instance function.
    Akregator, a RSS reader, works if I add any other RSS but if I add the same as in transmission, it gives the same error. But what it's awkward is that in my laptop with Kubuntu, the same RSS source works.
    Could it be some missing packages? Any ideas??
    Edit: more info
    Last edited by doblerone (2015-03-22 12:36:24)

    I want to use an RSS feed URL to automatize download using ktorrent. It works perfectly in my laptop with Kubuntu and it worked also in my system before I did a fresh install of Arch last days.
    I'm getting this error when I try to update my RSS URL
    dom mar 22 11:11:45 2015: Failed to load feed http://XXXXXXX/rss.php?user_id=XXXXX: Error de recepción desconocido
    dom mar 22 11:11:45 2015: Error happened during parsing : Unknown DHT rpc call (transaction id = Ë)
    Log of ktorrent:
    dom mar 22 10:53:43 2015: Qt Debug: ktorrent(5123)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/ktmagnetgeneratorplugin.so" does not offer a qt_plugin_instance function.
    dom mar 22 10:53:43 2015: Qt Debug: ktorrent(5123)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/ktdownloadorderplugin.so" does not offer a qt_plugin_instance function.
    dom mar 22 10:53:43 2015: Qt Debug: ktorrent(5123)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/ktscanfolderplugin.so" does not offer a qt_plugin_instance function.
    dom mar 22 10:53:43 2015: Qt Debug: ktorrent(5123)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/ktinfowidgetplugin.so" does not offer a qt_plugin_instance function.
    Akregator, a RSS reader, works if I add any other RSS but if I add the same as in transmission, it gives the same error. But what it's awkward is that in my laptop with Kubuntu, the same RSS source works.
    Could it be some missing packages? Any ideas??
    Edit: more info
    Last edited by doblerone (2015-03-22 12:36:24)

  • URGENT:  javax.xml.parsers.DocumentBuilder.parse() method issue

    Hi folks,
    I have an urgent parsing problem. I developed an app with JDK1.4 and now it needs to run on JDK1.3.1. The problem is this:
    If I use the DocumentBuilder.parse() method shipped with JDK1.4 it will parse a document containing namespaces WITHOUT a namespace declaration in the root element. However, since XML support doesn't ship with JDK1.3.1 I need to use JAXP. If I try this with the DocumentBuilder.parse() version shipped with JAXP (latest version) the parse method throws a NullPointerException. If I put the namespace declaration in the document it will parse fine. I tried setting the DocumentBuilderFactory.setNamespaceAware() explicitly to false (should be the default) but no luck. Any ideas other than adding the declaration (long story why I don't want it there...)
    thanks

    example, with declaration of namespace:
    <?xml version="1.0" encoding="UTF-8"?>
    <pre:root xmlns:inn="http://blablabla/inn/version/1.0/">
    <pre:metadata>
    <pre:dublin-core>
    <pre:title>mytitle</pre:title>
    <pre:description>mydesc</pre:description>
    <pre:creator>bjmann</pre:creator>
    </inn:dublin-core>
    </pre:root>
    example, without declaration:
    <?xml version="1.0" encoding="UTF-8"?>
    <pre:root>
    <pre:metadata>
    <pre:dublin-core>
    <pre:title>mytitle</pre:title>
    <pre:description>mydesc</pre:description>
    <pre:creator>bjmann</pre:creator>
    </inn:dublin-core>
    </pre:root>
    this may help...

  • IWeb RSS Issues. Help!!!

    Using iWeb 09 I have fed a blog through to a page using the RSS Widget. It shows correctly on the page but on clicking on the entry the address it takes me to isn't correct. Unfortunately it's a passworded site so I can't provide links.
    The Blog is at:  http://www.(mywebsite)/Blog/Blog/Blog/Blog.html
    The Link from the blog entry fed to my web page takes me to:
    http://www.(mywebsite)/Blog/Blog/Blog.html
    What have I done wrong??

    I'm a bit new to this but if I take it back one folder it doesn't show in the widget. Any thoughts?

  • RSS issue with OS X Maverick

    WHen the update was complete, all of the RSS feeds that I subscribe to no longer appear in the left column in Mail. And when I try to subscribe to a feed on a website I get an error message: "No associated application could be found."
    Please help

    Mavericks has changed the way RSS-like items are handled.
    See "Updates from Websites" here:
    http://www.apple.com/osx/whats-new/#notifications
    That's great, but I don't see how to get the RSS feeds in Notification Center. I apologize if this is obvious, but I can't get it to work.

  • How to parse RSS Feed - Different URL for each button

    I'm making an app with AS3 and I want to be able to load a different RSS Feed when the user clicks on each button. This is the code I have so far, has anyone any idea how I can modify my code to do this?
    here's my code so far:
    //IMPORT CLASSES
    import fl.controls.List;
    import flash.net.URLLoader;
    import flash.events.Event;
    import flash.net.URLRequest;
    cGOSSIP.addEventListener(MouseEvent.CLICK, doClick);
    function doClick (e:MouseEvent):void
    cGOSSIP.gotoAndStop ("GOSSIP"); 
    wNEWS.addEventListener(MouseEvent.CLICK, doClick2);
    function doClick2 (e: MouseEvent):void
              wNEWS.gotoAndStop ("WORLD NEWS");
    eNEWS.addEventListener(MouseEvent.CLICK, doClick3);
    function doClick3 (e: MouseEvent):void
              eNEWS.gotoAndStop ("ENT NEWS");
    fbNEWS.addEventListener(MouseEvent.CLICK, doClick4);
    function doClick4 (e: MouseEvent):void
              fbNEWS.gotoAndStop ("FB NEWS");
    //NEWSLIST FORMATTING
    var newsListTf:TextFormat = new TextFormat();
    newsListTf.font = "Verdana";
    newsListTf.color = 0xFFFFFF;
    newsListTf.size = 18;
    newsListTf.align = "left";
    newsList.setRendererStyle("textFormat", newsListTf);
    newsList.rowHeight = 100;
    newsList.allowMultipleSelection = false;
    //newsList.wordWrap = true;
    //NEWSDISPLAY TEXT AREA FORMATTING
    var rssStoryTf:TextFormat = new TextFormat();
    rssStoryTf.font = "Verdana";
    rssStoryTf.color = 0x6699CC;
    rssStoryTf.size = 22;
    rssStoryTf.align = "left";
    rssStory.setStyle("textFormat", rssStoryTf);
    //READMORE BUTTON FORMATTING
    var buttonTf:TextFormat = new TextFormat();
    buttonTf.font = "Verdana";
    buttonTf.color = 0xFFFFFF;
    buttonTf.size = 22;
    btn_ReadMore.setStyle("textFormat", buttonTf);
    //RSS FEED
    var rssLoader:URLLoader = new URLLoader();
    var rssURL:URLRequest = new URLRequest
    ("http://rssfeeds.tv.adobe.com/adobe-higher-education-solutions.xml");
    rssLoader.addEventListener(Event.COMPLETE, rssLoaded);
    newsList.addEventListener(Event.CHANGE, selectRssStory);
    btn_ReadMore.addEventListener(MouseEvent.CLICK, goToURL);
    rssLoader.load(rssURL);
    var newsXML:XML = new XML();
    var currentStoryURL:URLRequest = new URLRequest();
    newsXML.ignoreWhitespace = true;
    function rssLoaded(evt:Event):void
    newsXML = new XML(rssLoader.data);
    //trace(newsXML);
    for(var item:String in newsXML.channel.item) {
    //newsList.addItem({label: newsXML.channel.item[item].pubDate.substr(0, 16)
    //+": " + newsXML.channel.item[item].title } );
    newsList.addItem({label: newsXML.channel.item[item].title.substr(0, 40)
    +" ..." } );
    newsList.selectedIndex = 0;
    //FIRST LOAD
    currentStoryURL = new URLRequest(newsXML.channel.item[0].link);
    rssStory.htmlText = newsXML.channel.item[0].description;
    function selectRssStory(evt:Event):void
    rssStory.htmlText = newsXML.channel.item[evt.target.selectedIndex ].description;
    currentStoryURL = new URLRequest(newsXML.channel.item[evt.target.selectedIndex
    ].link);
    function goToURL(event:MouseEvent):void
    navigateToURL(currentStoryURL);

    I copied the wrong code, it works and loads the feed but I have a number of buttons in the main menu and I want to be able to load a different rss feed for each button?
    Here's the code.
    btn_Home.addEventListener(MouseEvent.CLICK, clickHome);
    function clickHome(e:MouseEvent):void
              gotoAndStop ("START");
    //NEWSLIST FORMATTING
    var newsListTf:TextFormat = new TextFormat();
    newsListTf.font = "Verdana";
    newsListTf.color = 339999;
    newsListTf.size = 18;
    newsListTf.align = "left";
    newsList.setRendererStyle("textFormat", newsListTf);
    newsList.rowHeight = 100;
    newsList.allowMultipleSelection = false;
    //newsList.wordWrap = true;
    //NEWSDISPLAY TEXT AREA FORMATTING
    var rssStoryTf:TextFormat = new TextFormat();
    rssStoryTf.font = "Verdana";
    rssStoryTf.color = 0x6699CC;
    rssStoryTf.size = 22;
    rssStoryTf.align = "left";
    rssStory.setStyle("textFormat", rssStoryTf);
    //READMORE BUTTON FORMATTING
    var buttonTf:TextFormat = new TextFormat();
    buttonTf.font = "Verdana";
    buttonTf.color = 0xFFFFFF;
    buttonTf.size = 22
    btn_ReadMore.setStyle("textFormat", buttonTf);
    //RSS FEED
    var rssLoader:URLLoader = new URLLoader();
    var rssURL:URLRequest = new URLRequest
    ("http://www.tmz.com/rss.xml");
    rssLoader.addEventListener(Event.COMPLETE, rssLoaded);
    newsList.addEventListener(Event.CHANGE, selectRssStory);
    btn_ReadMore.addEventListener(MouseEvent.CLICK, goToURL);
    rssLoader.load(rssURL);
    var newsXML:XML = new XML();
    var currentStoryURL:URLRequest = new URLRequest();
    newsXML.ignoreWhitespace = true;
    function rssLoaded(evt:Event):void
    newsXML = new XML(rssLoader.data);
    //trace(newsXML);
    for(var item:String in newsXML.channel.item) {
    //newsList.addItem({label: newsXML.channel.item[item].pubDate.substr(0, 16)
    //+": " + newsXML.channel.item[item].title } );
    newsList.addItem({label: newsXML.channel.item[item].title.substr(0, 40)
    +" ..." } );
    newsList.selectedIndex = 0;
    //FIRST LOAD
    currentStoryURL = new URLRequest(newsXML.channel.item[0].link);
    rssStory.htmlText = newsXML.channel.item[0].description;
    function selectRssStory(evt:Event):void
    rssStory.htmlText = newsXML.channel.item[evt.target.selectedIndex ].description;
    currentStoryURL = new URLRequest(newsXML.channel.item[evt.target.selectedIndex
    ].link);
    function goToURL(event:MouseEvent):void
    navigateToURL(currentStoryURL);

Maybe you are looking for

  • Use of existing database

    I have a database created on disk1 disk2 disk3. I detach the disks from the original server and attach them to a second server. I want to install the DB software on this server, but use the existing database. I tried to install with the option "softw

  • Runtime error r6034 when try to open itunes

    How do I fix runtime error r6034?

  • Can't acces ipod shuffle

    from my mac. I have a 2. generation shuffle, that doens't show in iTunes, nor in the general unit in finder. I'm however able to see the unit in "about this mac" I Use, Mac OS X ver. 10.5.8 on an older mac with 2.4 Ghz Intel Core 2 Duo processor. So

  • Macbook suddenly dies/mouse pad not working

    Hi everyone, I've become extremely worried about my macbook lately. I rely on it on a daily basis for work. Last night my Macbook suddenly died on me. I was working and all of a sudden the screen turned off and the fans stopped. I thought the battery

  • A special scenario for purchasing....

    Dear Friends,   I am working on a particular scenario, but unable to solve. Please guide me on solving it.    A sales order is raised for a particular material, since the material is not available a purchase requisition is generated. Now with respect