# Documentation for MalRssFilter2

## 0. Index

1. Generating a link
2. Filtering
3. Available filters
4. Data extraction
5. Examples

## 1. Generating a link

> To generate a link, use the [generator](https://desu.jojoxd.nl/MalRssFilter2/generate.html)

## 2. Filtering

To filter, you can use the `tags` field in MAL or the `notes` field on AniList.

Both have a different way of defining the filters;

Anilist: `#rssf:<type>(:override)=<value>`  
MAL: `rssf:<type>(:override)=<value>`

optionally, you can change `rssf` to `filter`, `rss_filter` or `rssfilter`

## 3. Available filters

#### Release Channel
> `rc`, `releaseChannel` or `release_channel`

Allows changing of release channel for this item

#### Custom Filtering
> `filter`, `customFilter`

Allows matching against the specified string (_not a regex_)

#### dl
> `dl`

Allowed Values:

| Value | Explanation |
| ----- | ----------- |
| unwatched | Filters out watched episodes |
| (anything else) | Allows the filter to continue, without filtering on dl |

#### Resolution
> `resolution`, `res` or `px`

Changes the filtered resolution

#### Batch Mode
> `batch`

Overwrites global batch mode for this item

#### Episode Start
> `episodeStart`

When a release channel decides the episode count should start at 200 (continuation of previous season),
set that number here, it will map the correct values to the anime on MAL/AniList.

## 4. Data extraction

The site will attempt to extract data from the titles of the feed, you can see these in your filtered feed.

* resolution
* title
* releaseChannel
* crc
* episode (01 / 01v2 / s01e01)
* isBatch
* episodes
* hasExtension (mkv / mp4 / avi)

## 5. Examples

> Rename an anime (Some release channels like to use different names)  
> `#rssf:synonym:override="My Anime Title"`

> Changing the release channel  
> `#rssf:rc:override="My Release Channel"`  
> NOTE: If you don't use the `:override`, it will use "My Release Channel" or the one you specified at step 1
