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 FeedsBad formatting, XSL not working.Bad formatting, XSL not working.
Previous
 
Next
New Post
9/4/2008 2:12 PM
 

Beth,

Just checking your post again.  You say you are using the 'Articles' module, but I'm using dnn v040600 and don't see it listed.  What version of dnn are you using and where did you get the 'Articles' module?

 
New Post
9/4/2008 5:11 PM
 

The articles module from Efficon consulting, based on the core events module  version 04.00.06 Here is the description in the module definitionas area:

The Articles module from Efficion Consulting extends the core's Annoucements module with many useful features including: categories, searching, paging, filtering, archives, an automatically thumbnailed image, and Article details. It can be used as a publishing system, a content management system, blogging, and much more.

I have been trying all sorts of style sheets from all sorts of sources, mostly yours which work great with everything else. No luck so far. I really figured you all in one sheet would do it. I was surprised when ever that didn't work. That is about the fanciest XSL style sheet I have seen to date.

Anyway, I you ahve any suggestions or anything I can do please pass it on. You help is very much appreciated. I ahve noticed that there is no documatation that I can find the DNN docs that tell you how to create a news feed from any module, or did I miss that?

 
New Post
9/4/2008 9:29 PM
 

Beth,

Check in with Efficon and asked for some info on their newsfeed generator.  Meantime, I looked at their site and was able to subscribe to a page that has articles on it, and hopefully it may be using the same method to generate a newsfeed as your module.  As I inspected it, turns out it's not all that mystical.  Here's some 'raw' code from that feed (with apologies to Efficon)

    <rss version="2.0">

The above indicates that you should be able to parse this feed with an xsl file that uses RSS v2.0, but looking at the feed, I really don't see much in the way of RSS v2.0 being used.  So, the only thing you may have to do is disable output escaping on the <description> element.  One thing though, I am not sure if the feed I'm looking at is from the Articles module or not. 

Now, if you could 'syndicate' your Articles feed, I may be able to subscribe to it to troubleshoot further.  The issue here is not really due to a Core DNN module but a 3rd party module's syndication method.  Like many other developers there is a nice thought about upgrading the newsfeed generated, but leaves out the xsl to properly use it.  Now, this isn't really a slam of Efficon, as the modules from them are pretty nice.  It's probably something that went without saying that you would need a custom xsl to use it.  At least that's what I initially see.  Of course, I don't actually use that module, so until I see an example of the raw newsfeed generated by it, I'm really just guessing.

I've contacted Efficon offering to provide a custom xsl for them, and hope I get a positive response.  I don't do this for a living, though I'd like it.  I really contribute in the ways I can due to my history of using DNN and as a former Core Team memeber, with hopefully many friends out in the DNN global community, I think the help is appreciated.

Anyway, if you could syndicate that content on your site, I may be able to help you more.

 

Cheers

 
New Post
9/5/2008 12:52 AM
 

Thanks so much! And your help is not only appreciated, it has helped me get a better udnerstanding of XSL in short order. I failed to mention that I had tried this on the forum module with even worse results.  That is why I was thinking the articls problem was the same issue. My bad.

I have turned on a regular container so you can pick up the feed from that module. I use a module called no container and it doesn't show all the little gadets you can see on a core module.  Let me know if you can even get a feed. I will visit Efficon and check it out.

Someitmes I feel for the core team, they must work very hard. My hats to off to ya for your efforts there.

Beth Vest

 

 
New Post
9/5/2008 1:13 PM
 

Beth,

Wanted to update you.  I've been in touch with David from Efficion Consulting, and we'r looking into the issue.  Basically, what I've found is that the description element is actually including encoded characters rather than straight HTML, and that's why the typical tactic of disable-output-escaping won't work to allow the feed to display properly.  There are several schools of thought on the use of HTML within a newsfeed, some feel that any formatting with HTML is allowable because it's not really against any of the RSS specs.  Others, believe that HTML should not be used within rss tags, preferring to use in-line CSS in an xsl to format the feed. 

In any case, if a feed includes the encoded html characters, what happens is that they get treated as just text, and that really complicates the transformation of a feed element.  You would have to really work to customize a solution to convert these encoded characters to their HTML intended tag, and that's really not an easy thing to do.  One thing for sure, that's really not something I would do, since my goal in using an RSS feed is to simplify and not to complicate.

As the issue is really something that is due to a 3rd party feed generator, there is nothing wrong with the DNN module.  I'm sure that Efficion will work to an acceptable solution.  This situation really points out the need for folks to work closely with the developers of any 3rd party DNN module.  Most I've ever contacted are more than willing to get into the core of any issue and give you a workaround or solution.  Once I knew what Articles module you were using, I just contacted them to alert them of the issue, and you can see David posted a thread on this forum. 

I know it offers no immediate help, but be a bit more patient, as I'm sure there will be a solution soon.

Cheers

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsNews FeedsNews FeedsBad formatting, XSL not working.Bad formatting, XSL not working.


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