March 2016
Beginner to intermediate
232 pages
4h 29m
English
You created an RSS reader application in Chapter 6, Creating Feed Reader and Translator Applications. Now, you can create an application to publish an RSS feed. Put the RSS data in a Sheet as shown here:

Also, edit/enter the following doGet function:
function doGet() { /* * There is no active spreadsheet, so you should open by id. * Use the id of the spreadsheet in which your script resides. * */ var ss = SpreadsheetApp.openById([[ this spreadsheet id ]]); var SheetRss = ss.getSheetByName("RSS Data"); var rssData = SheetRss.getDataRange().getValues(); // Remove header. rssData.shift(); var strRss = '<?xml version="1.0" ...Read now
Unlock full access