16 lines
526 B
HTML
16 lines
526 B
HTML
-----
|
|
-----
|
|
<%
|
|
language=@item_rep.path.sub(%r{#{@config[:webprefix]}/},'').sub(/\/.*$/,'')
|
|
number_of_char_for_resume=800
|
|
|
|
%><%= atom_feed( {
|
|
:articles => articles.select { |a| a.reps[0].path =~ /\/#{language}\// },
|
|
:content_proc =>lambda { |a|
|
|
repair_html(
|
|
excerptize(
|
|
a.compiled_content(:snapshot => :pre),
|
|
{:length => number_of_char_for_resume} ))
|
|
},
|
|
:limit => 40
|
|
}) %>
|