basic

command
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2025 License: MIT Imports: 4 Imported by: 0

README

Basic Content Extraction

Simplest content extraction example demonstrating core Defuddle Go functionality.

Run Example

cd examples/basic
go run main.go

What It Does

Extracts clean content from a simple HTML document:

  • Title and meta information
  • Main article content
  • Word count and processing statistics

Sample Output

=== Basic Content Extraction ===
Title: My Blog Post
Description: A simple blog post example
Word Count: 15
Parse Time: 2 ms

=== Extracted Content ===
<article>
    <h1>Welcome to My Blog</h1>
    <p>This is the main content of my blog post.</p>
    <p>Here's another paragraph with important information.</p>
</article>

Perfect starting point for understanding Defuddle Go basics.

Documentation

Overview

Package main demonstrates basic defuddle usage.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL