From ea23041b6a610315f82b0cc9571b6c5e656dee01 Mon Sep 17 00:00:00 2001 From: Dave Jones Date: Fri, 16 Oct 2020 15:12:59 -0500 Subject: [PATCH] images srcset - #43 --- README.md | 36 ++++++++---------------------------- example.xml | 21 ++++++++++++--------- 2 files changed, 20 insertions(+), 37 deletions(-) diff --git a/README.md b/README.md index 51532eb..4d325ab 100644 --- a/README.md +++ b/README.md @@ -161,39 +161,19 @@ Please read it before contributing if you aren't familiar with it.
-- **\** +- **\** Channel or Item (optional | single) - This is assumed to point to an image that is 1000px or larger in size. The image must be square (1:1 ratio). The image content may differ from other images specified in the feed where appropriate. - - All attributes are required. - -
- -- **\** - - Channel or Item - - (optional | single) - - This is assumed to point to an image that is 300px to 999px in size. - The image must be square (1:1 ratio). The image content may differ from other images specified in the feed where appropriate. - - All attributes are required. - -
- -- **\** - - Channel or Item - - (optional | single) - - This is assumed to point to an image that is 299px or less in size. - The image must be square (1:1 ratio). The image content may differ from other images specified in the feed where appropriate. + This points to a group of images, separated by commas - each with a pixel width declared after them. It is highly recommended that the images referenced + be square (1:1 ratio), as this is the industry standard for podcast album art, and what podcast apps expect to work with. The srcset attribute is designed + to work like the ```srcset``` attribute in the HTML5 specification. Suggested widths are 1500px, 600px, 300px and 150px. See the example feed in this + repo for an example of how this looks in practice. All attributes are required. diff --git a/example.xml b/example.xml index e6ec34f..56e071d 100644 --- a/example.xml +++ b/example.xml @@ -2,7 +2,7 @@ Podcast Feed Template - This is a fake show that exists only as an example of the "podcastindex" namespace. + This is a fake show that exists only as an example of the "podcast" namespace. http://podcastindex.org http://blogs.law.harvard.edu/tech/rss en-US @@ -12,19 +12,23 @@ dave@podcastindex.org (Dave Jones) support@podcastindex.org (Tech Support) - https://raw.githubusercontent.com/Podcastindex-org/art-graphics-logos/master/pci_avatar.jpg + https://example.com/images/pci_avatar-massive.jpg Podcast Feed Template https://podcastindex.org + + yes + US|Columbus, OH + Dave Jones no episodic - US|Columbus, OH - https://raw.githubusercontent.com/Podcastindex-org/art-graphics-logos/master/pci_avatar.jpg - https://raw.githubusercontent.com/Podcastindex-org/art-graphics-logos/master/pci_avatar.jpg - https://raw.githubusercontent.com/Podcastindex-org/art-graphics-logos/master/pci_avatar.jpg - https://raw.githubusercontent.com/Podcastindex-org/art-graphics-logos/master/pci_avatar.jpg + https://example.com/images/pci_avatar-massive.jpg + News Commentary @@ -36,10 +40,9 @@ adbuy@podcastindex.org abuse@podcastindex.org - yes https://yeoldhostingprovider.com/podcast479923 https://myveryfirstpodcasthost.com/show251.xml - 1348299 + https://example.com/pc20trailer.mp4