RSS'ing the new forum

Started by stanl, June 05, 2013, 09:35:06 AM

Previous topic - Next topic


I assume someone has a script to do this; if not I may have something in my archives to get started.

or maybe a PS two-liner via WB 2013 CLR:

$url = ";type=rss
Invoke-RestMethod $url | Select Title, Link


Here is another option using COM Automation:

Code (winbatch) Select

rssfeedfile = DirScript():"WBFeed.xml"
objHTTP = ObjectCreate("MSXML2.XMLHTTP")
objHTTP.Open("GET", strURL, @FALSE)
rssfeeddata = objHTTP.ResponseText
;Pause('rssfeeddata', rssfeeddata)
FilePut( rssfeedfile, rssfeeddata )
Deana F.
Technical Support
Wilson WindowWare Inc.


Quote from: Deana on June 05, 2013, 09:52:17 AM
Here is another option using COM Automation:
Nice, but that still leaves the parsing to more coding. The CLR route can break down the individual elements from the pipeline and this shows off the 'neatness' of WB2013.
I haven't played with RSS for 2 years, but this looks like a nice spare-time project as this new board supports RSS.


Been trying to extract the posts in a GridView. Issue is with the description tag which holds CDATA. If I pipe it as | title, link, description I only get "description" as output. However, if I call
rss.item.description I get the CDATA.

Seems like xPath is the alternative. :'(