Hi all
I am in the process of trying to set up an RSS feed to notify key users of activity within our MFG-Pro database, namely the receipt of certain Sales Orders.
I have created a program that selects the relevant Sales Order and outputs it as an XML file using the Progress XML with DOM model as outlined in the Reading / Writing XML Documents with the DOM chapter of the OE Development: Working with XML manual.
So far, so good.
What I now want to do is to create an RSS feed based on these that our users can subscribe to, and this is where I am currently coming unstuck. I cannot find an easy way within Progress of creating the tags necessary to create an RSS feed.
My initial plan was to create a second set of objects within my code that generate the RSS defining tags e.g. <rss version="2.0">. The data tags <title>, <description> & <link> will be taken from the same data that creates the XML file and the link will point to the XML file containing full details of the file. But I can't find how to create the defining tags without resorting to manually coding these as text lines and forcing them into the XML created to provide the RSS feed, or (even worse) to manually code the text required for the entire RSS feed.
Plan B will be to find some form of a shell script / command line tool that creates an RSS feed based on an XML file and its contents, although I would prefer the self-contained Progress approach.
EDIT: BTW I am using Progress 10.1C
Any help / ideas appreciated.
TIA
I am in the process of trying to set up an RSS feed to notify key users of activity within our MFG-Pro database, namely the receipt of certain Sales Orders.
I have created a program that selects the relevant Sales Order and outputs it as an XML file using the Progress XML with DOM model as outlined in the Reading / Writing XML Documents with the DOM chapter of the OE Development: Working with XML manual.
So far, so good.
What I now want to do is to create an RSS feed based on these that our users can subscribe to, and this is where I am currently coming unstuck. I cannot find an easy way within Progress of creating the tags necessary to create an RSS feed.
My initial plan was to create a second set of objects within my code that generate the RSS defining tags e.g. <rss version="2.0">. The data tags <title>, <description> & <link> will be taken from the same data that creates the XML file and the link will point to the XML file containing full details of the file. But I can't find how to create the defining tags without resorting to manually coding these as text lines and forcing them into the XML created to provide the RSS feed, or (even worse) to manually code the text required for the entire RSS feed.
Plan B will be to find some form of a shell script / command line tool that creates an RSS feed based on an XML file and its contents, although I would prefer the self-contained Progress approach.
EDIT: BTW I am using Progress 10.1C
Any help / ideas appreciated.
TIA