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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: B2B Content Strategy Planner
|
| 3 |
+
emoji: π
|
| 4 |
+
colorFrom: indigo
|
| 5 |
+
colorTo: purple
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: 4.44.0
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
+
license: mit
|
| 11 |
---
|
| 12 |
|
| 13 |
+
# π B2B Content Strategy Planner
|
| 14 |
+
|
| 15 |
+
A comprehensive tool for analyzing website content, identifying funnel gaps, and generating AI-powered content ideas.
|
| 16 |
+
|
| 17 |
+
## β¨ Features
|
| 18 |
+
|
| 19 |
+
### 1. **Sitemap Analysis**
|
| 20 |
+
- Import sitemaps from any website
|
| 21 |
+
- Automatic content categorization
|
| 22 |
+
- Support for sitemap indexes and nested sitemaps
|
| 23 |
+
- CORS proxy fallback for accessibility
|
| 24 |
+
|
| 25 |
+
### 2. **Advanced Topic Matching**
|
| 26 |
+
- **Three Matching Modes:**
|
| 27 |
+
- **Exact**: Precise URL matching
|
| 28 |
+
- **Fuzzy**: Balanced scoring with variants (recommended)
|
| 29 |
+
- **Semantic**: Expanded matching with topic packs
|
| 30 |
+
- **Synonym Support**: Add alternative terms for comprehensive coverage
|
| 31 |
+
- **Negative Keywords**: Exclude unwanted content
|
| 32 |
+
- **Topic Packs**: Pre-defined libraries for 14+ tech domains
|
| 33 |
+
|
| 34 |
+
### 3. **Funnel Gap Analysis**
|
| 35 |
+
- Classify content into TOFU/MOFU/BOFU stages
|
| 36 |
+
- Visual distribution percentages
|
| 37 |
+
- Identify weakest funnel stages
|
| 38 |
+
- Actionable recommendations
|
| 39 |
+
- Category breakdown by stage
|
| 40 |
+
|
| 41 |
+
### 4. **AI Content Generation**
|
| 42 |
+
- Stage-specific content ideas
|
| 43 |
+
- Multiple format suggestions (Blog, Whitepaper, Case Study, etc.)
|
| 44 |
+
- Performance predictions
|
| 45 |
+
- SEO-optimized titles and descriptions
|
| 46 |
+
|
| 47 |
+
## π― How to Use
|
| 48 |
+
|
| 49 |
+
### Step 1: Import Sitemap
|
| 50 |
+
1. Enter your website's sitemap URL (e.g., `https://example.com/sitemap.xml`)
|
| 51 |
+
2. Alternatively, just enter the domain (e.g., `example.com`)
|
| 52 |
+
3. Click **"π Fetch Sitemap"**
|
| 53 |
+
4. Wait for automatic categorization
|
| 54 |
+
|
| 55 |
+
### Step 2: Select Topic & Filters
|
| 56 |
+
1. **Choose a Category** from the dropdown (auto-populated from sitemap)
|
| 57 |
+
2. **Select a Topic** within that category
|
| 58 |
+
3. **OR** enter **Custom Keywords** to override
|
| 59 |
+
4. **Set Funnel Stage** filter (ALL, TOFU, MOFU, BOFU)
|
| 60 |
+
5. **Choose Matching Strategy**:
|
| 61 |
+
- **Exact**: Strict matching, fewer results
|
| 62 |
+
- **Fuzzy**: Balanced (recommended)
|
| 63 |
+
- **Semantic**: Comprehensive, more results
|
| 64 |
+
|
| 65 |
+
#### Advanced Options
|
| 66 |
+
- **Synonyms**: Add alternative terms (one per line)
|
| 67 |
+
- **Negative Keywords**: Exclude terms (comma-separated)
|
| 68 |
+
- **Strict Mode**: Only match within category path
|
| 69 |
+
|
| 70 |
+
### Step 3: Analyze Content
|
| 71 |
+
1. Click **"π Analyze Content Distribution"**
|
| 72 |
+
2. Review funnel breakdown (TOFU/MOFU/BOFU percentages)
|
| 73 |
+
3. Check recommendations for weak stages
|
| 74 |
+
4. View matched URLs in the accordion
|
| 75 |
+
|
| 76 |
+
### Step 4: Generate Ideas
|
| 77 |
+
1. Click **"β¨ Generate AI Content Ideas"**
|
| 78 |
+
2. Review stage-specific content suggestions
|
| 79 |
+
3. Note formats, topics, and implementation tips
|
| 80 |
+
4. Export ideas for your content team
|
| 81 |
+
|
| 82 |
+
## π Funnel Classification
|
| 83 |
+
|
| 84 |
+
### TOFU (Top of Funnel - Awareness)
|
| 85 |
+
- Blog posts
|
| 86 |
+
- General educational content
|
| 87 |
+
- Trend articles
|
| 88 |
+
|
| 89 |
+
### MOFU (Middle of Funnel - Consideration)
|
| 90 |
+
- Whitepapers
|
| 91 |
+
- Webinars
|
| 92 |
+
- Guides
|
| 93 |
+
- eBooks
|
| 94 |
+
|
| 95 |
+
### BOFU (Bottom of Funnel - Decision)
|
| 96 |
+
- Case studies
|
| 97 |
+
- Customer success stories
|
| 98 |
+
- Product comparisons
|
| 99 |
+
- Demos
|
| 100 |
+
|
| 101 |
+
## π Matching Strategies
|
| 102 |
+
|
| 103 |
+
### Exact Mode
|
| 104 |
+
- Matches only exact keyword occurrences
|
| 105 |
+
- Best for: Specific, well-defined topics
|
| 106 |
+
- Example: "azure-devops" matches only `/azure-devops/` paths
|
| 107 |
+
|
| 108 |
+
### Fuzzy Mode (Recommended)
|
| 109 |
+
- Balanced scoring with keyword variants
|
| 110 |
+
- Handles hyphens, spaces, compound terms
|
| 111 |
+
- Best for: Most use cases
|
| 112 |
+
- Example: "data analytics" matches "data-analytics", "dataanalytics", "analytics"
|
| 113 |
+
|
| 114 |
+
### Semantic Mode
|
| 115 |
+
- Expands to related terms from topic packs
|
| 116 |
+
- Partial matching with scoring
|
| 117 |
+
- Best for: Comprehensive topic coverage
|
| 118 |
+
- Example: "cloud" matches "aws", "azure", "gcp", "cloud-computing", "saas"
|
| 119 |
+
|
| 120 |
+
## π― Topic Packs
|
| 121 |
+
|
| 122 |
+
Pre-configured keyword libraries for:
|
| 123 |
+
|
| 124 |
+
- **Data & Analytics**: analytics, BI, dashboards, data visualization
|
| 125 |
+
- **Data Engineering**: ETL, pipelines, data warehouses, Spark, Kafka
|
| 126 |
+
- **Cloud**: AWS, Azure, GCP, cloud migration, multi-cloud
|
| 127 |
+
- **DevOps**: CI/CD, Docker, Kubernetes, Terraform, Ansible
|
| 128 |
+
- **Mobile & Web**: iOS, Android, React, Vue, Node.js
|
| 129 |
+
- **AI & ML**: machine learning, deep learning, NLP, computer vision
|
| 130 |
+
- **Industry**: FinTech, HealthTech, AdTech, IoT
|
| 131 |
+
|
| 132 |
+
## π‘ Example Use Cases
|
| 133 |
+
|
| 134 |
+
### 1. Content Gap Analysis
|
| 135 |
+
Find missing content in your marketing funnel:
|
| 136 |
+
1. Import sitemap
|
| 137 |
+
2. Analyze major topics
|
| 138 |
+
3. Identify weak stages
|
| 139 |
+
4. Generate ideas for gaps
|
| 140 |
+
|
| 141 |
+
### 2. Topic Research
|
| 142 |
+
Discover what content exists for new topics:
|
| 143 |
+
1. Enter custom keywords
|
| 144 |
+
2. Use Semantic matching
|
| 145 |
+
3. Review matched URLs
|
| 146 |
+
4. Identify coverage gaps
|
| 147 |
+
|
| 148 |
+
### 3. SEO Content Planning
|
| 149 |
+
Build a comprehensive content strategy:
|
| 150 |
+
1. Analyze all major topics
|
| 151 |
+
2. Compare funnel distributions
|
| 152 |
+
3. Prioritize BOFU content
|
| 153 |
+
4. Create content calendar
|
| 154 |
+
|
| 155 |
+
## π Quick Start Examples
|
| 156 |
+
|
| 157 |
+
### Example 1: Analyze Cloud Computing Content
|
| 158 |
+
```
|
| 159 |
+
Sitemap: yourcompany.com
|
| 160 |
+
Category: Blog
|
| 161 |
+
Topic: Cloud Computing
|
| 162 |
+
Matching: Fuzzy
|
| 163 |
+
Result: 28 URLs (64% TOFU, 25% MOFU, 11% BOFU)
|
| 164 |
+
Action: Create 3 case studies (BOFU gap)
|
| 165 |
+
```
|
| 166 |
+
|
| 167 |
+
### Example 2: Advanced DevOps Search
|
| 168 |
+
```
|
| 169 |
+
Keywords: kubernetes
|
| 170 |
+
Synonyms: k8s, container orchestration
|
| 171 |
+
Negative: careers, jobs
|
| 172 |
+
Matching: Semantic
|
| 173 |
+
Result: 31 URLs with comprehensive coverage
|
| 174 |
+
```
|
| 175 |
+
|
| 176 |
+
## π οΈ Technical Stack
|
| 177 |
+
|
| 178 |
+
- **Framework**: Gradio 4.44.0
|
| 179 |
+
- **Language**: Python 3.8+
|
| 180 |
+
- **Dependencies**: requests (HTTP client)
|
| 181 |
+
- **Deployment**: Hugging Face Spaces
|
| 182 |
+
|
| 183 |
+
## π Roadmap
|
| 184 |
+
|
| 185 |
+
- [ ] Real AI model integration (GPT-4, Claude)
|
| 186 |
+
- [ ] Competitor analysis
|
| 187 |
+
- [ ] Export to CSV/PDF
|
| 188 |
+
- [ ] Content performance tracking
|
| 189 |
+
- [ ] Advanced visualizations
|
| 190 |
+
- [ ] Database persistence
|
| 191 |
+
|
| 192 |
+
## π€ Contributing
|
| 193 |
+
|
| 194 |
+
Contributions are welcome! Please feel free to submit a Pull Request.
|
| 195 |
+
|
| 196 |
+
## π License
|
| 197 |
+
|
| 198 |
+
MIT License - feel free to use for commercial purposes.
|
| 199 |
+
|
| 200 |
+
## π Links
|
| 201 |
+
|
| 202 |
+
- **GitHub**: [View Source Code](#)
|
| 203 |
+
- **Demo**: Try it on Hugging Face Spaces
|
| 204 |
+
- **Documentation**: See About tab in app
|
| 205 |
+
|
| 206 |
+
## π¬ Feedback
|
| 207 |
+
|
| 208 |
+
Found a bug or have a feature request? Please open an issue on GitHub.
|
| 209 |
+
|
| 210 |
+
---
|
| 211 |
+
|
| 212 |
+
**Built with β€οΈ for B2B marketers**
|