ikiwiki/IkiWiki
Joey Hess 7591cf7776
aggregate enclosures
aggregate: When a feed has an enclosure that is an image, audio, or video,
include the enclosure in the generated page.

The enclosure is hotlinked from the original feed, not copied.

My use case is to include a mastodon rss feed in amoung other rss feeds for
users who don't use mastodon. It could also be used to aggregate together
podcasts, etc.

Other enclosure types than image, audio, video, could be added, perhaps
a generic one? But these are the main ones.

The template uses 50% width for image and video, because often
attachments are in a high resolution, which will default to being
perhaps too wide for the page, or taking up a lot of vertical space. By
making it take up at most half the page width, that is avoided, while
also leaving room for any sidebar.

Sponsored-by: Shae Erisson on Patreon
2021-12-25 12:59:27 -04:00
..
Plugin aggregate enclosures 2021-12-25 12:59:27 -04:00
Setup Silence "used only once: possible typo" warnings for variables that are part of modules' APIs 2016-01-19 11:24:18 +00:00
CGI.pm Don't send relative redirect URLs when behind a reverse proxy 2018-01-08 10:56:12 +00:00
Receive.pm IkiWiki::Receive: Avoid using asprintf 2017-10-01 13:21:56 +01:00
Render.pm improve warning message for multiple sources for page 2016-05-31 15:29:09 -04:00
Setup.pm Detect plugins with a broken getsetup and warn. 2013-03-04 13:19:05 -04:00
UserInfo.pm remove deprecated admin prefs 2008-12-24 16:16:03 -05:00
Wrapper.pm Need <sys/wait.h> for waitpid (NetBSD 8 warns). 2018-08-21 11:30:55 +02:00