Parse online RSS feeds and save to PostgreSQL

by

Want to parse online RSS feeds and save to PostgreSQL ? Want to schedule and automate this importing task?

Try Withdata FileToDB, a desktop RSS to PostgreSQL converter for Windows, MacOS, and Linux, Import online RSS feeds to PostgreSQL, Easy and Fast.

Download Withdata FileToDB Download FileToDB

Import online RSS feeds to PostgreSQL

Choose PostgreSQL and logon.

convert online FEED file to PostgreSQL table - Choose PostgreSQL and logon

Click “Wizard – 1 File To 1 Table” at task dialog.

convert online FEED file to PostgreSQL table - task window

Select “Source Type” with “Url”.

convert online FEED file to PostgreSQL table - select type

then show the wizard.

1. Input the RSS feeds URL, and download to XML file.

import online RSS feeds to PostgreSQL - download from RSS feeds URL to XML file

2. Open the saved XML file.

import online RSS feeds to PostgreSQL - open saved XML file

3. Config target PostgreSQL table.

import online RSS feeds to PostgreSQL - config PostgreSQL table

You can create new PostgreSQL table by XML struct, just a few mouse clicks.

import online RSS feeds to PostgreSQL - create PostgreSQL table

Select table and config fields.

import online RSS feeds to PostgreSQL - config PostgreSQL fields

4. Preview data will be in PostgreSQL table.

import online RSS feeds to PostgreSQL - summary

5. Import RSS feed to PostgreSQL.

import online RSS feeds to PostgreSQL - import to PostgreSQL

See importing results in PostgreSQL table

import online RSS feeds to PostgreSQL - view  PostgreSQL table


More about XML (RSS) to PostgreSQL converter

RSS → PostgreSQL reference

Type mapping

Value kindin RSSin PostgreSQL
Int<int>1234</int> or a child elementinteger
Bigint<bigint>9007199254740993</bigint>bigint
Decimal<decimal>1234.56</decimal>numeric(p,s)
Float<float>1.234e10</float>double precision
Text<title>text</title>varchar(n)
Long text<description>text</description>, usually wrapped in CDATAtext
Date<pubDate>Mon, 18 Sep 2026 00:00:00 GMT</pubDate> (RFC 822)date
Datetime<pubDate>Mon, 18 Sep 2026 14:30:00 GMT</pubDate> (RFC 822)timestamp
Binaryan enclosure URL, never inline bytesbytea
Booleannot part of the feed vocabularyboolean
JSONnot part of the feed vocabularyjsonb

Dialect differences

RSS is a file format and PostgreSQL is a database server, so the target has to be told the types the file never carried - the rows below are where the two sides diverge.

Propertyin RSSin PostgreSQL
port—5432
identifiersXML quoting; content is usually escaped in CDATA"double quotes"
row limit—LIMIT n
datesRFC 822 text, for example Mon, 18 Sep 2026 14:30:00 GMTtimestamp, timestamptz, date, time
long text—TEXT
binaryVia enclosure URLs, not inlineBYTEA
separatorXML elements—
encodingDeclared in the XML declaration—
typingNone—
shapeChannel plus repeated <item> elementsTables of rows and columns
ceilingA feed is a window on recent items, not a full data set—

Command line

SideCommand
PostgreSQLpg_dump or COPY ... TO
PostgreSQL (load)COPY ... FROM

Convert your data online, free

Free in-browser converters for CSV, Excel, JSON, XML and SQL: Withdata Online Data Conversion. Large files, batch conversion or scheduling? See the offline desktop apps, or browse all data conversion tools.