Unfortunately, I've just found out that the portal system that the feed from my articles systems is supposed to feed into does not play well with RSS 2.0. Yeah, I'm a bit dumbfounded by this myself. Does the Cuyahoga Articles module support multiple feed types?
Of course, what I'll have to do, I suppose, is figure out how to create a 1.0 feed instead. Does anyone know if that will break the use of the RemoteContent module on my site?
Thanks!
--Nicole
Nicole Does the Cuyahoga Articles module support multiple feed types?
No, I've been thinking about this, but don't want to re-invent the wheel. I'm sure that, at one time, somebody comes up with an RSS library that supports RSS 0.91, 2.0, RDF and maybe even Atom. I even vaguely remember reading that there exists such a thing for .NET 2.0.
Of course, what I'll have to do, I suppose, is figure out how to create a 1.0 feed instead. Does anyone know if that will break the use of the RemoteContent module on my site?
I'd say, just give it a try. There isn't such a big difference between RSS versions.
So, I created a Rdf.aspx page that is similar to Rss.aspx but generates a valid RSS 1.0 (RDF) feed. I was hoping to directly access this page for supplying content to a portal system. I added Rdf.aspx to the first list of URL mappings in web.config so the system would recognize it. Then, using the mapping rules from Web.config, I thought I had successfully created a manipulated URL to access the Rdf.aspx page, but no. It still shows the RSS 2.0 feed. I'm assuming there's a mapping still off, but I'm at a loss as to where that error is.
For example, my Articles module feed URL is:
http://www.mydomain.com/cuya/12/feed.aspx
So, I used this URL to attempt to access that section's content:
http://www.mydomain.com/cuya/Rdf.aspx?SectionId=12
When I use this URL, I get the RSS 2.0 content instead. Is there something involving caching that I need to be aware of?
Thanks!
--Nicole
NicoleSo, I used this URL to attempt to access that section's content:http://www.mydomain.com/cuya/Rdf.aspx?SectionId=12
When I use this URL, I get the RSS 2.0 content instead. Is there something involving caching that I need to be aware of?
Very strange! I can't think of any reason why the request to Rdf.aspx results in the RSS feed. The mapping in the config file is correct, otherwise you'll get a node not found error.
Can you verify that the Rdf.aspx page is really executed? You can use the logging for that. Uncommment the log4net section in the web.config and set the value of the UrlHandlerModule logger to INFO:
<logger name="Cuyahoga.Web.HttpModules.UrlHandlerModule">
<level value="INFO" />
</logger>
I don't think there is a gaurantee of which regex is loaded. So, most likely you will have to add an additional one for your feed type.
http://www.mydomain.com/cuya/12/feed2.aspx
I have used the feed paradigm for generating content in multiple custom formats.
So, I ended up fixing this problem with a complex solution of "move on to other projects, come back to it months later, and it magically works." I guess my original solution was correct, but that there was a caching issue of some sort. If the problem crops up again, I'll have to investigate this further (perhaps follow gvarela's advice) but until then I'm considering this solved.