Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var params = {
- proxyScheme: undefined /* STRING */,
- headers: undefined /* JSON */,
- ignoreSSLErrors: undefined /* BOOLEAN */,
- useNTLM: undefined /* BOOLEAN */,
- workstation: undefined /* STRING */,
- useProxy: undefined /* BOOLEAN */,
- withCookies: undefined /* BOOLEAN */,
- proxyHost: undefined /* STRING */,
- url: "https://www.yahoo.com/news/rss/" /* STRING */,
- timeout: undefined /* NUMBER */,
- proxyPort: undefined /* INTEGER */,
- password: undefined /* STRING */,
- domain: undefined /* STRING */,
- username: undefined /* STRING */
- };
- // result: XML
- var result = Resources["ContentLoaderFunctions"].GetXML(params);
- logger.warn(result.channel.title);
- for each (var item in result.channel.item){
- logger.warn(item.title);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement