Problems downloading Atom Feed

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
3/1/2011 11:25:38 AM
Gravatar
Total Posts 72

Problems downloading Atom Feed

Hi Joe,

Are Atom feeds supported by mojoPortal's Feedmanager.

I've used the same feed for about a year on a 2.3.3.2 mojoPortal site. As of yesterday, the feed stopped working. I get the following error:

2011-03-01 16:43:05,020 ERROR mojoPortal.Web.FeedUI.FeedCache - There was a problem trying to read the feed for url http://www.vertikal.net/en/rss/news/.  Ignoring.

System.Net.WebException: The underlying connection was closed: The connection was closed unexpectedly.
   at System.Net.HttpWebRequest.GetResponse()
   at System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri, ICredentials credentials)
   at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials)
   at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
   at System.Xml.XmlTextReaderImpl.OpenStream(Uri uri)
   at System.Xml.XmlTextReaderImpl.DtdParserProxy_PushExternalSubset(String systemId, String publicId)
   at System.Xml.XmlTextReaderImpl.DtdParserProxy.System.Xml.IDtdParserAdapter.PushExternalSubset(String systemId, String publicId)
   at System.Xml.DtdParser.ParseExternalSubset()
   at System.Xml.DtdParser.ParseInDocumentDtd(Boolean saveInternalSubset)
   at System.Xml.DtdParser.Parse(Boolean saveInternalSubset)
   at System.Xml.XmlTextReaderImpl.DtdParserProxy.Parse(Boolean saveInternalSubset)
   at System.Xml.XmlTextReaderImpl.ParseDoctypeDecl()
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XPath.XPathDocument.LoadFromReader(XmlReader reader, XmlSpace space)
   at System.Xml.XPath.XPathDocument..ctor(TextReader textReader)
   at Argotic.Common.SyndicationEncodingUtility.CreateSafeNavigator(String xml)
   at Argotic.Common.SyndicationEncodingUtility.CreateSafeNavigator(Stream stream, Encoding encoding)
   at Argotic.Common.SyndicationEncodingUtility.CreateSafeNavigator(Stream stream)
   at Argotic.Common.SyndicationEncodingUtility.CreateSafeNavigator(Uri source, ICredentials credentials, IWebProxy proxy, Encoding encoding)
   at Argotic.Syndication.GenericSyndicationFeed.Load(Uri source, ICredentials credentials, IWebProxy proxy, SyndicationResourceLoadSettings settings)
   at Argotic.Syndication.GenericSyndicationFeed.Create(Uri source, ICredentials credentials, IWebProxy proxy, SyndicationResourceLoadSettings settings)
   at Argotic.Syndication.GenericSyndicationFeed.Create(Uri source)
   at mojoPortal.Web.FeedUI.FeedCache.GetRssFeedEntries(Int32 moduleId, Guid moduleGuid, Int32 entryCacheTimeout, Int32 maxDaysOld, Int32 maxEntriesPerFeed, Boolean enableSelectivePublishing)

 

As you can see from navigating the url directly, the feed is working fine.

Thanks

Ben

 

3/1/2011 12:20:07 PM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: Problems downloading Atom Feed

Hi, I verified that it's not working for me either. I have used Atom feeds in the past, and since it was working for you previously, my guess is that something must have changed in the feed structure to make it noncompliant with the standard, or at least outside of what's expected by Feed Manager's processing engine.

When I pull the feed up in IE 8, the feed declaration is

<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">

Per Wikipedia, for an Atom 1.0 feed it should read:

<feed xmlns="http://www.w3.org/2005/Atom">

If that site has any kind of support mechanism, you may want to ask them if there's anything they can do on their side to get the feed back into spec. You could also try running the feed through Yahoo Pipes. That may be able to parse it out and it will output a standard RSS feed that is consumable by Feed Manager.

Jamie

You must sign in to post in the forums. This thread is closed to new posts.