Thanks to Piyush, the second version of ASP.NET RSS Toolkit is now available on CodePlex. Please check it out.
Thanks,
Dmitry
PingBack from http://testsubdomain.netmoviehost.com/aspnet-rss-toolkit-version-2/
La version 2.0 de l'ASPNET RssToolkit est disponible sur Codeplex . Développée à l'origine par Dmitry
hi,
I'm facing some problem with rss tool. I've created dumy application and its working fine on local system.
but as soon as i try to upload it on ftp, the web.config file gives the following error:
Error: "The element 'buildProviders' cannot be defined below the application level."
Error occurs in web.config file and my code for this file is :
<?xml version="1.0"?>
<configuration>
<system.web>
<compilation debug="true">
<assemblies>
<add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.DirectoryServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.DirectoryServices.Protocols, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.ServiceProcess, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Web.RegularExpressions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</assemblies>
<buildProviders>
<add extension=".rss" type="RssToolkit.Rss.CodeGeneration.RssBuildProvider,RssToolkit"/>
<add extension=".rssdl" type="RssToolkit.Rss.CodeGeneration.RssdlBuildProvider,RssToolkit"/>
</buildProviders>
</compilation>
<customErrors mode="Off"></customErrors>
</system.web>
<appSettings>
<add key="defaultRssTtl" value="10"/>
<add key="rssTempDir" value="~/app_code"/>
</appSettings>
<system.net>
<defaultProxy useDefaultCredentials="true"/>
</system.net></configuration>
Getting This 2nd error too
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load file or assembly 'RssToolkit' or one of its dependencies. The system cannot find the file specified.
Source Error:
Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="tryrsshyerlink.aspx.cs" Inherits="tryrsshyerlink" %>
Line 2:
Line 3: <%@ Register Assembly="RssToolkit" Namespace="RssToolkit.Web.WebControls" TagPrefix="cc1" %>
Line 4:
Line 5: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Source File: /demo/tryrss/tryrsshyerlink.aspx Line: 3
Assembly Load Trace: The following information can be helpful to determine why the assembly 'RssToolkit' could not be loaded.
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Harry
Harry,
RSS toolkit must be placed at the application (or site) root -- as the error indicates it cannot work from an arbitrary directory.
Hey Dmitry!
You're the man! Thanks a lot for this RSS toolkit. Implemented it on one of my websites, works like a charm.
However, I have a question: my site has members, and they have a local profile, in which I now allow them to add their own personal RSSFeed, which is shown in their personal page. BUT... if they enter an URL that is not a valid RSSfeed, the toolkit crashes. Is therre any way to check if the url they entered is valid, I already add "http://" if it's not present, but I don't see how I can make it any safer/robuster...
Thanks for any suggestions!
Werner.
I am facing a problem while publishing RSS via RSSToolKit.
It's an issue when i use a looping construct to Add Items to the Channel. Something like this:
for (int i = 0; i < 4; i++) // Same issue is with foreach as well
{
item = new RssItem();
item.Title = "ObjectDataSource " + i.ToString();
item.Description = "Consuming RSS feed using ObjectDataSource " + i.ToString();
item.Link = "~/ObjectDataSource.aspx";
Rss.Channel.Items.Add(item);
}
things look good in IE untill i subscribe. But when i subscribe to this feed, both IE7 reader, shows only 1 item under the feed. It should actually show 4 items, but it shows only one.
Is there a specific way to use looping constructs while dealing with RSSToolkit ?
Is this an issue(may be Known) with the Outlook/IE7 RSS reader or i am doing something wrong here ?
Any help would be highly appreciated.
Ashwani
Hello Hello Hello Hello Hello Hello Hello Hello Hello