Last post Dec 07, 2005 09:29 AM by sherbert
Dec 06, 2005 08:20 AM|sherbert|LINK
Been working with DNN to get my own stuff into RSS and found a global function CreateRSS which is used in the announcement module.
All fantastic, but I seem to have found a limitation in RSS. If you need to link to a page that has more than 1 parameter then the feed cannot be read.
does not work this is a major problem for me as I have about 4 paramaters and I also need to add an affiliate ID when creating the URL - so any thoughts about how I get around this. Does RSS accept a particular character to replace the &
Been working on this for 2 days and only just realised its my link that has been stopping it from working - ARGH!!!!!
PLEASE HELP ME - even tried using standard dnn function with a link on the announcement with an & and that failed too so confiedent its not the rubbish I wrote!!
Dec 06, 2005 12:26 PM|iwonder|LINK
What version of DNN are you using? The CreateRSS function in the Globals.vb is old implementation from what I remember. The newer version that is used with the search mechanism is in the root folder and simple called RSS.VB. Take a look at it, and you
might be able to use it instead. It's v3.x and above.
Let me know if that helps or not, and we can go further.
Dec 06, 2005 12:41 PM|sherbert|LINK
I am currently using dnn1 as I modified it a little bit, but I have written alot of my own modules that need to be converted, I have found someone interested in converting from dnn1 ro dnn3 but I want to get some impotant functionality live as I am not sure
how long it will take to convert.
I have now changed, and instead of using createRSS I found a dll called
Tortuga which will create an RSS feed and all is good, except that when I use a URL with two parameters neither dnn2 (another site) nor Free Reader will read the RSS, change it so that they URL does not contain "&" ie ?param1=x&Parm2=y it works fine, but with
two params it does not work.
The current feed can be found at
www.virtualgolfsociety.dnsalias.net/futureeventsrss.aspx I am working on the content as its crap at the moment, but it took me 2 days to get this far.
Seems very strange you cannot use the "&" I am thinking do you need to call it & or something.
I did think of looking at dnn3 and seeing what I can pull apart, but I use visual stuudio on a single box, which has my dev dnn1, so when I install dnn3 to a new locaiton it tries to open the localhost/dotnetnuke, and I cannot work out how
to get it to open localhost/dnn3 so I cannot look at the code easily. plus I have not looked at dnn3 yet, but been working with dnn1 for about a year now - not a great programmer but proud of what I have produced so far. Looking forward to haveing it converted
to dnn3 then working with the programmer to make it better, but probably will not start until the new year, after I have 1 or 2 new things in place. RSS being one of them.
Dec 06, 2005 01:27 PM|iwonder|LINK
You can open up code behind source using a text editor. Don't have to use VS. I'll have to go over your post a little bit more, because I'm not sure I understand your case usage. Meantime, you can inspect the code behind using a simple text editor.
BTW - The feed link is not bringin up anything for me.
I've got an old DNNv2.1.2 site using a feed with more than 1 parm, see if you can get this feed.
It may choke due to the date format, but try it and let me know.
Dec 07, 2005 05:38 AM|sherbert|LINK
Got an error going to your site,
A critical error has occurred.
SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM.
I think I have it sussed, you need to use & not & but although I have that I have created the following rss
www.virtualgolfsociety.dnsalias.net/futureeventsrss.aspx which although it sort of works in an rss reader you get nothing when you go to the page. It also does not work fully as
the link does not seem to work.
I am stunned how hard this is!!
Going to try and cut up dnn3 and squeeze it into dnn1
Dec 07, 2005 06:46 AM|sherbert|LINK
I have been using a DNN2 site and FeedReader to check what I have been doing, and now it all looks cool.
www.virtualgolfsociety.dnsalias.net/futureeventsrss.aspx although you still cannot open that page in a browser.
ok, now my next request, and this might sound stupid.
What do I do with it now??
My final aim was to create an asp/html page that I cna give to other sites as a demonstration that says, welcome to vgs, blah blah blah but, and here is the important bit, it also has my rss feed. This they would either be able to use or modify into their
own sites, but it shows them how to show my rss feed on their site. Of course if they are using something like DNN then they will use the inbuilt features but I don't know how skilled they are.
So is there anyone out there who can write me a page (show me how to, but I know zero asp) in asp that will display some text and my rss feed?
Thanks in advance
Dec 07, 2005 09:29 AM|sherbert|LINK
Thanks for your help.
My asp page which pulls from a feed written in .net can be found at
anyone needing help or to know what I did give me a shout.