Commit 2cf5374d authored by Aurélio A. Heckert's avatar Aurélio A. Heckert

Happy log

parent e12ae942
...@@ -22,7 +22,7 @@ case $category in ...@@ -22,7 +22,7 @@ case $category in
evento) evento)
splitRE='.*<span class="tema-item">(\s*[0-9].*?)</span>.*<a class="titulo-item" href="([^"]+)">(.*?)</a>.*' splitRE='.*<span class="tema-item">(\s*[0-9].*?)</span>.*<a class="titulo-item" href="([^"]+)">(.*?)</a>.*'
url=$( echo $item | sed -r "s#$splitRE#\2#") url=$( echo $item | sed -r "s#$splitRE#\2#")
ev_date=$(echo $item|sed -r "s#$splitRE#\1#" | sed -r "s#<[^>]+>##g; s#^\s|\s\$##g; s#'#’#g") ev_date=$(echo $item|sed -r "s#$splitRE#\1#" | sed -r "s#<[^>]+>##g; s#^\s|\s\$##g; s#'#’#g; s# e outubro# de outubro#")
title=$(echo $item | sed -r "s#$splitRE#\3#" | sed -r "s#<[^>]+>##g; s#^\s|\s\$##g; s#'#’#g") title=$(echo $item | sed -r "s#$splitRE#\3#" | sed -r "s#<[^>]+>##g; s#^\s|\s\$##g; s#'#’#g")
tema=evento tema=evento
;; ;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment