Developer forum

Forum » Development » Use local RSS feed locally?

Use local RSS feed locally?


Reply

I would like to use the RSS module in order to show the latest blogposts of the page.


The reason to this is that I cant manage to get the weblogs list to be presented as I want it to.


 


 


When I use the generated xml url (rss feed) for an internal weblog it wont present a nice list of blogposts.


When I use an external rss feed it works just fine. What is the difference?


 


I've setup a paragraph with the RSS module and I'm using the "Publish external RSS feed" settings.


 


In the "RSS feed link" field I've pasted the xml url I got from my weblog. (http://mydomain/Files/Filer/Weblog/rss/1.xml)


 


There's no problem using this XML url directly in IE7, but inside the module it seems to have problems solving it.


 


Following error occurs:


An error occured while attaching module (Dynamicweb.Frontend.Content)



 



System.NullReferenceException: Object reference not set to an instance of an object.
at Dynamicweb.RSSFeed.RSSFeedFrontend.ErrorMessage()
at Dynamicweb.RSSFeed.RSSFeedFrontend.LoadRssSafe(XmlDocument doc, XmlTextReader rd)
at Dynamicweb.RSSFeed.RSSFeedFrontend.RSSFeed(DataRow ParagraphRow, PageView Pageview)
at Dynamicweb.RSSFeed.Frontend.RSSFeed(DataRow ParagraphRow, PageView& Pageview)
at Dynamicweb.Frontend.Content.getModule(DataRow& ParagraphRow)

 Darn, this gives me headache.



//A


Replies

 
Nicolai Høeg Pedersen
Reply
andreas.matilainen@skapa.se wrote:


I would like to use the RSS module in order to show the latest blogposts of the page.




The reason to this is that I cant manage to get the weblogs list to be presented as I want it to.




 




 




When I use the generated xml url (rss feed) for an internal weblog it wont present a nice list of blogposts.




When I use an external rss feed it works just fine. What is the difference?




 




I've setup a paragraph with the RSS module and I'm using the "Publish external RSS feed" settings.




 




In the "RSS feed link" field I've pasted the xml url I got from my weblog. (http://mydomain/Files/Filer/Weblog/rss/1.xml)




 




There's no problem using this XML url directly in IE7, but inside the module it seems to have problems solving it.




 




Following error occurs:




An error occured while attaching module (Dynamicweb.Frontend.Content)







 





System.NullReferenceException: Object reference not set to an instance of an object.
at Dynamicweb.RSSFeed.RSSFeedFrontend.ErrorMessage()
at Dynamicweb.RSSFeed.RSSFeedFrontend.LoadRssSafe(XmlDocument doc, XmlTextReader rd)
at Dynamicweb.RSSFeed.RSSFeedFrontend.RSSFeed(DataRow ParagraphRow, PageView Pageview)
at Dynamicweb.RSSFeed.Frontend.RSSFeed(DataRow ParagraphRow, PageView& Pageview)
at Dynamicweb.Frontend.Content.getModule(DataRow& ParagraphRow)



 Darn, this gives me headache.







//A



Sounds weird. Can you display the content of this RSS: http://developer.dynamicweb.dk/Files/Filer/Weblog/rss/1.xml (should be the same, but another source).

 
Reply
NP wrote:
andreas.matilainen@skapa.se wrote:


I would like to use the RSS module in order to show the latest blogposts of the page.




The reason to this is that I cant manage to get the weblogs list to be presented as I want it to.




 




 




When I use the generated xml url (rss feed) for an internal weblog it wont present a nice list of blogposts.




When I use an external rss feed it works just fine. What is the difference?




 




I've setup a paragraph with the RSS module and I'm using the "Publish external RSS feed" settings.




 




In the "RSS feed link" field I've pasted the xml url I got from my weblog. (http://mydomain/Files/Filer/Weblog/rss/1.xml)




 




There's no problem using this XML url directly in IE7, but inside the module it seems to have problems solving it.




 




Following error occurs:




An error occured while attaching module (Dynamicweb.Frontend.Content)







 





System.NullReferenceException: Object reference not set to an instance of an object.
at Dynamicweb.RSSFeed.RSSFeedFrontend.ErrorMessage()
at Dynamicweb.RSSFeed.RSSFeedFrontend.LoadRssSafe(XmlDocument doc, XmlTextReader rd)
at Dynamicweb.RSSFeed.RSSFeedFrontend.RSSFeed(DataRow ParagraphRow, PageView Pageview)
at Dynamicweb.RSSFeed.Frontend.RSSFeed(DataRow ParagraphRow, PageView& Pageview)
at Dynamicweb.Frontend.Content.getModule(DataRow& ParagraphRow)



 Darn, this gives me headache.







//A



Sounds weird. Can you display the content of this RSS: http://developer.dynamicweb.dk/Files/Filer/Weblog/rss/1.xml (should be the same, but another source).

Yes, I have no problem showing rss content from that feed.
In fact, I have no problem at all showing all kinds of external RSS feeds. Problem only occurs when I use the internal feed.
 

 

//A

 
Nicolai Høeg Pedersen
Reply

Sounds like a DNS issue. The server or machine you host Dynamicweb on, can you log into it and browse the rss from the browser there? DNS, firewall or other settings on the machine

 
Reply
NP wrote:

Sounds like a DNS issue. The server or machine you host Dynamicweb on, can you log into it and browse the rss from the browser there? DNS, firewall or other settings on the machine


 

That might be hard todo since its hosted on dynamicwebs own server. :-/

 
Nicolai Høeg Pedersen
Reply

Aha my dear watson. Then DNS is probably the problem. Could you provide a url - i'll add the host to the servers hosts file.

 

You must be logged in to post in the forum