diff --git a/qsgen2 b/qsgen2 index bc94449..96044d1 100755 --- a/qsgen2 +++ b/qsgen2 @@ -491,7 +491,8 @@ function _blogs() { BLOG_META_STR_ARRAY=() # Iterate over make_blog_array - for blog in "${make_blog_array[@]}"; do + for blog in "${make_blog_array[@]}" + do local content="$(<"${blog}")" sdate=( $( echo ${content} | grep DATE | sed "s|DATE\ ||" | sed "s|\-|\ |g" ) ) @@ -502,11 +503,11 @@ function _blogs() { blog_dir="/blog/${sdate[2]}/${sdate[3]:l}/${sdate[4]}" blog_url="${blog_dir}/${blog_index}.html" - echo "_blogs: get_index: Date = ${sdate[@]}" - echo "_blogs: get_index: URL = ${blog_url}" - echo "_blogs: get_index: Title = ${btitle}" - echo "_blogs: get_index: Ingress = ${ingress}" - exit + #echo "_blogs: get_index: Date = ${sdate[@]}" + #echo "_blogs: get_index: URL = ${blog_url}" + #echo "_blogs: get_index: Title = ${btitle}" + #echo "_blogs: get_index: Ingress = ${ingress}" + #exit if ${debug}; then echo "_blogs: Adding data for ${blog} to array"; fi