Using Rss / Xml In Visual Basic 2008?
Can anyone please tell me how to get RSS feeds into Visual basic so i can process the Information?. Im designing a program which takes a weather forecast feed and processes the information then shows this as a Desktop background. When I try to add it as a new data source i get this message
“The document at the url http://newsrss.bbc.co.uk/weather/forecas… was not recognized as a known document type.
The error message from each known type may help you fix the problem:
- Report from ‘DISCO Document’ is ‘Discovery document at the URL http://newsrss.bbc.co.uk/weather/forecas… could not be found.’.
– The document format is not recognized.
- Report from ‘WSDL Document’ is ‘There is an error in XML document (3, 2).’.
– was not expected.
- Report from ‘XML Schema’ is ‘The root element of a W3C XML Schema should be and its namespace should be ‘http://www.w3.org/2001/XMLSchema’.’.
Metadata contains a reference that cannot be resolved: ‘http://newsrss.bbc.co.uk/weather/forecas…
The content type text/xml of the response message does not match the content type of the binding (application/soap+xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: ‘
<?xml-stylesheet type="text/xsl" href="http://feeds.bbc.co.uk/weather/fee…
<rss version="2.0" xmlns:blogChannel="http://backend.userla… xmlns:geo="http://www.w3.org/2003/01/geo… xmlns:atom="http://www.w3.org/2005/Atom"…
http://news.bbc.co.uk/weather/forecast/2…
by the BBC Weather Centre in association with the Met Office
en
Copyright: (C) British Broadcasting Corporation
Fri, 16 Oct 2009 15:10:00 +0100
Fri, 16 Oct 2009 15:10:00 +0100
weather@bbc.co.uk (BBC Weather)
weather@bbc.co.uk (BBC Weather)
If the service is defined in the current solution, try building the solution and adding the service reference again.”
Thanking you in advance
Lewis Arthurton
Related posts: