disqus, feed fix, deploy gem
This commit is contained in:
@ -1,13 +1,13 @@
|
||||
xml.instruct!
|
||||
xml.feed "xmlns" => "http://www.w3.org/2005/Atom" do
|
||||
site_url = "http://blog.url.com/"
|
||||
xml.title "Blog Name"
|
||||
xml.subtitle "Blog subtitle"
|
||||
site_url = "http://markamoser.com/"
|
||||
xml.title "Mark A Moser"
|
||||
xml.subtitle "Sharing what I learn"
|
||||
xml.id URI.join(site_url, blog.options.prefix.to_s)
|
||||
xml.link "href" => URI.join(site_url, blog.options.prefix.to_s)
|
||||
xml.link "href" => URI.join(site_url, current_page.path), "rel" => "self"
|
||||
xml.updated(blog.articles.first.date.to_time.iso8601) unless blog.articles.empty?
|
||||
xml.author { xml.name "Blog Author" }
|
||||
xml.author { xml.name "Mark Moser" }
|
||||
|
||||
blog.articles[0..5].each do |article|
|
||||
xml.entry do
|
||||
@ -16,7 +16,7 @@ xml.feed "xmlns" => "http://www.w3.org/2005/Atom" do
|
||||
xml.id URI.join(site_url, article.url)
|
||||
xml.published article.date.to_time.iso8601
|
||||
xml.updated File.mtime(article.source_file).iso8601
|
||||
xml.author { xml.name "Article Author" }
|
||||
xml.author { xml.name "Mark Moser" }
|
||||
# xml.summary article.summary, "type" => "html"
|
||||
xml.content article.body, "type" => "html"
|
||||
end
|
||||
|
Reference in New Issue
Block a user