Hi Andy,
This is a situation for which nanoc doesn’t have convenience methods yet :)
In your RSS feed, you need to create a hard dependency on all the MP3 files. You’d do this by starting the RSS feed with this:
# Create dependencies
mp3_items.each do |item|
Nanoc::NotificationCenter.post(:visit_started, item)
Nanoc::NotificationCenter.post(:visit_ended, item)
end
# Require compilation
mp3_items.each do |item|
rep = item.reps.find { |r| !r.compiled? }
raise Nanoc::Errors::UnmetDependency.new(rep) if rep
end
(Assuming mp3_items contains all items included in the RSS feed.)
I’ll see about adding a much nicer built-in way of doing this in nanoc by default!
Denis
> --
> --
> 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
>
> ---
> You received this message because you are subscribed to the Google Groups "nanoc" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
nanoc+un...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>