diff --git a/index.md b/index.md index 020f3aa..c08cadd 100644 --- a/index.md +++ b/index.md @@ -61,7 +61,7 @@ and **paste in the Feed URL.** **About Feeds** is a free site from [Matt Webb](https://interconnected.org). I made this site because _using web feeds for the first time is hard,_ and we can fix that. [Read about why this site exists.](why) -_**Are you a site owner?** Please consider adding a [Help! What is a feed?](https://aboutfeeds.com) link (or similar) next to your feed link or RSS icon. If you have access to the code, style your feed to make it friendly to new users with [pretty-feed.xsl](https://github.com/genmon/aboutfeeds/blob/main/tools/pretty-feed-v3.xsl)._ +_**Are you a site owner?** Please consider adding a [Help! What is a feed?](https://aboutfeeds.com) link (or similar) next to your feed link or RSS icon. If you have access to the code, style your feed to make it friendly to new users with [pretty-feed.js](https://github.com/genmon/aboutfeeds/blob/main/tools/pretty-feed-v3.js)._ To contribute or to give feedback, [start a discussion on the About Feeds repo on GitHub](https://github.com/genmon/aboutfeeds) or contact me. My email address is [over here](https://interconnected.org). diff --git a/tools/pretty-feed-v3.js b/tools/pretty-feed-v3.js new file mode 100644 index 0000000..efd192d --- /dev/null +++ b/tools/pretty-feed-v3.js @@ -0,0 +1,142 @@ +/* + +# Pretty Feed + +Styles an RSS/Atom feed, making it friendly for human viewers, and adds +a link to aboutfeeds.com for new user onboarding. See it in action: + + https://roblog.co.uk/feed.xml + +## How to use + +1. Download this Javascript file from the following URL and host it on your own domain: + + https://github.com/genmon/aboutfeeds/blob/main/tools/pretty-feed-v3.js + +2. Include the Javascript at the top of your RSS/Atom feed, like so: + +``` + + + +