--- name:atom_template pipeline:erb -------------------------------------------- <%= h(context.node['title']) %> <%= h(context.node['description']) %> <%= h(context.node['author']) %> <%= h(context.node['author_url']) %> webgen - Webgen::PathHandler::Feed <%= Time.now.xmlschema %> <%= context.node.feed_link %> <% context.node.feed_entries.flatten.each do |entry| %> <%= h(entry['title']) %> <% if entry['author'] %> <%= h(entry['author']) %> <%= h(entry['author_url']) %> <% end %> <%= Webgen::Path.url(File.join(context.node['site_url'], entry.dest_path), false) %> <%= entry['modified_at'].xmlschema %> <% if entry['created_at'].kind_of?(Time) %> <%= entry['created_at'].xmlschema %> <% end %> <%= h(context.node.entry_content(entry)) %> <% end %> --- name:rss_template pipeline:erb --------------------------------------------- <%= h(context.node['title']) %> <%= context.node.feed_link %>" <%= h(context.node['description']) %> <%= Time.now.rfc822 %> <%= Time.now.rfc822 %> webgen - Webgen::PathHandler::Feed <% context.node.feed_entries.flatten.each do |entry| %> <%= h(entry['title']) %> <%= Webgen::Path.url(File.join(context.node['site_url'], entry.dest_path), false) %> <%= h(context.node.entry_content(entry)) %> <%= entry['modified_at'].rfc822 %> <%= Webgen::Path.url(File.join(context.node['site_url'], entry.dest_path), false) %> <% end %>