We need to produce JSON with keys: summary, category, article_html. The article must be in HTML. Constraints: H1 primary keyword, H2 for 5-7 main sections, H3 for subsections. P tags: 2-3 per section, each 100-150 words. UL/OL lists 5-10 items. Use STRONG for key terms. End with 3-5 FAQ questions as H3. Minimum 1500 words. Actionable tone. Include specific book recommendations, authors, key takeaways.
We need to design around 1500+ words. Each P 100-150 words. Let's aim for 7 H2 sections, each with 2 P tags? Actually each section has 2-3 P tags. 7 sections * 2 P = 14 P sections. Each 100-150 words: average 125 words, 14 * 125 = 1750 words. That meets minimum 1500 words. Good.
Each section: H2. Subsections H3 maybe for specific book lists? Could have H3 for each book within the section? But we need H3 for subsections. We can have H3 for each book or for categories. Let's design each section to have a H3 for each book type or maybe list? But UL/OL lists for lists of books. Let's make each section contain a UL of books. But need H3 for subsections. We can use H3 for "Book 1: Title" then paragraph? But we need 2-3 P tags per section, not per book. So maybe each section has a H3 for each book, but P tags for the section overall. But we can do H3 for categories like "Developmental Psychology" etc. But we need 5-10 items in UL/OL. So each section can have a list of books. That covers the requirement.
Also include strong tags for key terms.
The article should be around 1700 words. We'll craft text accordingly.
Need to ensure that only JSON is returned, no markdown, no code fences. So final output will be JSON string.
We'll need to escape quotes for JSON. Need to be careful with HTML string containing quotes. We'll use single quotes inside HTML? But HTML attributes use double quotes. In JSON string, double quotes need to be escaped. We'll embed the HTML as a string with escaped quotes: e.g., "
Best Books to Read During Pregnancy for an Intelligent Baby
" etc. We'll escape double quotes within JSON. The JSON string will have double quotes outside and inside; we need to escape them. So we need to produce a JSON object with string values. The article_html will include HTML content; we need to escape all double quotes inside; but we can use single quotes for attribute values to avoid escaping. But HTML attributes usually use double quotes; but we can use single quotes by default; e.g.,- Book etc. No attributes needed. So we can keep it simple. We also need to ensure the length of article_html is at least 1500 words. We'll produce content accordingly. Let's draft the article content. Primary keyword: "best books to read during pregnancy" maybe? H1 should contain primary keyword. Let's set H1: "Best Books to Read During Pregnancy for an Intelligent Baby". That includes the keyword. We'll structure: H1: as above. H2 sections: 1. Understanding Prenatal Development: Why Reading Matters 2. Cognitive Growth: Books that Stimulate Baby’s Brain 3. Emotional Bonding: Books for a Strong Parent-Child Connection 4. Health & Nutrition: Guides for a Healthy Pregnancy 5. Preparing for Parenthood: Practical Wisdom for New Parents 6. Creative Play & Language: Books to Build Early Skills 7. Mindful Pregnancy: Stress Reduction & Mindfulness Maybe 7 sections. Each with 2-3 paragraphs (P tags). Each paragraph 100-150 words. We'll ensure that. Within each section, we can have a H3 for subsections: maybe each book? But we can also have H3 for "Recommended Books" and then UL list. That would be a subsections. But we need 5-10 items. We'll use UL with 5-6 items. We'll keep strong tags for key terms. End with 3-5 FAQ questions as H3. That will be separate H3 elements after sections? But the FAQ should be H3 tags, each containing question and answer? The rule: "End with 3-5 FAQ questions as H3". So we need H3 for each FAQ question. The answer can be within a P tag following the H3? But specification says end with FAQ questions as H3. The question itself is H3; maybe answer inside next P. We'll do that. We need 3-5 FAQs. We also need actionable tone. Let's craft the content. Word counts: each paragraph 120 words average. 2 paragraphs per section => 240 words per section. 7 sections => 1680 words. Good. We also have list items inside UL; but those are not counted as words? They count. We'll keep each item short, but still words. Let's draft the content. We need to include specific book recommendations, authors, key takeaways. We'll mention authors like "Dr. John Medina" etc. Let's craft each section. Section 1: Understanding Prenatal Development: Why Reading Matters Paragraph 1: talk about prenatal brain development, importance of stimulation, benefits of reading. 120 words. Paragraph 2: mention research, benefits, actionable advice: choose books, set reading schedule, involve partner, etc. List: recommended books: "Prenatal Brain Development" by Dr. John Medina, "The Prenatal Brain" by Dr. James Melville, etc. Provide 6 items. Section 2: Cognitive Growth: Books that Stimulate Baby’s Brain Paragraph 1: talk about stimulating baby's brain via language, rhythm. 120 words. Paragraph 2: actionable: choose books with rhymes, simple sentences, etc. List of books: "The Very Hungry Caterpillar" (Dr. Eric Carle) etc. Section 3: Emotional Bonding: Books for a Strong Parent-Child Connection Paragraph 1: talk about bonding, reading to fetus, emotional benefits. Paragraph 2: actionable: create routine, use soothing voice, etc. List: "Goodnight Moon" (Marya W. O'Connor), "Where the Wild Things Are" (Maurice Sendak), etc. Section 4: Health & Nutrition: Guides for a Healthy Pregnancy Paragraph 1: talk about nutrition, physical health, reading to stay informed. Paragraph 2: actionable: choose books that provide evidence-based guidance. List: "The Whole 9 Months" by Dr. Yoni Freedhoff, "What to Expect When You’re Expecting", etc. Section 5: Preparing for Parenthood: Practical Wisdom for New Parents Paragraph 1: talk about building confidence, planning. Paragraph 2: actionable: use books for birth plan, postpartum care. List: "The Birth Partner" by Penny Simkin, "Ina May’s Guide to Childbirth". Section 6