17 lines
305 B
Ruby
17 lines
305 B
Ruby
require "time_math"
|
|
|
|
module Main
|
|
module Actions
|
|
module Blogroll
|
|
class Opml < Action
|
|
include Deps["views.blogroll.opml"]
|
|
|
|
def handle(req, res)
|
|
res.content_type = "text/xml; charset=utf-8"
|
|
res.render opml, format: :xml
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|