From e0f8bc00a14f1def8be757c3b6cc7a36d3a51f00 Mon Sep 17 00:00:00 2001 From: Taloth Date: Sat, 6 Aug 2016 16:57:18 +0200 Subject: [PATCH] Updated Implementing a Torznab indexer (markdown) --- Implementing-a-Torznab-indexer.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Implementing-a-Torznab-indexer.md b/Implementing-a-Torznab-indexer.md index 63e2fa7..f878791 100644 --- a/Implementing-a-Torznab-indexer.md +++ b/Implementing-a-Torznab-indexer.md @@ -61,11 +61,12 @@ Implementing this mode is mandatory. The caps response for torznab is mostly the same as newznab. However, newznab specifies a list of default categories. It's recommended to keep those categories intact, Client applications can then query one of the defaults, instea -Many torrent sites have their own rss categories starting at '1', it's recommended not to map these 1 to 1 on newznab categories but instead add 100000 to the number. That way it falls in the site specific range and does not interfere with the original newznab categories. -The api should then alias all site-specific categories in one of the original newznab category. +Many torrent sites have their own rss categories starting at '1', it's recommended not to map these 1 to 1 on newznab categories but instead add 100000 to the number. That way it falls in the site specific range and does not interfere with the original newznab categories. +The api should then alias all site-specific categories in one of the original newznab category. + For example, if you have category 10 as Blu-Ray 1080p TV, then releases in that category would use the torznab api cats 100010,5040,5000 (Site-specific, TV/HD, TV). -Any query that includes any of those numbers in the `cat=` parameter would return those releases as results. -Of course it's also allowed to omit the site-specific categories entirely, and map only on newznab categories. +Any query that includes any of those numbers in the `cat=` parameter would return those releases as results. +Of course it's also allowed to omit the site-specific categories entirely, and map only on newznab categories. A full list of default categories can be found in the References at the bottom of this page. @@ -121,11 +122,12 @@ Torznab defines a couple of attributes using the ```xmlns:torznab="http://torzna I'm keeping the list in the reference linked below, but here is a table with the torrent-specific stuff: `````` -All these attributes are optional, the bold ones are recommended. +All these attributes are optional, the bold ones are recommended. Please note that this list consists of the attributes added to torznab, please check out the basic newznab attributes as well. | Name | Type | Description | |:---------------------|:--------|:-----------------------------------------------| | type | string | series,movie,music,book (if unknown just omit) | +| **size** | integer | size of the release in bytes | | **tvdbid** | integer | id for thetvdb.com | | rageid | integer | id for tvrage.com | | **tvmazeid** | integer | id for tvmaze.com |