this was inspired by FoxLeader's post
its a simple set of actions to enable you to read rss feeds in your applications
AMS_RSS.Download()
This will return the local filepath of the downloaded file use this variable in all other actions to access the rss feed it works this way because XML.Load will only allow 1 xml file open at a time this way you can open many rss feeds useing varables or a table. if any error a blank string ("") is returned.
AMS_RSS.LoadLinks()
This will load the links from a rss xml file and return a table of values
For v1 (tb.Title[INDEX], tb.Desc[INDEX], tb.Link[INDEX])
For v2 (tb.Title[INDEX], tb.Desc[INDEX], tb.Link[INDEX], tbPubDate[INDEX], tbGUID[INDEX])
if any error -1 is returned
AMS_RSS.CountLinks()
This will count the links in the rss feed
returns number of links, if any error (-1) is returned.
AMS_RSS.GetVesion()
This will get the version of the rss feed
returnd a number, if any error (-1) is returned.
details on the arguments can be found in the action editors descriptions
put AMS_RSS.xml in your Data\Actions folder and include the script or add to globals ot add to includeed files bla bla bla, its a script, use how you like
Licence
if you want to use this code in a project then you must do 3 things
1, record your self jumping on one leg with a lampshade on your head singing "Im A Little Teapot".
2, publish the said video on youtube or other well known video uploading service.
3, post link to said video here on this thread.
then thats it, anyone found useing this code in a project and hasent posted a link will be tickeld to death with a very large feather......you have been warned!!!!
lol
its a simple set of actions to enable you to read rss feeds in your applications
AMS_RSS.Download()
This will return the local filepath of the downloaded file use this variable in all other actions to access the rss feed it works this way because XML.Load will only allow 1 xml file open at a time this way you can open many rss feeds useing varables or a table. if any error a blank string ("") is returned.
AMS_RSS.LoadLinks()
This will load the links from a rss xml file and return a table of values
For v1 (tb.Title[INDEX], tb.Desc[INDEX], tb.Link[INDEX])
For v2 (tb.Title[INDEX], tb.Desc[INDEX], tb.Link[INDEX], tbPubDate[INDEX], tbGUID[INDEX])
if any error -1 is returned
AMS_RSS.CountLinks()
This will count the links in the rss feed
returns number of links, if any error (-1) is returned.
AMS_RSS.GetVesion()
This will get the version of the rss feed
returnd a number, if any error (-1) is returned.
details on the arguments can be found in the action editors descriptions
put AMS_RSS.xml in your Data\Actions folder and include the script or add to globals ot add to includeed files bla bla bla, its a script, use how you like
Licence
if you want to use this code in a project then you must do 3 things
1, record your self jumping on one leg with a lampshade on your head singing "Im A Little Teapot".
2, publish the said video on youtube or other well known video uploading service.
3, post link to said video here on this thread.
then thats it, anyone found useing this code in a project and hasent posted a link will be tickeld to death with a very large feather......you have been warned!!!!
lol
Comment