section_header=section_header_title[0].parent# parent element of the section span element should be an <h3> node
cur_element=section_header
# p|text|div covers the general case. We assume presence of at least 1 P node. if section has no P node we may end up with a P node from the next section.
# div tag is commonly used as an assets wraper in an article section. often as the first element holding an image.
# ul support will imporve the output generated for a section with a list as the main content (for example: an Author Bibliography, A musician Discography, etc)
first_p_found=nil
while(((next_sibling=cur_element.next_sibling).name=~/p|text|div|ul/)||first_p_found.nil?)do# from section header get the next sibling until it is a breaker tag
cur_element=next_sibling
if(cur_element.name=="p"||cur_element.name=="ul")#we treat a list as we detect a p to avoid showing
title:raw.css("html body h1").inner_text+(section_title_text?" | "+section_title_text:""),#if a section sub title exists add it to the main article title