We need to write an SEO article about "best books to read for knowledge" or "good books to read for knowledge". The output must be JSON with keys: summary, category, article_html. The article_html must be full article in HTML. Must follow rules:
- Exactly ONE H1 at start with primary keyword. So H1: "Best Books to Read for Knowledge" maybe. Primary keyword likely "best books to read for knowledge". H1 exactly one.
- H2 for 5-7 main sections. Each section has 2-3 P tags, each 100-150 words.
- Use UL/OL lists (5-10 items). Use STRONG for key terms.
- End with 3-5 FAQ questions as H3. FAQs are H3.
- Minimum 1500 words total.
- Actionable tone.
- Include specific book recommendations, authors, key takeaways.
- Provide article_html with proper tags. Must not include markdown or code fences.
Now we need to produce content. Must ensure each paragraph 100-150 words. 2-3 paragraphs per section. 5-7 sections means roughly 10-21 paragraphs. 1500 words average 120 words per paragraph => 12-13 paragraphs. So 5 sections with 2-3 paragraphs each is 10-15 paragraphs. Good.
We need to count approximate words. Might approximate.
Let's craft:
H1: "Best Books to Read for Knowledge: Unlocking Insight and Wisdom"
Then H2 sections: "1. Foundational Classics that Shape Thinking", "2. Modern Nonfiction for Cognitive Growth", "3. Science & Technology to Understand the World", "4. Philosophy & Ethics for Deep Reflection", "5. Biographies & Memoirs for Life Lessons", maybe "6. Practical Guides for Skill Development".
We might do 6 sections.
Each section: 3 paragraphs maybe. 1500 words across 6 sections -> 250 words per section; 3 paragraphs of ~80 words each? Actually 250/3 ~83 words. But requirement: each paragraph 100-150 words. So 3 paragraphs of 120 words each -> 360 words per section. 6 sections -> 2160 words. Good.
Thus 6 sections each with 3 paragraphs of 120 words each. 6*3=18 paragraphs. 18*120=2160 words. Good.
We also need UL/OL lists within sections (5-10 items). Good.
Also include specific book recommendations, authors, key takeaways. Use STRONG for key terms.
FAQs: 3-5 H3. We'll do 4 FAQs.
Now produce article_html. Should wrap in maybe. But not necessary? Usually article_html can be just article content. Provide ,
, ,
,
- etc.
We need to keep within JSON string. So need to escape quotes. Use double quotes for JSON, but inside the string we use HTML with double quotes for attributes. So we need to escape inner double quotes in JSON string. But we can avoid using attributes with double quotes by using single quotes? But within JSON string we need to escape. Let's just use double quotes for attributes and escape them by backslash. That might be messy. Instead we can use single quotes for attributes:
- . That will avoid double quotes. Thus article_html is a string containing HTML tags. We'll ensure no double quotes. We'll use tags. Good. We need to have 1500+ words. We'll approximate. Now produce summary: 2-3 sentence meta description 150-160 chars. Let's craft: "Discover the top books that expand your knowledge across science, philosophy, and personal growth. From timeless classics to modern insights, these recommendations will sharpen your mind and inspire action." Count chars: Let's count: "Discover the top books that expand your knowledge across science, philosophy, and personal growth. From timeless classics to modern insights, these recommendations will sharpen your mind and inspire action." Let's count: "Discover" (8) + space 1 =9; "the"3=12; space=13; "top"3=16; space=17; "books"5=22; space=23; "that"4=27; space=28; "expand"6=34; space=35; "your"4=39; space=40; "knowledge"9=49; space=50; "across"6=56; space=57; "science,"7=64; space=65; "philosophy,"10=75; space=76; "and"3=79; space=80; "personal"8=88; space=89; "growth."6=95; space=96; "From"4=100; space=101; "timeless"8=109; space=110; "classics"8=118; space=119; "to"2=121; space=122; "modern"6=128; space=129; "insights,"9=138; space=139; "these"5=144; space=145; "recommendations"15=160; space=161; "will"4=165; space=166; "sharpen"7=173; space=174; "your"4=178; space=179; "mind"4=183; space=184; "and"3=187; space=188; "inspire"7=195; space=196; "action."6=202. So 202 chars > 160. Need 150-160. Let's shorten. Try: "Explore top books that broaden your knowledge in science, philosophy, and personal growth. These timeless and modern titles sharpen your mind and spark curiosity." Count. "Explore"7=7; space=8; "top"3=11; space=12; "books"5=17; space=18; "that"4=22; space=23; "broaden"7=30; space=31; "your"4=35; space=36; "knowledge"9=45; space=46; "in"2=48; space=49; "science,"7=56; space=57; "philosophy,"10=67; space=68; "and"3=71; space=72; "personal"8=80; space=81; "growth."6=87; space=88; "These"5=93; space=94; "timeless"8=102; space=103; "and"3=106; space=107; "modern"6=113; space=114; "titles"6=120; space=121; "sharpen"7=128; space=129; "your"
etc. But HTML allows single quotes. So we can use single quotes for attributes; no need to escape. We'll avoid quotes inside string. But we need to have no double quotes inside? We can use single quotes. So we can have