Rss Feeds XML Parsing

Hi,
I'm working on the example on Rss Feed which needs to integrated to our website.Hence below link i'm using for my reference purpose.
http://www.vogella.com/articles/RSSFeed/article.html
When i run the program the below exception is displayed.
Please do the needful.Thanks in advance
Exception in thread "main" java.lang.RuntimeException: java.net.ConnectException: Connection timed out: connect
     at de.vogella.rss.RSSFeedParser.read(RSSFeedParser.java:146)
     at de.vogella.rss.RSSFeedParser.readFeed(RSSFeedParser.java:61)
     at de.vogella.rss.ReadTest.main(ReadTest.java:13)
Caused by: java.net.ConnectException: Connection timed out: connect
     at java.net.PlainSocketImpl.socketConnect(Native Method)
     at java.net.PlainSocketImpl.doConnect(Unknown Source)
     at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
     at java.net.PlainSocketImpl.connect(Unknown Source)
     at java.net.SocksSocketImpl.connect(Unknown Source)
     at java.net.Socket.connect(Unknown Source)
     at java.net.Socket.connect(Unknown Source)
     at sun.net.NetworkClient.doConnect(Unknown Source)
     at sun.net.www.http.HttpClient.openServer(Unknown Source)
     at sun.net.www.http.HttpClient.openServer(Unknown Source)
     at sun.net.www.http.HttpClient.<init>(Unknown Source)
     at sun.net.www.http.HttpClient.New(Unknown Source)
     at sun.net.www.http.HttpClient.New(Unknown Source)
     at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
     at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
     at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
     at java.net.URL.openStream(Unknown Source)
     at de.vogella.rss.RSSFeedParser.read(RSSFeedParser.java:144)
     ... 2 more

Hi,
I'm working on the example on Rss Feed which needs to integrated to our website.Hence below link i'm using for my reference purpose.
http://www.vogella.com/articles/RSSFeed/article.html
When i run the program the below exception is displayed.
Please do the needful.Thanks in advance
Exception in thread "main" java.lang.RuntimeException: java.net.ConnectException: Connection timed out: connect
     at de.vogella.rss.RSSFeedParser.read(RSSFeedParser.java:146)
     at de.vogella.rss.RSSFeedParser.readFeed(RSSFeedParser.java:61)
     at de.vogella.rss.ReadTest.main(ReadTest.java:13)
Caused by: java.net.ConnectException: Connection timed out: connect
     at java.net.PlainSocketImpl.socketConnect(Native Method)
     at java.net.PlainSocketImpl.doConnect(Unknown Source)
     at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
     at java.net.PlainSocketImpl.connect(Unknown Source)
     at java.net.SocksSocketImpl.connect(Unknown Source)
     at java.net.Socket.connect(Unknown Source)
     at java.net.Socket.connect(Unknown Source)
     at sun.net.NetworkClient.doConnect(Unknown Source)
     at sun.net.www.http.HttpClient.openServer(Unknown Source)
     at sun.net.www.http.HttpClient.openServer(Unknown Source)
     at sun.net.www.http.HttpClient.<init>(Unknown Source)
     at sun.net.www.http.HttpClient.New(Unknown Source)
     at sun.net.www.http.HttpClient.New(Unknown Source)
     at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
     at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
     at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
     at java.net.URL.openStream(Unknown Source)
     at de.vogella.rss.RSSFeedParser.read(RSSFeedParser.java:144)
     ... 2 more

