Withdata Software

Import RSS feeds to MongoDB

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

Try Withdata FileToMongo, a RSS to MongoDB converter for Windows, MacOS, and Linux, Import RSS feeds to MongoDB, Easy and Fast.

Download Withdata FileToMongo
Windows 64 bit
Windows 32 bit
Linux .deb (For Debian, Ubuntu) 64 bit
Linux .rpm (For Red Hat, Fedora, SUSE) 64 bit
MacOS 64 bit

Import online RSS feeds to MongoDB collection

Click “1 File To 1 Collection” at task dialog.

Select “Import File Type” with “XML”, and select “Source File From” with “Url”.

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

2. Open the saved XML file.

3. Config target MongoDB collection.

4. Preview data will be in MongoDB collection.

5. Import RSS to MongoDB.

See importing results in MongoDB collection

Import RSS to MongoDB in command line

Save “RSS to MongoDB” session, then you can:

Set scheduled tasks for importing RSS to MongoDB

You can schedule and automate this “RSS to MongoDB” conversion task by:

  1. Save session and create .bat (Windows) or .sh (Linux/macOS) file for “RSS to MongoDB” conversion.
  2. Set scheduled task for “RSS to MongoDB” conversion.

FAQ

What is Withdata FileToMongo?
Withdata FileToMongo is a data conversion software can import data from files to MongoDB. Download Withdata FileToMongo
How long does it take to convert RSS to MongoDB?
FileToMongo works fast. It convert millions of rows within a minute.
Is it safe to convert RSS to MongoDB using FileToMongo?
Of course! FileToMongo convert RSS to MongoDB locally, absolutely safe.
Can I convert RSS to MongoDB on Linux, Mac OS?
Yes, you can. FileToMongo has Linux, Mac OS, and Windows version.
Can I convert RSS to MongoDB in command line?
Yes, you can. FileToMongo can running in command line, on Linux, Mac OS, and Windows.


More about Withdata FileToMongo – RSS to MongoDB Converter

RSS → MongoDB reference

Type mapping

Value kindin RSSin MongoDB
Int<int>1234</int> or a child elementNumberInt / int32
Bigint<bigint>9007199254740993</bigint>NumberLong / int64
Decimal<decimal>1234.56</decimal>Decimal128
Float<float>1.234e10</float>Double
Text<title>text</title>String
Long text<description>text</description>, usually wrapped in CDATAString
Date<pubDate>Mon, 18 Sep 2026 00:00:00 GMT</pubDate> (RFC 822)ISODate
Datetime<pubDate>Mon, 18 Sep 2026 14:30:00 GMT</pubDate> (RFC 822)ISODate
Binaryan enclosure URL, never inline bytesBinData
Booleannot part of the feed vocabularyBool
JSONnot part of the feed vocabularyEmbedded document or array

Dialect differences

RSS is a file format and MongoDB 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 MongoDB
port—27017
identifiersXML quoting; content is usually escaped in CDATANo identifier quoting - names are plain strings
row limit—.limit(n) / $limit aggregation stage
datesRFC 822 text, for example Mon, 18 Sep 2026 14:30:00 GMTISODate() / BSON date (millisecond epoch internally)
long text—String (BSON string, no length limit)
binaryVia enclosure URLs, not inlineBinData (BSON binary subtype)
separatorXML elements—
encodingDeclared in the XML declaration—
typingNone—
shapeChannel plus repeated <item> elementsCollections of documents with optional nesting
ceilingA feed is a window on recent items, not a full data set—

Command line

SideCommand
MongoDBmongoexport --collection=c --out=f.json
MongoDB (load)mongoimport --collection=c --file=f.json

FileToMongo without the manual work

For batch jobs, large files and scheduling use the FileToMongo converter — an offline desktop app for Windows, Linux and macOS. Free trial.