Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsNews FeedsNews FeedsNewsfeed validation too strict?Newsfeed validation too strict?
Previous
 
Next
New Post
9/13/2008 12:18 PM
 

 I feel that NewsFeeds 4.0.0 is too strict with it's feed validation, when testing many feeds I found that over 90% failed to work in the module.

Nearly all tested feeds failed because the feed source did not implement one or more of the following feilds as email adresses which is what the RSS20.xsd validation is expecting in this module:

  • Author
  • ManagingEditor
  • WebMaster

The RSS20.xsd attempts to apply the tEmailAddress rule against each of these fields, however many feeds do not populate the above with valid emails addresses, instead either nothing, a name or some other text.

While the NewsFeeds module is attempting to conform to a standard, I feel that while the majority of feeds do not conform that this module is disadvantaged because it is so strict.

You can remove the validation in the xsd file however the module requires a recompile for any changes made. therefore not practical for out-of-the-box users.

Having changed the tEmailAddress validation to accept any string sucessfully downloaded 100% of the feeds.

Maybe this should be relaxed until the manjority of feeds conform?

Cheers

Craig


Craig Hubbard TechnicaOne Business Solutions - Australia
 
New Post
9/13/2008 1:50 PM
 

It's a point that's been discussed in other threads, as well.  One thing that is difficult to manage is the aggregation of feeds without standards.  Unfortunately, the strict enforcement of RSS v2.0 implementation is more for the aggregation rather than just the display of a single feed.  Still, I've got the same view about it being too strict, as most newsfeed sources will never all comply with the specs for any version of the RSS or Atom specs.  One of the more common errors is in the display of date of publication, which is not even a standard element between RSS v2.0, RSS v1.0 (RDF), and Atom feeds.  Also, the date formatting is totally out of whack for for a lot of feeds, even when somethings gives GMT as its' base, you cannot rely on the develper actually giving you that correctly.

With the apps I write for desktop, I just take this information without trying to validate it or use it for anything other than displaying it as given.  I find it easier to fashion a date for sorting, or caching, which I take from the time I first bring in the element.  It's not going to make a whole lot of difference in the presentation anyway IMHO. 

It's mostly a matter of lack of attention by developers writing the feed generators.  We see it in the DNN modules as well.  The whole point of specs is to keep folks from having to worry about issue with code that is supposed to be compliant.  Of course, that's not what we see in the real information world.  If auto makers disregarded safety specifications as much as developers, we'ld have pulled the offenders off the market.  Unfortunately, there is no similar enforcement in our IS world.

I know Peter is actively engaged in resolving the issue, and appreciates everyone's patience with the issue.  I think going into this update, most didn't realize the number of newsources that were not compliant.  If something says it's RSSv2.0 then it should be expected to be a valid feed.  There's the trouble, even larger news providers don't offer compliant RSS, so it's something the industry just avoids by coding around it.  In the end, that's probably what will have to be done in the module.

 
New Post
9/13/2008 3:51 PM
 

Point taken, Craig. This is going to be the first change to the module: relaxing the xsd where it can.

Peter


Peter Donker
Bring2mind http://www.bring2mind.net
Home of the Document Exchange,
the professional document management solution for DNN
 
New Post
9/13/2008 7:58 PM
 

iwonder

I can not aggree more in relation to the standards and the purpose of the standards, boy we could do some pretty cool stuff if everyone feed us the same content! Unfortunately, in nearly all projects where external data is involved from multiple sources enforcing a standard is once of the most challenging tasks which is often given up to reduce project risk.

In the case of the Newsfeed module, i feel that usability is probably more important at this time rather than standards, some of the biggest feeds sources like news companies etc do not apply the standards.

It's funny your reference regarding auto makers was exactly what I was thinking when I created the post :)

I discovered the PubDate issue after my post when I finally attempted to use some DotNetNuke feeds :( also found that for example the DNN Annoucements feed was sorting from old to newest, therefore when using NewsFeeds the top 10 posts dated back to 2007, even when using IE display of the rss feed would not sort correctly, possibly because of the PubDate format.

I have seen in government projects where they have  tight requirement for various standards, however I have also seen them remove the task to test against the standards from the project plan so they never compare the results of the project against the demanded requirements. If the developer takes the wrong date then the problem lives on.

I aggree "right or wrong" the module may have to flex towards the current "norm" to satisfy the majority at this time, or have something like IE such as standards mode or relaxed mode?

Cheers

Craig

 


Craig Hubbard TechnicaOne Business Solutions - Australia
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsNews FeedsNews FeedsNewsfeed validation too strict?Newsfeed validation too strict?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out