X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/16504524c9c4c20baaced2289681d84fe6263f0e..89953e3e19d3e5fb0f5c9d47e3905fde27ab08cb:/doc/plugins/aggregate/discussion.mdwn diff --git a/doc/plugins/aggregate/discussion.mdwn b/doc/plugins/aggregate/discussion.mdwn index 9077d7eb5..2ecdea2e3 100644 --- a/doc/plugins/aggregate/discussion.mdwn +++ b/doc/plugins/aggregate/discussion.mdwn @@ -11,7 +11,7 @@ I'm trying to set up a [planet of my users' blogs](http://help.schmonz.com/plane tag="schmonz" ]] - [[!aggregate + \[[!aggregate name="Amitai's photos" url="http://photos.schmonz.com/" dir="planet/schmonz-photos" @@ -26,6 +26,21 @@ I'm trying to set up a [planet of my users' blogs](http://help.schmonz.com/plane Two things aren't working as I'd expect: 1. `expirecount` doesn't take effect on the first run, but on the second. (This is minor, just a bit confusing at first.) -2. Where are the article bodies for e.g. David's and Nathan's blogs? The bodies aren't showing up in the `._aggregated` files for those feeds, but the bodies for my own blog do, which explains the planet problem, but I don't understand the underlying aggregation problem. (Those feeds include article bodies, and show up normally in my usual feed reader rss2email.) How can I debug this further? +2. Where are the article bodies for e.g. David's and Nathan's blogs? The bodies aren't showing up in the `._aggregated` files for those feeds, but the bodies for my own blog do, which explains the planet problem, but I don't understand the underlying aggregation problem. (Those feeds include article bodies, and show up normally in my usual feed reader rss2email.) How can I debug this further? --[[schmonz]] + +> I only looked at David's, but its rss feed is not escaping the html +> inside the rss `description` tags, which is illegal for rss 2.0. These +> unknown tags then get ignored, including their content, and all that's +> left is whitespace. Escaping the html to `<` and `>` fixes the +> problem. You can see the feed validator complain about it here: +> +> +> It's sorta unfortunate that [[cpan XML::Feed]] doesn't just assume the +> un-esxaped html is part of the description field. Probably other feed +> parsers are more lenient. --[[Joey]] + +>> Thanks for the quick response (and the `expirecount` fix); I've forwarded it to David so he can fix his feed. Nathan's Atom feed validates -- it's generated by the same CMS as mine -- so I'm still at a loss on that one. --[[schmonz]] ---[[schmonz]] +>>> Nathan's feed contains only summary elements, with no content elements. +>>> This is legal according to the Atom spec, so I've fixed ikiwiki to use +>>> the summary if no content is available. --[[Joey]]