Hi Guys,
I am trying to import news articles from a remote XML feed.
I have tested the xslt with a local file, but now I need to take it to the next level and read the news from an external source.
How do I do that?
Thanks,
Adrian
Hi Guys,
I am trying to import news articles from a remote XML feed.
I have tested the xslt with a local file, but now I need to take it to the next level and read the news from an external source.
How do I do that?
Thanks,
Adrian
Hi Adrian,
You could write your own ScheduledTask AddIn which will be visiting the Rss url during some timeouts and saving the response xml to some local file.
Then you could create the data integration job which will be importing this xml file and shcedule this job to run during same/another timeout.
Regards, Dmitrij
Hi Dmitriy,
So I gues there is no direct method of accessing the xml file without saving it locally.
Do you happen to have a sample file for the AddIn?
Thanks,
Adrian
Hi Adrian,
here is attached the sample ScheduledTaskAddIn which can download the string/xml content from the url and run the selected data integration job to import the downloaded xml to Dynamicweb.
So the available options to be configured in this add-in in the scheduled task creation are:
URL - rss url to get the xml from
Import activity - data integration Xml ->Dynamicweb job
After compiling your's dll and supplying it to web site bin folder you should be able to create the scheduled task with it.
Regards, Dmitrij
Thank you very much Dmitriy
Adrian
You must be logged in to post in the forum