Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Parses Wordsmith XML Feed | |
| function doGet(){ | |
| // Fetch XML | |
| var response = UrlFetchApp.fetch("http://wordsmith.org/awad/rss1.xml").getContentText(); | |
| // Parse XML | |
| var parsedResponse = Xml.parse(response, false); | |
| var word = parsedResponse.getElement().getElement('channel').getElement('item').getElement('title').getText(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function doGet() { | |
| // Fetch XML | |
| var response = UrlFetchApp.fetch("http://wordcentral.com/buzzword/rss.xml").getContentText(); | |
| // Parse XML | |
| var parsedResponse = Xml.parse(response, false); | |
| var word = parsedResponse.getElement().getElement('channel').getElement('item').getElement('title').getText(); | |
| var desc = parsedResponse.getElement().getElement('channel').getElement('item').getElement('description').getText(); | |
NewerOlder