ikiwiki/IkiWiki/Plugin
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
..
404.pm add missing getsetup hook 2010-07-13 15:23:44 -04:00
aggregate.pm aggregate enclosures 2021-12-25 12:59:27 -04:00
amazon_s3.pm prune: do not prune beyond an optional base directory, and add a test 2012-04-07 17:52:29 +01:00
anonok.pm Group related plugins into sections in the setup file, and drop unused rcs plugins from the setup file. 2010-02-11 22:24:15 -05:00
attachment.pm CGI, attachment, passwordauth: harden against repeated parameters 2017-01-11 18:11:07 +00:00
autoindex.pm Silence "used only once: possible typo" warnings for variables that are part of modules' APIs 2016-01-19 11:24:18 +00:00
blogspam.pm useragent: Automatically choose whether to use LWPx::ParanoidAgent 2019-02-26 22:21:27 +00:00
brokenlinks.pm brokenlinks: sort the pages that link to the missing page, for better reproducibility 2015-06-09 22:28:31 +01:00
bzr.pm cloak user PII when making commits etc, and let cloaked PII be used in banned_users 2015-05-14 11:58:21 -04:00
calendar.pm Silence "used only once: possible typo" warnings for variables that are part of modules' APIs 2016-01-19 11:24:18 +00:00
camelcase.pm Avoid %links accumulating duplicates. (For TOVA) 2009-05-06 00:27:24 -04:00
color.pm color: Use markup for the preserved CSS, not character data 2017-05-16 12:08:55 +01:00
comments.pm fix permalink to comments 2019-01-21 11:57:23 -04:00
conditional.pm In all=no conditionals, depend on the influences, not the test pagespec 2014-03-03 11:30:36 +00:00
creole.pm format plugin categorization 2010-02-12 01:10:36 -05:00
cutpaste.pm cutpaste: Fix bug that occured in some cases involving inlines when text was pasted on a page before being cut. 2010-09-15 16:24:50 -04:00
cvs.pm Update my surname to its new legal spelling. 2016-09-14 14:28:01 -04:00
darcs.pm cloak user PII when making commits etc, and let cloaked PII be used in banned_users 2015-05-14 11:58:21 -04:00
date.pm setup file ordering 2010-02-12 06:35:52 -05:00
ddate.pm finalise version 3.00 of the plugin api 2008-12-23 16:34:19 -05:00
editdiff.pm fix pagediff to not display as "preview" 2010-05-06 22:19:14 -04:00
editpage.pm Force CGI::FormBuilder->field to scalar context where necessary 2016-12-28 21:32:12 +00:00
edittemplate.pm edittemplate: use unambiguous RFC 3339 datestamps 2014-09-01 09:01:07 +01:00
emailauth.pm When emailauth can't send, show the error message. 2018-05-13 09:52:04 -04:00
embed.pm finalise version 3.00 of the plugin api 2008-12-23 16:34:19 -05:00
external.pm external: Disable RPC::XML's "smart" encoding, which sent ints for strings that contained only a number, fixing a longstanding crash of the rst plugin. 2010-09-14 15:37:45 -04:00
favicon.pm finalise version 3.00 of the plugin api 2008-12-23 16:34:19 -05:00
filecheck.pm filecheck: accept MIME types that don't contain ';' 2014-09-10 09:00:20 +01:00
flattr.pm Revert "insert flattr javascript via sanitize, not format hook" 2010-08-12 18:18:35 -04:00
format.pm txt: Fix display when used inside a format directive. 2010-10-25 22:37:34 -04:00
fortune.pm setup file ordering 2010-02-12 06:35:52 -05:00
getsource.pm use cgitemplate, remove misctemplate 2011-01-05 17:15:38 -04:00
git.pm git: don't redundantly pass "--" to git_sha1 2017-01-09 13:58:58 +00:00
goodstuff.pm repolist: New plugin to support the rel=vcs-* microformat. 2009-01-07 16:07:46 -05:00
google.pm Add placeholder text in search form (in html5 mode only). 2010-05-02 13:49:56 -04:00
goto.pm Make sure we do not pass multiple CGI parameters in function calls 2014-10-16 22:24:47 +01:00
graphviz.pm Give graph an optional "file" param, like table's. 2018-10-22 00:24:59 -04:00
haiku.pm haiku: if deterministic build is requested, return a hard-coded haiku 2015-06-09 22:30:43 +01:00
headinganchors.pm apply Changaco's patch to make headinganchors more like mediawiki's 2011-06-21 15:22:36 -04:00
highlight.pm Catch up to highlight 4.0 API change. 2021-05-14 08:46:53 +02:00
hnb.pm hnb: Fixed broken use of mkstemp that had caused dangling temp files, and prevented actually rendering hnb files. 2010-06-27 13:49:51 -04:00
html.pm format plugin categorization 2010-02-12 01:10:36 -05:00
htmlbalance.pm htmlbalance: be compatible with HTML::Tree 4.0 2010-09-26 22:33:54 +01:00
htmlscrubber.pm htmlscrubber: Add support for the video tag's loop and muted attributes. 2017-07-11 15:51:44 -04:00
htmltidy.pm htmltidy: Avoid breaking the sidebar when websetup is running. 2011-02-03 12:49:13 -04:00
httpauth.pm httpauth: If REMOTE_USER is empty, behave as though it was unset 2017-05-14 15:37:45 +01:00
img.pm img: Explicitly detect format if needed 2018-02-28 09:56:08 +00:00
inline.pm Fix inline plugin for non-ASCII rootpage 2019-02-03 13:15:35 +00:00
link.pm link: Fix renaming wikilinks that contain embedded urls. 2012-04-18 15:15:11 -04:00
linkmap.pm display the pagetitle() in linkmaps 2012-03-15 14:38:42 +01:00
listdirectives.pm needsbuild hook interface changed; the hooks should now return the modified array of things that need built. (Backwards compatability code keeps plugins using the old interface working.) 2010-09-07 12:08:59 -04:00
localstyle.pm localstyle: New plugin, allows overrding the toplevel local.css with one that is closer to a page. 2009-11-09 13:39:05 -05:00
lockedit.pm stop using REMOTE_ADDR 2010-06-23 16:35:51 -04:00
loginselector.pm loginselector: When only openid and emailauth are enabled, but passwordauth is not, avoid showing a "Other" box which opens an empty form. 2016-03-02 16:35:16 -04:00
map.pm map: postprocess to collapse useless </ul><ul> sequences 2013-02-24 13:10:24 +00:00
mdwn.pm Fix inverted footnote config with MultiMarkdown. 2019-09-04 19:01:28 -04:00
mercurial.pm cloak user PII when making commits etc, and let cloaked PII be used in banned_users 2015-05-14 11:58:21 -04:00
meta.pm meta: Error if we can't parse dates because Date::Parse is missing 2018-03-21 09:33:04 +00:00
mirrorlist.pm Always produce HTML5 doctype and new attributes, but not new elements 2014-10-16 11:04:53 +01:00
moderatedcomments.pm stop using REMOTE_ADDR 2010-06-23 16:35:51 -04:00
monotone.pm cloak user PII when making commits etc, and let cloaked PII be used in banned_users 2015-05-14 11:58:21 -04:00
more.pm more: Add pages parameter to limit where the more is displayed. (thanks, dark) 2010-11-16 15:00:04 -04:00
norcs.pm Add a second parameter to the rcs_diff hook, and avoid bloating memory reading in enormous commits. 2010-12-29 19:58:49 -04:00
notifyemail.pm Force CGI::FormBuilder->field to scalar context where necessary 2016-12-28 21:32:12 +00:00
opendiscussion.pm opendiscussion: don't allow editing discussionpage if discussion is disabled 2013-01-02 18:05:33 +00:00
openid.pm useragent: Automatically choose whether to use LWPx::ParanoidAgent 2019-02-26 22:21:27 +00:00
orphans.pm setup file ordering 2010-02-12 06:35:52 -05:00
osm.pm Call srcfile() with nothrow, as clearly intended. 2018-04-23 22:28:49 -04:00
otl.pm format plugin categorization 2010-02-12 01:10:36 -05:00
pagecount.pm setup file ordering 2010-02-12 06:35:52 -05:00
pagestats.pm Make pagestats output more deterministic. 2016-12-19 18:21:07 +00:00
pagetemplate.pm finalise version 3.00 of the plugin api 2008-12-23 16:34:19 -05:00
parentlinks.pm indent 2010-12-25 13:23:23 -04:00
passwordauth.pm add and use cgiurl_abs_samescheme 2018-01-05 11:59:35 -04:00
pingee.pm setup file ordering 2010-02-12 06:35:52 -05:00
pinger.pm useragent: Automatically choose whether to use LWPx::ParanoidAgent 2019-02-26 22:21:27 +00:00
po.pm po: Always filter .po files 2019-02-24 17:23:34 +00:00
poll.pm rename postvote to postlink 2018-11-26 13:23:50 -04:00
polygen.pm polygen: if deterministic build is requested, use a well-known random seed 2015-06-09 22:30:44 +01:00
postsparkline.pm setup file ordering 2010-02-12 06:35:52 -05:00
prettydate.pm revert change to prettydate 2012-02-02 22:27:55 -04:00
progress.pm setup file ordering 2010-02-12 06:35:52 -05:00
rawhtml.pm format plugin categorization 2010-02-12 01:10:36 -05:00
recentchanges.pm Do not pass ignored sid parameter to checksessionexpiry 2014-10-12 18:03:57 +01:00
recentchangesdiff.pm append javascript after CSS 2019-02-03 17:01:55 +00:00
relativedate.pm append javascript after CSS 2019-02-03 17:01:55 +00:00
remove.pm remove: make it clearer that repeated page parameter is OK here 2017-01-11 18:11:21 +00:00
rename.pm Force CGI::FormBuilder->field to scalar context where necessary 2016-12-28 21:32:12 +00:00
repolist.pm add section information 2010-02-12 04:22:15 -05:00
rsync.pm Added a "changes" hook. Renamed the "change" hook to "rendered", but 2012-03-28 18:43:07 -04:00
search.pm Fix typo. 2016-02-20 22:00:54 -05:00
shortcut.pm shortcut: Support Wikipedia's form of url-encoding for unicode characters 2012-03-03 11:27:59 -04:00
sidebar.pm Revert po vs. template kludges. 2010-07-11 11:03:41 +02:00
signinedit.pm Group related plugins into sections in the setup file, and drop unused rcs plugins from the setup file. 2010-02-11 22:24:15 -05:00
skeleton.pm.example remove misc section 2012-03-28 20:36:25 -04:00
smiley.pm smiley: warn instead of error for missing smileys 2010-08-13 17:58:21 -04:00
sortnaturally.pm Add path and path_natural sort orders 2011-12-06 14:26:27 -04:00
sparkline.pm Use Digest::SHA built into perl rather than external Digest::SHA1 to simplify dependencies. Closes: #591040 2010-07-31 15:54:25 -04:00
svn.pm cloak user PII when making commits etc, and let cloaked PII be used in banned_users 2015-05-14 11:58:21 -04:00
table.pm Fix table plugin can handle UTF-8 csv format 2019-01-31 20:37:06 +00:00
tag.pm Silence "used only once: possible typo" warnings for variables that are part of modules' APIs 2016-01-19 11:24:18 +00:00
template.pm protect $@ whenever a block using $@ is non-trivial 2014-02-21 17:06:36 +00:00
templatebody.pm Add templatebody plugin and directive, and enable it by default 2014-03-05 10:42:19 +00:00
testpagespec.pm setup file ordering 2010-02-12 06:35:52 -05:00
teximg.pm Squelch regex deprecation warnings from Perl 5.22. 2015-06-14 21:35:51 -04:00
textile.pm format plugin categorization 2010-02-12 01:10:36 -05:00
theme.pm theme: Now <TMPL_IF THEME_$NAME> can be used in all templates when a theme is enabled. 2013-05-16 22:20:56 -04:00
tla.pm cloak user PII when making commits etc, and let cloaked PII be used in banned_users 2015-05-14 11:58:21 -04:00
toc.pm use heading identifiers in TOC links 2017-05-16 08:55:23 +01:00
toggle.pm append javascript after CSS 2019-02-03 17:01:55 +00:00
trail.pm trail: Allow unescaped punctuation in pagenames 2019-02-03 12:52:42 +00:00
transient.pm prune: do not prune beyond an optional base directory, and add a test 2012-04-07 17:52:29 +01:00
txt.pm txt: Fix display when used inside a format directive. 2010-10-25 22:37:34 -04:00
typography.pm remove unnecessary IkiWiki:: 2010-02-12 04:01:04 -05:00
underlay.pm Add missing plugin section, and deal with missing sections with a warning. 2013-03-04 13:03:34 -04:00
userlist.pm encode html 2011-06-09 10:46:09 -04:00
version.pm needsbuild hook interface changed; the hooks should now return the modified array of things that need built. (Backwards compatability code keeps plugins using the old interface working.) 2010-09-07 12:08:59 -04:00
websetup.pm Standardize on --long-option instead of -long-option 2015-03-01 16:15:01 +00:00
wikitext.pm format plugin categorization 2010-02-12 01:10:36 -05:00
wmd.pm Use local paths when including Javascript 2010-11-23 00:06:07 +00:00