funkwhale/api/tests/audio
Kuba Orlik 3a83290cc0 Fix feed formatting so it passes w3c validation
Feeds generated by Funkwhale do not pass validation with the [w3c
validator](https://validator.w3.org/feed/check.cgi?url=https%3A%2F%2Fpodcast.midline.pl%2Fapi%2Fv1%2Fchannels%2FMidline%2Frss).
This commit addresses the problems identified during validation:

1. The `isPermalink` is not recognized -> changed it to
   `isPermaLink` (capital "L")

2. `itunes:summary` and `itunes:subtitle` are 256 characters after
   truncating, but the maximum is 255. The truncating function trims the
   text to 255 chars, but then adds `…`, so the text is one character
   too long

3. The tags within `itunes:keywords` are now separated with commas
   instead of spaces (https://validator.w3.org/feed/docs/warning/InvalidKeywords.html)
2020-10-22 15:06:28 +02:00
..
__init__.py
test_filters.py Exclude external podcasts from library home 2020-04-22 09:17:05 +02:00
test_models.py First round of improvements to channel management: 2020-02-23 15:31:03 +01:00
test_serializers.py Fix feed formatting so it passes w3c validation 2020-10-22 15:06:28 +02:00
test_spa_views.py Faster tests by not creating covers unless mandatory 2020-03-23 14:29:01 +01:00
test_tasks.py See #170: subscribe to 3d-party RSS feeds in Funkwhale 2020-03-13 12:16:51 +01:00
test_views.py Fixed channels not displaying on user profile 2020-07-28 09:41:43 +02:00