The feed item itself will need a title attribute as well. The documentation for the blogging helper’s atom_feed function at [1] has a fairly verbose explanation of what details are needed to set up a feed.
In order to get the 5 most recent sorted articles, you can use Array#[], e.g. sorted_articles[0..4]. Depending on the Ruby version you’re on, you can also use sorted_articles.first(5).
Cheers,
Denis
[1]: http://nanoc.stoneship.org/docs/api/3.3/Nanoc/Helpers/Blogging.html#atom_feed-instance_method
> --
> You received this message because you are subscribed to the nanoc discusssion group.
>
> To post to this group, send email to na...@googlegroups.com
> To unsubscribe from this group, send email to
> nanoc+un...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/nanoc?hl=en