Building Custom Topic Libraries with YAML Configuration
A technical guide to creating custom YAML topic configurations in MyPosts for tailored content generation.
Understanding YAML Topic Configuration
MyPosts uses YAML files to define topic libraries, giving you complete control over content themes, styles, and variations. With 10+ pre-built libraries and unlimited custom options, you can create the perfect content mix.
YAML Structure Basics
Hierarchical Organization
Topics are organized in three levels:
- Areas: Broad content categories
- Categories: Specific topics within areas
- Topics: Individual content prompts
Basic Structure Example
name: "Tech Innovation Library"
description: "Topics focused on technology and innovation"
areas:
- name: "Artificial Intelligence"
categories:
- name: "Machine Learning"
topics:
- "Recent ML breakthroughs"
- "ML applications in healthcare"
- "Open source ML tools"
- name: "AI Ethics"
topics:
- "Bias in AI systems"
- "AI governance frameworks"
Pre-Built Libraries Available
MyPosts includes these ready-to-use libraries:
- Tech: Technology trends and innovations
- AI: Artificial intelligence and machine learning
- Business: Business strategy and growth
- Entrepreneurial: Startup and entrepreneurship topics
- Academic: Educational and research content
- Creative: Arts and creative industries
- Lifestyle: Personal development and lifestyle
- MyPosts Product: Product-specific content
- Civics: Civic engagement and social issues
- Politics: Political discourse and analysis
Creating Custom Libraries
Step 1: Define Your Structure
Plan your topic hierarchy:
name: "SaaS Marketing" areas: - name: "Content Marketing" - name: "Product Marketing" - name: "Growth Strategies"
Step 2: Add Categories and Topics
Populate each area with specific categories:
areas:
- name: "Content Marketing"
categories:
- name: "Blog Strategy"
topics:
- "SEO optimization tips"
- "Content calendar planning"
- "Guest posting strategies"
Step 3: Include Metadata
Add helpful metadata for better organization:
metadata: version: "1.0" author: "Your Name" created: "2025-08-25" tags: ["marketing", "saas", "b2b"]
Advanced Configuration Options
Topic Weights
Assign weights to prioritize certain topics:
topics:
- text: "Product updates"
weight: 3
- text: "Industry news"
weight: 1
Style Modifiers
Include style hints for AI generation:
categories:
- name: "Thought Leadership"
style: "authoritative, data-driven"
topics:
- "Industry predictions"
Time-Based Topics
Configure topics for specific times:
categories:
- name: "Morning Motivation"
time_window: "06:00-09:00"
topics:
- "Daily productivity tips"
Best Practices
Topic Variety
- Include 15-30 topics per category
- Mix evergreen and timely content
- Balance promotional and value-driven topics
Naming Conventions
- Use clear, descriptive names
- Maintain consistent formatting
- Avoid special characters in names
Organization Tips
- Group related topics logically
- Use categories for easy navigation
- Keep hierarchy depth to 3 levels maximum
Using Your Custom Library
Upload Process
- Create your YAML file
- Navigate to Topics section in MyPosts
- Click "Upload Custom Library"
- Select your YAML file
- Validate and activate
Testing and Refinement
- Generate sample content from each category
- Monitor engagement metrics
- Refine topics based on performance
- A/B test different topic variations
Example: Complete E-commerce Library
name: "E-commerce Content"
description: "Comprehensive e-commerce topic library"
areas:
- name: "Product Marketing"
categories:
- name: "Product Launches"
topics:
- "New product announcement"
- "Feature highlights"
- "Customer testimonials"
- name: "Promotions"
topics:
- "Seasonal sales"
- "Limited-time offers"
- "Bundle deals"
- name: "Customer Success"
categories:
- name: "Tips and Tutorials"
topics:
- "Product usage tips"
- "Best practices"
- "Common questions answered"
Start building your custom topic library today to create perfectly tailored content for your audience!
Related Posts
AI & Machine Learning Topic Library: Content That Engages
Explore the comprehensive AI topic library with content ideas ranging from technical deep dives to accessible AI explanations.
Prompt Engineering: Getting Perfect Output Every Time
Learn advanced prompt engineering techniques to generate high-quality, on-brand content consistently with MyPosts.
The 30-Day Twitter Habit: Building Consistency with Automation
Transform your Twitter presence in 30 days by combining smart automation with strategic habit formation using MyPosts.