Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# Frank 8/11/2005 12:35 AM
Remote content from http://www.nos.nl/nos/rss/nieuws.xml and http://nu.nl/deeplink_rss2/index.jsp?r=Algemeen both throw an excpetion when I try to refresh them in the remote content overview. When verifying the links everything is OK, but they are not shown after I've saved them.
Exception on the first one says:
An error occured: System.FormatException: String was not recognized as a valid DateTime. at System.DateTimeParse.Lex(Int32 dps, __DTString str, DateTimeToken dtok, DateTimeRawInfo raw, DateTimeResult result, DateTimeFormatInfo& dtfi) at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles) at System.DateTime.Parse(String s, IFormatProvider provider, DateTimeStyles styles) at System.DateTime.Parse(String s, IFormatProvider provider) at System.DateTime.Parse(String s) at Cuyahoga.Modules.RemoteContent.RemoteContentModule.RefreshFeedContents(Feed feed) at Cuyahoga.Modules.RemoteContent.AdminRemoteContent.rptFeeds_ItemCommand(Object source, RepeaterCommandEventArgs e)
Exception on the second says:
An error occured: System.NullReferenceException: Object reference not set to an instance of an object. at Cuyahoga.Modules.RemoteContent.RemoteContentModule.RefreshFeedContents(Feed feed) at Cuyahoga.Modules.RemoteContent.AdminRemoteContent.rptFeeds_ItemCommand(Object source, RepeaterCommandEventArgs e)

Both sources uss RSS 2.0
# martijnb 8/11/2005 7:35 AM
Frankhttp://www.nos.nl/nos/rss/nieuws.xml

This feed doesn't have valid (RFC 822) dates. Won't fix ;)
http://nu.nl/deeplink_rss2/index.jsp?r=Algemeen

This feed doesn't have a pubDate for the items. I thought that was required but it appears not. I'll create a Jira for it. If you want, you can fix it yourself and send the modifications. It's very easy and I know you can do it ;).

# Frank 8/11/2005 2:30 PM
martijnbThis feed doesn't have valid (RFC 822) dates. Won't fix ;)

I tried several others (checked rss.pagina.nl for some) but they all appear to have the same problem (exception). Isn't there any way to get around this RFC 822 date?
martijnbIf you want, you can fix it yourself and send the modifications

First I'll finish my work on a real-estate module (making serious progress!). When I'm finished, www.riekevastgoed.nl will switch over to Cuyahoga..... After that I will have time for the easy fixes ;)
# martijnb 8/12/2005 6:50 AM
Frank
martijnbThis feed doesn't have valid (RFC 822) dates. Won't fix ;)

I tried several others (checked rss.pagina.nl for some) but they all appear to have the same problem (exception). Isn't there any way to get around this RFC 822 date?

Ah well, maybe we have to think of a workaround. Currently the dates are converted with a simple DateTime.Parse. The other solution is to parse the dates by trying different fixed formats, or even worse, with string manipulation.
First I'll finish my work on a real-estate module (making serious progress!). When I'm finished, www.riekevastgoed.nl will switch over to Cuyahoga.....

Are you planning to contribute the real estate module to the project btw? Nothing is required of course, but it would be a nice addition :).
# Frank 8/14/2005 7:32 AM
Are you planning to contribute the real estate module to the project btw? Nothing is required of course, but it would be a nice addition

Sure!
# martijnb 8/14/2005 9:06 AM
Great!