Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
You must publish the script on your behalf for everyone on the Internet, then the reader will pick up the data sent by HtmlService
.
If you are generating RSS into an HtmlService template then
function doGet() {
return ContentService.createTextOutput(HtmlService.createTemplateFromFile("rss").evaluate().getContent())
.setMimeType(ContentService.MimeType.RSS);
}
function doGet() {
var xml = XmlService.getPrettyFormat().format(document);
return ContentService.createTextOutput(xml)
.setMimeType(ContentService.MimeType.RSS);
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question