Similar Messages

  • AS3 RSS FEED XML Namespace

    AS3 - FLASH 10
    Hello,
    I'm having some trouble understanding how can I access a tag in a xml RSS Feed 2 format. Some tags have, what I think to be, namespaces that just ignore my request when accessing such tag. Here is an example:
    // XML LOADED
    <rss>
    <channel>
    <item>
        <title>POST TITLE</title>
        <link>http://domain.org/blog/2009/08/post-name/</link>
        <comments>http://domain.org/blog/2009/08/post-name/#comments</comments>
        <pubDate>Mon, 31 Aug 2009 21:39:40 +0000</pubDate>
        <dc:creator>admin</dc:creator>
        <category><![CDATA[CATEGORY]]></category>
        <category><![CDATA[CATEGORY]]></category>
        <guid isPermaLink="false">http://domain.org/blog/?p=3</guid>
        <description><![CDATA[DATA[...]]]></description>
        <content:encoded><![CDATA[DATA]]></content:encoded>
        <wfw:commentRss>http://domain.org/blog/2009/08/post-name/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>
    </item>
    </channel>
    </rss>
    // FLASH CODE
    trace ( xml.channel.item.title ) // Output POST TITLE
    trace ( xml.channel.item.content ) // Output undefined or “”
    … same for wfw and slash tags.
    Any help?
    Regards

    One of the ways is to use regular expressions and replace all the unwanted namespaces with pure tags:
    1. Get the xml data as string:
    var xmlString:String = [write the data here]
    2. Pattern for the tags with namespaces is something like this:
    var exp:RegExp = /<\\|(\w+):(\w+)>/gi;
    3. This is just to demostrate what it outputs: - is not needed in the final code
    var tagsArray:Array = xmlString.match(exp);
    var currentOccurance:Array;
    for (var i:int = 0; i < tagsArray.length; i++) {
         currentOccurance = tagsArray[i].split(":");
         trace("left = " + currentOccurance[0] + "; right = " + currentOccurance[1]);
    It outputs something like this:
    left = content; right = encoded>
    left = content; right = encoded>
    left = wfw; right = commentRss>
    left = wfw; right = commentRss>
    left = slash; right = comments>
    left = slash; right = comments>
    4. Depending on what side you want to use in the final tag:
    a. If left:
    xmlString = xmlString.replace(exp, "$1");
    It will make the following changes:
    From:
    <content:encoded>....</content:encoded>
    <wfw:commentRss>...</wfw:commentRss>
    To:
    <content>....</content>
    <wfw>...</wfw>
    b. if right:
    xmlString = xmlString.replace(exp, "$2>");
    It will make the following changes:
    To
    <encoded>....</encoded>
    <commentRss>...</commentRss>
    The final code is actually 4 lines only (assuming you use complete event):
    var xmlString:String = e.target.data;
    var exp:RegExp = /<\\|(\w+):(\w+)>/gi;
    xmlString = xmlString.replace(exp, "$1");
    var myXML:XML = new XML(xmlString);
    Viola! You can parse xml regular way.

  • RSS Feed XML iView Suffix

    Hi,
    we created a XML iView for a RSS Input. Out problem is, if the rss - feed ends upon .xml everything work fine. Unfortunatly our RSS - feed URL does not end with .xml and so the iView produces only an error message.
    Does anyone know how to configure the iView to run without the xml suffix? (We are not able to manipulate the RSS feed)
    Greetings

    sorry bur i don't know!
    Edited by: ludovic roux on Apr 3, 2008 2:23 PM

  • Rss feed, xml, dreamweaver and updating newsletters

    Hello
    Ok.. tell me if I'm wrong but I am under the impression that
    somehow I can subscribe to an RSS Feed or download an xml current
    news story almost straight into an HTML(ASP, COLD FUSION?) file(s)
    and upload to my companies FTP to give our customers a current
    customized newsletter.. is this so? is it a spry data set type
    importing thing? My company is looking for me to streamline the was
    we process new news stories..
    Thanks
    Rob

    sorry bur i don't know!
    Edited by: ludovic roux on Apr 3, 2008 2:23 PM

  • I figured out the XML RSS feed to webpage but..

    Hello All
    I finally figured out how to get and rss feed xml to my
    webpage(s) via the Spry xml data set etc.. when I previewed in IE
    it was fine but I uploaded it and I get an error
    The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct
    the error and then click the Refresh button, or try again later.
    Only one top level element is allowed in an XML document.
    Error processing resource '
    http://www.michaelsondesign.com/Spry/r...
    I just want to show my boss that I have been working on this
    and would love to show him an example of this awesome technology is
    there something Im not uploading? What does this error mean?
    Thank you
    Rob

    Hi,
    I am trying to display an RSS feed on my website as well. I
    haven't figured it out.
    Can you help?
    Thanks,
    H.J.D.
    [email protected]

  • Need help generating an rss feed via jsp

    this is ridiculous, but i cannot get my jsp to generate rss feed code. i am querying my database for stories, then displaying the various fields within the rss xml codes. the page either refuses to load altogether or displays the content as one run-on sentence (i.e., without the xml codes). i'd prefer most of all to have a nice xml-look-and-feel display to show up in my browser, but i can live without it as long as someone hitting the url of my page can get the rss feed to parse. however, the page generally just refuses to load anything.
    if anyone has any input or suggestions, i'd greatly appreciate it. i've done countless searches here and web-wide with no results. i get lots of help on parsing (which is a cakewalk as far as i'm concerned compared to this stupid stupid display problem).
    here's my jsp (and please no flames about separating out business logic and presentation code):
    -------------code-----------------------
    <%@ page language="java" import="java.sql.*" %>
    <%@ include file="/lib/connectionOpen.jsp" %>
    <%@ include file="/lib/getDateNow.jsp" %>
    <%
    int itemId = 0;
    String baseUrl = "http://www.mysite.com/editorial/news.jsp?", headline = "", itemText = "", itemDate = "", itemLink = "";
    // getDateNow.jsp sets Calendar calendar and java.util.Date rightNow
    java.util.Date createDate = new java.util.Date();
    SimpleDateFormat pubDateFormat = new SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss Z");
    %>
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <rss version="2.0">
         <channel>
              <title>Recent Updates</title>
              <link>http://www.mysite.com</link>
              <description>Latest updates from mysite.com</description>
              <language>en-us</language>
              <copyright>Copyright ?2003-2004 MySite, LLC</copyright>
              <pubDate><%= pubDateFormat.format(new java.util.Date()) %></pubDate>
              <category>Reviews</category>
              <image>
                   <url>http://www.mysite.com/images/logo.gif</url>
                   <link>http://www.mysite.com/</link>
                   <title>MySite.com</title>
                   <width>144</width>
                   <height>25</height>
              </image>
    <%-- /* end header stuff */ --%>
    <%
    try {
         stmt_ = conn_.prepareCall("{Call get_rss_items_for_feed }");
         result_ = stmt_.executeQuery();
         while (result_.next()) {
              itemId = result_.getInt("item_id");
              headline = result_.getString("headline");
              itemText = result_.getString("item_text").trim();
              createDate = result_.getDate("create_date");
              itemLink = baseUrl + "item_day=" + createDate + "&item_id=" + itemId;
    %>
              <item>
                   <title><%= headline %></title>
                   <link><%= itemLink %></link>
                   <description><%= itemText %></description>
                   <guid><%= itemLink %></guid>
                   <pubDate><%= pubDateFormat.format(createDate) %></pubDate>
              </item>
    <%
              lastCreateDate = createDate;
         result_.close();
         stmt_.close();
    %>
         </channel>
    </rss>
    <%
    } catch (Exception e) {
         java.io.ByteArrayOutputStream bytes = new java.io.ByteArrayOutputStream();
         java.io.PrintWriter writer = new java.io.PrintWriter(bytes, true);
         e.printStackTrace(writer);
         out.println("<pre>" + bytes.toString() + "</pre>");
    } finally { %>
    <%@ include file="/lib/connectionClose.jsp" %>
    <% } %>

    I will presume you are generating valid xml. What happens if you view source, save it as an xml file, and then try and open it? Is it valid?
    Try this at the top of your page.
    <%@ page contentType="text/xml" %>
    That may help the browser understand that you are sending it xml.
    I dunno - I had mixed results with my little experiment here - IE didn't even try to load it sometimes.
    Good luck,
    evnafets

  • The system Pages library and its RSS feed do not work properly in SharePoint 2010

    This question is about RSS feed for the system 'Pages' library in SharePoint 2010.
    Now there are 5 'News' pages in the system 'Pages' library. In each news page there is one field called 'Title' for the news title. One of the news page is named 'FileNamePage5.aspx', and the news title is 'This is the title of page5'.
    I have enabled RSS in Site Settings, and configured RSS Settings for the 'Pages' library from the Communications section via Document Library Settings. I selected a few columns to display in the RSS description, including the 'Title' column. In the RSS feed
    (XML file) of the system 'Pages' library, I checked the XML source code, and found the news page file name appearing in the <title> tag below within the feed (XML source code).
     <title>FileNamePage5</title>
    and the original news title 'This is the title of page5' was appearing in the <description> tag in the feed (XML sorce code)
     <description><![CDATA[<div> ... This is the title of page5... </div>]]></description>.
    This would make it hard to extract ONLY the original news title (This is the title of page5) out of the feed via XSLT, because the data within the <description> tag in the feed also contains data from all other selected columns defined via the RSS
    Setting. If I did not select the 'Title' column via RSS Setting above, I even could not find the orinigal news title in the RSS feed.
    This is happening for all other news pages in the system 'Pages' library. Is this what SharePoint 2010 normally does? or is something wrong with the settings for site or the system 'Pages' library?
    How to display ONLY the original news title (This is the title of page5) in the <title> tag in the RSS feed. Please Help me to resolve this issue.
    谢亚军@Sydney

    Hi,
    According to your description, my understanding is that you want to display the value in Title column of Pages library in title tag in RSS Feed in SharePoint.
    I tested the same scenario per your post, the title tag in RSS Feed displayed the value of Name column in libraries and displayed the value of Title column in lists.
    It is by design and there is no OOB way to change the default column mapping in RSS Feed.
    I recommend to customize your own RSS Feed style sheet to make the title displays the value of Title column in SharePoint libraries.
    Here is a link about customizing the RSS Feed for document library for you to take a look:
    http://markeev.com/Articles/sharepoint-blog-rss.aspx
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • RSS Feed on Apex

    Does anyone know how to show an RSS feed in APEX ? I have seen examples showing shredded items in a report. I want to show the RSS Feed XML as you can see at this link:
    http://www.oracle.com/rss/rss_ocom_pr.xml (try the link with Firefox and not with IE)
    Anything I do in Apex, it shows as text stripping XML tags.

    First, there's a setting in the report attributes to enable / disable HTML tags in your report.
    Second, I'm not sure what you're trying to achieve is going to work. I believe (but have not tried) that browsers such as Firefox will render complete XML files, such as an RSS feed, with a default stylesheet. I don't think they'll render XML that is part of and HTML document. IMHO, you should confirm this, perhaps with a simple HTML file with some embedded XML before you start writing a bunch of SQL / PL/SQL to test this.
    Third, what is your end goal? If users need a particular browser render this feed, are you perhaps expecting too much of your end users?
    Tyler

  • 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;
    }

  • How to create an XML/RSS feed from a SQL recordset?

    I've been trying to find either a tutorial or extension that will allow me to take a SQL recordset, and create my RSS feed on the fly.  Not having much luck... anyone out there have a suggestion??

    Thanks PC!
    I made it work using:
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    DocumentBuilder builder = factory.newDocumentBuilder();
    factory.setIgnoringComments(true); // We want to ignore comments
    // Now use the factory to create a DOM parser
    DocumentBuilder parser = factory.newDocumentBuilder();
    //TransformThisStringBuffer is a string buffer wich contain the 'XML document (String)'
    InputStream in = new ByteArrayInputStream(TransformThisStringBuffer.toString().getBytes());
    // Parse the InputStream and build the document
    Document document = parser.parse(in);
    But which one is faster InputSource or InputStream, were would you put the "new InputSource(new StringReader(yourString))" in the above code?

  • RSS - Rolling News - XML Parsing - Accessing KM...

    Hello everyone! I am trying to make an iview wich shows rolling news through RSS Feeds, and filtering its content with XLS.
    I´ve downloaded an example "Simple XML Parsing iview" and uploaded it into the portal. The thing is that the iview is quite limited because the XSL file has to be in the internet; but i need to have de XLS in the KM, i mean, i need the iview to accept paths like :
    http://suarbulpd1d01:50100/irj/go/km/docs/documents/DocumentosPortal/RecursosPortal/Varios/rss-html.xsl
    Don´t know how could i modify the code to so i can achieve this.. here it goes:
    package com.portalsamples.simplexml;
    import java.io.*;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.Source;
    import javax.xml.transform.stream.StreamSource;
    import javax.xml.transform.stream.StreamResult;
    import com.sapportals.portal.prt.component.*;
    public class simplexsl extends AbstractPortalComponent
         public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
              IPortalComponentProfile profile = request.getComponentContext().getProfile();
              Writer out = response.getWriter();
               try
                 //Creates an instance of the transformer
                 TransformerFactory tFactory = TransformerFactory.newInstance();
                 //Pulls XMLSource and XSLSource from the iView Profile
                 Source xmlSource = new StreamSource(profile.getProperty("xmlsource"));
                 Source xslSource = new StreamSource(profile.getProperty("xslsource"));
                 response.write(xslSource.toString());
                 Transformer transformer = tFactory.newTransformer(xslSource);
                 //Places resulting HTML into the response
                   transformer.transform(xmlSource, new StreamResult(out));
               catch (Exception e)
                 response.write(e.getMessage());
    Any help will be rewarded...
    Regards, Marco.

    Hello, this is my new code; although it is limited to only accessing xsl files inside the par, it works perfectly. If you want the complete par for rolling news, my mail is [email protected] .
         public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
              IPortalComponentProfile profile = request.getComponentContext().getProfile();
              Writer out = response.getWriter();
                   try
                    TransformerFactory tFactory = TransformerFactory.newInstance();
                    //Pulls XMLSource and XSLSource from the iView Profile
                    Source xmlSource = new StreamSource(profile.getProperty("xmlsource"));
                   String location= request.getPublicResourcePath()+"/xsl/"+profile.getProperty("xslsource");
                         File f = new File(location);
                    Source XSLSou = new StreamSource(f);
                    Transformer transformer = tFactory.newTransformer(XSLSou);
                   transformer.transform(xmlSource, new StreamResult(out));
                    catch (Exception e)
                     response.write(e.getMessage());
    Greetings,
    Marco.

  • Blogger RSS feed parser tool

    Hello everyone,
    Is there any j2ee RSS parsing Utility for reading Blogger feeds? The one I could find in the site
    http://java.sun.com/developer/technicalArticles/javaserverpages/rss_utilities/
    is not parsing all the blogger feed elements. The tld has just a few element tags such as title, url, buildDate. I want to parse all the elements available in blogger feeds. The list of available rss feed elements for blogger is here:
    http://help.blogger.com/bin/answer.py?hl=en&answer=47270
    Thanks

    you can use a double dot ( .. ) to jump anywhere in your xml.  for example,
    myXm..link[4]
    should reference <link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/990363500266599125/posts/default?start-in dex=26&max-results=25"/>

  • RSS feed: Invalid XML

    Hello everyone.
    I want to submit my podcast to iTunes, but I have a problem with the XML file.
    Feed Validator said to me:
    Sorry
    This feed does not validate.
    line 1, column 0: XML parsing error: <unknown>:1:0: not well-formed (invalid token) [help]{\rtf1\ansi\ansicpg1252\deff0\deflang1036{\fonttbl{\f0\fswiss\fprq2\fcharset ...
    Source: http://*********/RSS.xml
    {\rtf1\ansi\ansicpg1252\deff0\deflang1036{\fonttbl{\f0\fswiss\fprq2\fcharset0 Verdana;}{\f1\fnil\fcharset0 Calibri;}}
    {\colortbl ;\red68\green68\blue68;}
    For more details, here is the XML file.
    I really hope you guys well be able to help me.

    You appear to have created your feed in a word processing program: it's full of formatting codes such as \par, and the opening couple of lines are full of garbage: the required xml declaration is missing.
    This page includes a sample basic feed so you can see what one should look like: your feed must be plain text.
    http://rfwilmut.net/pc

  • HAVi Widget to display RSS feeds using Nanoxml parser

    I have got an assignment of developing a HAVi widget to display RSS feeds using the NanoXML parser. I am a beginner in JAVA tv concepts and is stuck with this problem on how to start!
    Can please someone help?

    Havi widgets are lightweight components. You could start by creating a Havi widget extending HComponent and overriding paint method. For the initial urpose, try using some dummy text to fill in your widget. You can later experimenting with the XML parser and query it to dislay the actual text you would want to (remember to get rid o the dummy text).

  • Download RSS feed as xml file from Sharepoint Online using PowerShell

    Hello
    Our company sharepoint (Office 365) contains also several RSS feeds.
    How it is possible to download xml file out of this feed (website) using PowerShell?
    I can authenticate with sharepoint using CSOM but do not what to do next.
    As service user is not administrator I cannot use "SPOService".
    This script works OK for standard website, but not for Sharepoint.
    $doc = New-Object System.Xml.XmlDocument
    $doc.Load("http://www.{CompanySite}.com/feed/")
    $doc.save("C:\temp\feed.xml")
    I am getting this error when using for company Sharepoint:
    "The remote server returned an error: (403) Forbidden."
    Thanks for your time considering this question.
    Jozin

    Hi Scott,
    thanks for advice.
    Combination of WebClient and Sharepoint Credentials is working OK:
    $client = New-Object System.Net.WebClient 
    $client.Credentials = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($User, $SecurePassword)
    $client.Headers.Add("X-FORMS_BASED_AUTH_ACCEPTED", "f")
    $client.DownloadFile($SiteURL, $file)

Maybe you are looking for

  • Is it possible to backup my current iphone to icloud backup from 2 years ago?

    I recently lost my boyfriend in an accident and was hoping to recover photos of him from my phone that I had in 2013. Is the data still available somewhere to be backed up to my iPhone I am using now? I am currently using an iPhone 4s and don't see a

  • Why can't I open just one of my numbers files?

    Hello, I am unable to open a rather important numbers file on my macbook pro. I can open all other numbers files but when I double click this one, it sort of "shines" as if its going to open then nothing happens. The data in it is really important an

  • Is it possible without O/E

    Is it possible to cluster FMS professional servers like you could FCS 1.5 servers or has this capability been blocked to force upgrading to an edge origin license?

  • Safari Crash what can i do? need help

    This just happened 15 min ago... i was opening the safari app when it just crash. first time that this happen...can someone help

  • Advices for database application

    hello, We looked for exising solution to manage mesuremens and devices park without finding one that fit maybe one of you know/use a good one ! so we are thinking about creating our own in few month  i will have to develop a database application with