简体   繁体   中英

IMPORTXML Google resource at url

I want to import a XML feed from one of our suppliers but Google sheets gives the error resource at url content exceeded maximum size. Is there a script to circumvent this issue? I checked several threads but didn't see a solution.This is the xml feed

The feed is automatically refreshed twice per day. Is there a way to pull the new data as well twice per day?

try:

const IMPORTALL = url => Utilities.parseCsv(UrlFetchApp.fetch(url).getContentText());

=IMPORTALL("https://www.pfconcept.com/portal/datafeed/stockfeed_9019cb0e_1bfc_b786_e511_cb8235772846_v2.1.xml")

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM