We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6324f7a commit 73c336aCopy full SHA for 73c336a
Rakefile
@@ -27,7 +27,7 @@ task :post_from do
27
html = URI.open(url).read
28
doc = Nokogiri::HTML.parse(html)
29
t = Time.parse(doc.xpath('//p[@class="date"]').children.first.to_s)
30
- tags = "[" + doc.xpath('//p[@class="tags"]/a').map{|a|
+ tags = "[" + doc.xpath('//p[@class="tag-link"]/a').map{|a|
31
a.children.first.to_s.strip
32
}.uniq.join(', ') + "]"
33
create_file_name = "#{t.strftime("%Y-%m-%d-")}#{title}.md"
0 commit comments