1. Home
  2. Functions
  3. Web
  4. IMPORTFEED

IMPORTFEED function

Imports an RSS or Atom feed. Live web data is not available yet, so this returns #BLOCKED!.

Syntax

=IMPORTFEED(url, [query], [headers], [num_items])

Arguments

ArgumentRequiredDescription
urlRequiredThe feed address
queryOptionalWhat to import
headersOptionalTRUE to include headers
num_itemsOptionalHow many items

How to use IMPORTFEED

This function reads data from outside the workbook, so its result depends on what the source returns when the sheet calculates.

IMPORTFEED takes 1 required argument and 3 optional arguments. Type =IMPORTFEED( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.

Examples

Each result below was calculated by the SheetsBat formula engine.

=IMPORTFEED("https://example.com/feed")Result #BLOCKED!

Every formula, right in your browser

SheetsBat calculates 536 functions, with charts, pivot tables and live collaboration. Free to start.