' + file.gsub(/_.*$/, '').to_i.to_s + '. ' + title + '
' + "\n" + - '[' + date + ']
' + "\n" + + '[' + $template_lang[locale]['published'] + ' ' + date + ']
' + "\n" + 'diff --git a/config/build/create-indexes-feeds b/config/build/create-indexes-feeds index 4204f1a..552e818 100755 --- a/config/build/create-indexes-feeds +++ b/config/build/create-indexes-feeds @@ -29,7 +29,8 @@ end # Formats date in RFC 2822 def format_date date - raw_date = date.gsub(/[\/:]/, ',').gsub(/\s+/, '').split(',') + raw_date = date.gsub(/[\/:]/, ',').gsub(/[\s+|[A-Za-zÁÉÍÓÚÜáéíóúü]+]/, '').split(',') + raw_date = raw_date.reject{|e| e.empty?} par_date = DateTime.new(raw_date[0].to_i, raw_date[1].to_i, raw_date[2].to_i, raw_date[3].to_i, raw_date[4].to_i, raw_date[5].to_i, DateTime.now.to_s[-6..-6] + DateTime.now.to_s[-4..-4]) @@ -53,13 +54,13 @@ Dir.glob('content/html/*').each do |local| .strip date = File.read(f) .gsub(/\n/, '') - .gsub(/^.*?#{$template_lang[locale]['build']}\s+(\d+.+?)\..*$/, '\1') + .gsub(/^.*?#{$template_lang[locale]['published']}\s+([^<]+?)<.*$/, '\1') .strip if title != '' content.push('
' + file.gsub(/_.*$/, '').to_i.to_s + '. ' + title + '
' + "\n" + - '[' + date + ']
' + "\n" + + '[' + $template_lang[locale]['published'] + ' ' + date + ']
' + "\n" + '+Published: 2019/03/20, 13:00
+
This blog is about “free publishing” but, what does that means? The term “free” it isn't only problematic in English. May be more than in others languages because of the confusion between “free as in beer” and “free as in speech.” But by itself the concept of freedom is so ambiguous than even in Philosophy we are very careful in its use. Even though it is a problem, I like that the term doesn't have a clear definition—at the end, how free could we be if freedom is well defined?
Some years ago, when I started to work hand-in-hand with Programando Libreros and Hacklib, I realized that we weren't just doing publishing with free software. We are doing free publishing. So I attempted to defined it in a post but it doesn't convince me anymore.
The term was floating around until December, 2018. At Contracorriente—yearly fanzine fair celebrated in Xalapa, Mexico—Hacklib and me were invited to give a talk about publishing and free software. Between all of us we made a poster of everything we talked that day.
@@ -57,7 +60,7 @@