> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# URL to Blog Generator

> Transform web content into interactive WordPress blog posts

Extract content from any URL and transform it into a comprehensive, interactive blog post automatically published to WordPress.

```mermaid theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
flowchart LR
    A["🔗 URL"] --> B["📥 Extract"]
    B --> C["🔎 Research"]
    C --> D["📝 Write"]
    D --> E["📤 Publish"]
    
    style A fill:#8B0000,color:#fff
    style B fill:#189AB4,color:#fff
    style C fill:#189AB4,color:#fff
    style D fill:#189AB4,color:#fff
    style E fill:#8B0000,color:#fff
```

## Quick Start

> [tab] With URL
>
> ```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
> praisonai recipe run url-to-blog-generator \
>   --var url="https://example.com/article"
> ```

> [tab] Auto Topic
>
> ```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
> praisonai recipe run url-to-blog-generator
> ```
>
> Without a URL, searches for trending AI topics.

## Pipeline Stages

**1. URL Extraction**

Uses Tavily Extract to get:

* Full page content
* Key points and arguments
* Data and statistics
* Quotes and statements

**2. Research**

Tavily search finds 10 related sources:

* Additional context
* Expert opinions
* Recent developments
* Practical applications

**3. Image Description**

Creates an infographic prompt:

* Visualizes main concepts
* Clean, modern design
* Key data points

**4. Blog Writing**

Generates Gutenberg-formatted post:

* Tables for data
* Lists for key points
* Source attribution
* British English

**5. WordPress Publish**

Publishes to WordPress:

* Category: AI
* Author: praison
* Status: publish

## Agents

> [card] URL Crawler
>
> **Tools**: tavily\_extract, tavily\_search
>
> Extracts content from any URL

> [card] Researcher
>
> **Tool**: tavily\_search
>
> Finds 10 related sources

> [card] Image Generator
>
> **Model**: GPT-4o-mini
>
> Creates infographic descriptions

> [card] Blog Writer
>
> **Model**: GPT-4o-mini
>
> Writes Gutenberg-formatted posts

## Requirements

> [accordion] Environment Variables
>
> ```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
> export OPENAI_API_KEY="sk-..."
> export TAVILY_API_KEY="tvly-..."
> ```

> [accordion] WordPress Setup
>
> Requires `praisonaiwp` CLI configured:
>
> ```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
> pip install praisonaiwp
> praisonaiwp config --site mer.vin --user praison
> ```

## Example Output

| Metric | Value |
| - | - |
| **Judge Score** | 7.63/10 |
| **Agents** | 5 |
| **Steps** | 5 |
| **Tokens** | \~2500 |

> [!TIP]
>
> Works best with article URLs that have clear, structured content. News sites, blogs, and documentation pages work well.

## Related Recipes

> [card] [Image to Blog](https://praison.ai/docs/recipes/image-to-blog.md)
>
> Generate blogs from images

> [card] [WordPress Publisher](https://praison.ai/docs/guides/recipes/index.md)
>
> Standalone publishing module


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.