Skip to content

sdepold/feedrapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome

Introduction

Feedr is a service for parsing RSS and Atom feeds. You just pass the URL of an RSS/Atom feed and the service will return the parsed feed as JSON. Feedr was originally designed as a drop-in replacement for Google's Feed API, which has been deprecated and taken offline on December 15th, 2016.

Usage

Feedr has to be requested with the query parameter q that contains the URL of the to-be-parsed RSS/Atom feed. An example request looks like this:

curl \
  -H 'Accept: application/json' \
  'https://www.feedrapp.info/api/?q=https://bitte.kaufen/magazin/feed/'

Options

In addition to the q parameter, Feedr supports other optional parameters.

Parameter Description Examples
callback Wraps the answer in a function call, which makes it compatible to JSONP calls callback=callback123456789
num Number of entries to load. Defaults to 4. num=15
encoding The text encoding of the to be parsed feed. Defaults to "utf8". Find supported values here. encoding=ISO-8859-1
order Specifies the order of entries. By default there is no ordering happening and the entries are kept in the order of the original RSS feed. The order can be overridden by providing any of the entry's fields (e.g. publishedDate, title, …). In order to reverse the order, just prefix the field with a -. order=title order=-publishedDate

Run it yourself

You can create your own copy of FeedrApp using the button below :)

Deploy your own FeedrApp copy with Vercel

Hosting

The hosting is powered and sponsored by Vercel. Thanks!

Local development

The following instructions outline the installation and bootup process on your local development machine. You will need Node.JS (e.g. version 18) and Yarn installed.

# Clone the repo
git clone https://github.com/sdepold/feedrapp.git

# Enter the directory
cd feedrapp

# Install dependencies
yarn

# Run the app in development mode
yarn dev

# To create and start a "production" build, run the following commands
yarn build
yarn start

After starting the app either in development or production mode, you can open http://localhost:3000 to visit the page.

You can see the parsing results through http://localhost:3000/api/?q=https://bitte.kaufen/magazin/feed/

License

MIT