Give us one or more feeds and we'll merge them into a single feed, we can also apply filters to remove unwanted items.
When making HTTP requests, you can pass the following parameters to mergefeeds.php (either in a GET request or POST request).
We do not provide form fields for all of these parameters, but you can modify the URL in your browser after clicking 'Create Feed' to use them. See our examples.
|url||string (URL)||One or more feed URLs. If more than one is supplied, the feeds will be merged. At least one URL is required.|
|url_contains||string (URL substring)||Filter out any feed item whose URL does not contain one of these substrings. This can appear multiple times. Example: /article/|
|text_contains||string (word or phrase)||Filter out any feed item whose title or description does not contain any of the supplied words or phrases. This can appear multiple times.|
|strip_if_url||string||Filter out any feed item whose URL contains any of the supplied words or phrases. This can appear multiple times.|
|strip_if_text||string||Filter out any feed item whose title or description contain any of the supplied words or phrases. This can appear multiple times.|
|t||string||The feed title to use in the generated feed.|
|description||1 (default), 0||By default we'll include item descriptions from source feeds (favouring full content when available). Set this to 0 to omit item descriptions from the output.|
|max||number (limit: 10)||The maximum number of items to return. The limit can be changed in the config file.|
|order||feed (default), date||By default feed items are kept in the same order as the source feed. Set this to 'date' if you want items ordered by date. Usually this will make no difference (feed items are usually already ordered by publication date), but some feeds will contain items with more recent dates lower down in the feed. Sometimes this is due to updates to older news items. Note: When merging two or more feeds, this is applied independently on each feed. The final merged result will contain feed items ordered by date.|
|format||rss (default), json||By default the output will be formatted as RSS 2.0. Set this to JSON if you prefer that.|
|saved||string||Saved request parameters. In the config file, you can associate a set of request parameters with a given name. You can then pass that name in the request instead of the request parameters. This is useful if you want to subscribe to a generated feed and then update it later without changing the feed URL.|