Recipe Help
Trying to make recipe for local newspaper. Want only three items: headline, byline, and story. I can include the story by using keep_only_tags command with div "blox-story-text."
The tag for the headline is found in <h1> of div id="blox-story." The tag for the byline is found in <p class="byline"> of div id="blox-story." Including the entire "blox-story" produces a lot of unwanted material. How can I target just the headline and byline?
|