RSS Feed Content not working on some links

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.
12/20/2009 8:47:35 PM
Gravatar
Total Posts 101

RSS Feed Content not working on some links

Hi,

It would appear the RSS content works on some but not all content.

 

I just tried to use the following 2 rss feeds and get empty content:

 

http://news.boardofstudies.nsw.edu.au/rss.cfm?mode=full

 

and

 

http://webservice.weatherzone.com.au/rss/wx.php?u=13145&lt=aploc&lc=1688&obs=1&fc=1&warn=1

 

Both are RSS version 2.0.

 

I am currently using the latest 2.3.3.0 version of Mojoportal on SQlite (for prototyping on a notebook) but will be deploying on SQLServer.

Any ideas ?

12/21/2009 3:59:00 PM
Gravatar
Total Posts 101

Re: RSS Feed Content not working on some links

Workaround for RSS problem..

I've made a workaround for this by scheduling a pull of the RSS XML to a file, and I'm now using the XML/XSL content option.

Select the board-rss.xml file dumped by the scheduled job.

Select a file containing the XSL below (rss2html.xls)

<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:wfw="http://wellformedweb.org/CommentAPI/">
<xsl:output method="html"/>
<xsl:template match="/">
<xsl:apply-templates select="/rss/channel"/>
</xsl:template>
<xsl:template match="/rss/channel">
<h3><xsl:value-of select="title"/></h3>
<p><xsl:value-of select="description"/></p>
<ul>
<xsl:apply-templates select="item"/>
</ul>
</xsl:template>
<xsl:template match="/rss/channel/item">
<li>
<a href="{link}" title="{substring(pubDate, 0, 11)}"><xsl:value-of select="title"/></a>
<p><xsl:value-of select="description" disable-output-escaping="yes" /></p>
</li>
</xsl:template>
</xsl:stylesheet>


All rendered nicely.. (Also saves 100+ staff repulling the feed everytime they look at the page.)

1/24/2010 12:31:59 PM
Gravatar
Total Posts 9

Re: RSS Feed Content not working on some links

I have a separate thread that appears to be the same problem.  I am cross-posting the URL here as it contains additional information to duplicate.  It will be another 12-14 hours till database raid finishes re-sync or I would error-trap.

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