Skip to content

Commit 82b2f3d

Browse files
committed
improve copy
1 parent 111053e commit 82b2f3d

File tree

7 files changed

+186
-92
lines changed

7 files changed

+186
-92
lines changed

404.html

Lines changed: 27 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,32 @@ <h1>404 - Page Not Found</h1>
1010
<p>Here are some helpful links to get you back on track:</p>
1111

1212
<ul>
13-
<li><a href="{{ '/' | relative_url }}">Home</a> - Start from the beginning</li>
14-
<li><a href="{{ '/web-application/getting-started' | relative_url }}">Getting Started</a> - Learn how to use html2rss</li>
15-
<li><a href="{{ '/ruby-gem' | relative_url }}">Ruby Gem Documentation</a> - Developer resources</li>
16-
<li><a href="{{ '/feed-directory' | relative_url }}">Feed Directory</a> - Browse available feeds</li>
17-
<li><a href="{{ '/get-involved' | relative_url }}">Get Involved</a> - Join the community</li>
13+
<li>
14+
<a href="{{ '/' | relative_url }}">Home</a> - Start from the beginning
15+
</li>
16+
<li>
17+
<a href="{{ '/web-application/getting-started' | relative_url }}"
18+
>Getting Started</a
19+
>
20+
- Learn how to use html2rss
21+
</li>
22+
<li>
23+
<a href="{{ '/ruby-gem' | relative_url }}">Ruby Gem Documentation</a> -
24+
Developer resources
25+
</li>
26+
<li>
27+
<a href="{{ '/feed-directory' | relative_url }}">Feed Directory</a> - Browse
28+
available feeds
29+
</li>
30+
<li>
31+
<a href="{{ '/get-involved' | relative_url }}">Get Involved</a> - Join the
32+
community
33+
</li>
1834
</ul>
1935

20-
<p>If you think this is an error, please <a href="https://github.com/html2rss/html2rss.github.io/issues">report it on GitHub</a>.</p>
36+
<p>
37+
If you think this is an error, please
38+
<a href="https://github.com/html2rss/html2rss.github.io/issues"
39+
>report it on GitHub</a
40+
>.
41+
</p>

html2rss-configs/index.md

Lines changed: 37 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,29 @@ has_children: false
55
nav_order: 5
66
---
77

8-
# Creating Feed Configurations
8+
# Creating Custom RSS Feeds
99

10-
Welcome to the guide for `html2rss-configs`. This document explains how to create your own configuration files to convert any website into an RSS feed.
10+
Want to create RSS feeds for websites that don't offer them? This guide shows you how to write simple configuration files that tell the html2rss engine exactly what content to extract.
1111

12-
You can find a list of all community-contributed configurations in the [Feed Directory]({{ '/feed-directory/' | relative_url }}).
12+
**Don't worry if you're not technical** - we'll explain everything step by step!
13+
14+
You can see examples of what others have created in the [Feed Directory]({{ '/feed-directory/' | relative_url }}).
1315

1416
---
1517

16-
## Core Concepts
18+
## How It Works
19+
20+
Think of the html2rss engine as a smart assistant that needs instructions. You give it a simple "recipe" (called a config file) that tells it:
1721

18-
An `html2rss` config is a YAML file that defines how to extract data from a web page. It consists of two main building blocks: `channel` and `selectors`.
22+
1. **Which website** to look at
23+
2. **What content** to find (articles, posts, etc.)
24+
3. **How to organize** that content into an RSS feed
25+
26+
The recipe is written in YAML - a simple format that's easy to read and write. Both html2rss-web and the html2rss Ruby gem use these same configuration files.
1927

2028
### The `channel` Block
2129

22-
The `channel` block contains metadata about the RSS feed itself, such as its title and the source URL.
30+
This tells the html2rss engine basic information about your feed - like giving it a name and telling it which website to look at.
2331

2432
**Example:**
2533

@@ -29,11 +37,11 @@ channel:
2937
title: My Awesome Blog
3038
```
3139
32-
For a complete list of all available channel options, please see the [Channel Reference]({{ '/ruby-gem/reference/channel/' | relative_url }}).
40+
This says: "Look at this website and call the feed 'My Awesome Blog'"
3341
3442
### The `selectors` Block
3543

36-
The `selectors` block is the core of the configuration, defining the rules for extracting content. It always contains an `items` selector to identify the list of articles and individual selectors for the data points within each item (e.g., `title`, `link`).
44+
This is where you tell the html2rss engine exactly what to find on the page. You use CSS selectors (like you might use in web design) to point to specific parts of the webpage.
3745

3846
**Example:**
3947

@@ -47,17 +55,19 @@ selectors:
4755
selector: "h2 a"
4856
```
4957

50-
For a comprehensive guide on all available selectors, extractors, and post-processors, please see the [Selectors Reference]({{ '/ruby-gem/reference/selectors/' | relative_url }}).
58+
This says: "Find each article, get the title from the h2 link, and get the link from the same h2 link"
59+
60+
**Need more details?** Check our [complete guide to selectors]({{ '/ruby-gem/reference/selectors/' | relative_url }}) for all the options.
5161

5262
---
5363

54-
## Tutorial: Your First Config
64+
## Tutorial: Your First Feed
5565

56-
This tutorial walks you through creating a basic configuration file from scratch.
66+
Let's create a simple RSS feed step by step. We'll use a basic blog as our example.
5767

58-
### Step 1: Identify the Target Content
68+
### Step 1: Look at the Website
5969

60-
First, identify the HTML structure of the website you want to create a feed for. For this example, we'll use a simple blog structure:
70+
First, visit the website you want to create a feed for. Right-click and "View Page Source" to see the HTML structure. Look for patterns like this:
6171

6272
```html
6373
<div class="posts">
@@ -72,9 +82,11 @@ First, identify the HTML structure of the website you want to create a feed for.
7282
</div>
7383
```
7484

75-
### Step 2: Create the Config File and Define the Channel
85+
**What we see:** Each article is wrapped in `<article class="post">`, titles are in `<h2><a>` tags, and descriptions are in `<p>` tags.
7686

77-
Create a new YAML file (e.g., `my-blog.yml`) and define the `channel`:
87+
### Step 2: Create Your Config File
88+
89+
Create a new text file and save it as `my-blog.yml` (or any name you like). Add this basic information:
7890

7991
```yaml
8092
# my-blog.yml
@@ -84,9 +96,11 @@ channel:
8496
description: The latest news from my awesome blog.
8597
```
8698

87-
### Step 3: Define the Selectors
99+
This tells html2rss: "Look at this website and call the feed 'My Awesome Blog'"
100+
101+
### Step 3: Tell html2rss What to Find
88102

89-
Next, add the `selectors` block to extract the content for each post.
103+
Now add the selectors that tell html2rss exactly what content to extract:
90104

91105
```yaml
92106
# my-blog.yml
@@ -101,8 +115,12 @@ selectors:
101115
selector: "p"
102116
```
103117

104-
- `items`: This CSS selector identifies the container for each article.
105-
- `title`, `link`, `description`: These selectors target the specific data points within each item. For a `link` selector, `html2rss` defaults to extracting the `href` attribute from the matched `<a>` tag.
118+
**What this means:**
119+
120+
- `items: "article.post"` = "Find each article with class 'post'"
121+
- `title: "h2 a"` = "Get the title from the h2 link"
122+
- `link: "h2 a"` = "Get the link from the same h2 link"
123+
- `description: "p"` = "Get the description from the paragraph"
106124

107125
---
108126

index.md

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,30 +4,35 @@ title: Home
44
nav_order: 1
55
---
66

7-
# Create RSS Feeds for Any Website
7+
# Turn Any Website Into an RSS Feed
88

9-
`html2rss` creates RSS feeds for any website.
10-
[**🚀 Get Started with the Web App**]({{ '/web-application/getting-started' | relative_url }})
9+
Ever wished you could follow your favorite websites like a social media feed? The html2rss project makes it possible by creating RSS feeds for any website - even ones that don't offer them.
10+
11+
[**🚀 Get Started with html2rss-web**]({{ '/web-application/getting-started' | relative_url }})
1112

1213
---
1314

14-
## Key Features
15+
## What is RSS?
1516

16-
- **Automatic Feed Generation:** `auto_source` intelligently extracts content, simplifying feed creation.
17-
- **Precise Content Extraction:** Use CSS selectors for targeted content inclusion.
18-
- **JavaScript Rendering:** A headless browser renders JavaScript-heavy sites for comprehensive content extraction.
19-
- **Open Source:** `html2rss` is free to use, modify, and contribute.
17+
RSS (Really Simple Syndication) lets you follow websites in your favorite feed reader. Instead of checking multiple websites daily, you get all updates in one place - like a personalized news feed.
2018

21-
---
19+
## The html2rss Project
20+
21+
The html2rss project provides two main ways to create RSS feeds:
2222

23-
## The html2rss Ecosystem
23+
- **html2rss-web** - A user-friendly web application (recommended for most users)
24+
- **html2rss** - A Ruby gem for developers and advanced users
25+
26+
Both use the same powerful engine to extract content from websites and convert it into RSS feeds.
27+
28+
---
2429

25-
The `html2rss` project offers a complete RSS solution through a collection of integrated tools:
30+
## Choose Your Path
2631

27-
- **[html2rss-web]({{ '/web-application' | relative_url }}):** User-friendly web application to create, manage, and share RSS feeds. Recommended starting point.
28-
- **[html2rss (Ruby Gem)]({{ '/ruby-gem' | relative_url }}):** Core library and command-line interface for developers.
29-
- **[Feed Directory]({{ '/feed-directory' | relative_url }}):** Public listing of community-driven RSS feed configurations.
32+
- **[html2rss-web]({{ '/web-application' | relative_url }}):** **Start here!** Easy-to-use web application. No technical knowledge required.
33+
- **[Feed Directory]({{ '/feed-directory' | relative_url }}):** Browse ready-made feeds for popular websites
34+
- **[html2rss (Ruby Gem)]({{ '/ruby-gem' | relative_url }}):** For developers who want to create custom configurations
3035

3136
---
3237

33-
Engage with the `html2rss` community or contribute. Visit our [Get Involved]({{ '/get-involved' | relative_url }}) page.
38+
**Ready to get started?** Check out our [html2rss-web getting started guide]({{ '/web-application/getting-started' | relative_url }}) or [browse existing feeds]({{ '/feed-directory' | relative_url }}) to see what's possible.

web-application/getting-started.md

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,33 @@ nav_order: 2
55
parent: Web Application
66
---
77

8-
# Getting Started with the html2rss Web Application
8+
# Getting Started with html2rss-web
99

10-
Welcome to the `html2rss-web` application! This guide provides a strategic overview to help you understand what the application does and how to get started.
10+
Welcome! This guide will help you create RSS feeds from any website using the html2rss-web application.
1111

1212
## What is html2rss-web?
1313

14-
`html2rss-web` is a self-hosted web application that scrapes content from websites and converts it into RSS feeds. It's designed for users who want to create reliable, custom RSS feeds for sites that don't offer them.
14+
html2rss-web is a user-friendly web application that turns any website into an RSS feed. It's part of the html2rss project, which also includes a Ruby gem for developers. Think of html2rss-web as a translator that converts website content into a format your feed reader can understand.
1515

16-
## Primary Use Cases
16+
## Why Use RSS Feeds?
1717

18-
- **Create RSS feeds** for your favorite blogs, news sites, or any website with structured content.
19-
- **Monitor website changes** by subscribing to the generated RSS feeds.
20-
- **Aggregate content** from multiple sources into your feed reader.
18+
Instead of visiting 20 different websites every day, you can:
2119

22-
## The Path to Your First Feed
20+
- **Get all updates in one place** - your feed reader
21+
- **Never miss new content** - automatic notifications
22+
- **Save time** - no more manual checking
23+
- **Stay organized** - categorize and filter content
2324

24-
Here's the recommended path for a new user:
25+
## Quick Start Options
2526

26-
1. **[Installation]({{ '/web-application/installation' | relative_url }})**: Follow our step-by-step guide to set up your own instance of the application using Docker. This is the quickest and most reliable way to get started.
27+
### Option 1: Browse Ready-Made Feeds (Easiest)
2728

28-
If you're interested in more advanced topics, you can explore our **[How-To Guides]({{ '/web-application/how-to/' | relative_url }})** and the **[Reference]({{ '/web-application/reference/' | relative_url }})** section after you have your instance up and running.
29+
1. **[Feed Directory]({{ '/feed-directory' | relative_url }})** - See what's already available
30+
2. **Copy the RSS URL** and add it to your feed reader
31+
32+
### Option 2: Install Your Own Instance
33+
34+
1. **[Installation Guide]({{ '/web-application/installation' | relative_url }})** - Set up your own copy
35+
2. **[Create Custom Feeds]({{ '/web-application/how-to/' | relative_url }})** - Make feeds for any website
36+
37+
**New to RSS?** We recommend starting with the [Feed Directory]({{ '/feed-directory' | relative_url }}) to see examples, then installing html2rss-web to create your own feeds.

web-application/how-to/use-automatic-feed-generation.md

Lines changed: 23 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,36 @@ parent: How-To Guides
66
grand_parent: Web Application
77
---
88

9-
# How to use automatic feed generation
9+
# Automatic Feed Generation
1010

11-
> This feature is disabled by default.
11+
This feature lets you create RSS feeds automatically - just enter a website URL and html2rss-web figures out the rest!
1212

13-
To enable the `auto_source` feature, comment in the env variables in the `docker-compose.yml` file from above and change the values accordingly:
13+
> **Note:** This feature is disabled by default for security reasons.
14+
15+
## How to Enable It
16+
17+
1. **Edit your `docker-compose.yml` file** and uncomment these lines:
1418

1519
```yaml
1620
environment:
17-
## … snip ✁
1821
AUTO_SOURCE_ENABLED: "true"
19-
AUTO_SOURCE_USERNAME: foobar
20-
AUTO_SOURCE_PASSWORD: A-Unique-And-Long-Password-For-Your-Own-Instance
21-
## to allow just requests originating from the local host
22+
AUTO_SOURCE_USERNAME: your-username
23+
AUTO_SOURCE_PASSWORD: your-secure-password
2224
AUTO_SOURCE_ALLOWED_ORIGINS: 127.0.0.1:3000
23-
## to allow multiple origins, seperate those via comma:
24-
# AUTO_SOURCE_ALLOWED_ORIGINS: example.com,h2r.host.tld
25-
## … snap ✃
2625
```
2726
28-
Restart the container and open <http://127.0.0.1:3000/auto_source/>.
29-
When asked, enter your username and password.
27+
2. **Restart html2rss-web:**
28+
29+
```bash
30+
docker compose down
31+
docker compose up -d
32+
```
33+
34+
## How to Use It
35+
36+
1. **Open the auto-source page:** Go to `http://localhost:3000/auto_source/`
37+
2. **Enter your credentials** (the username and password you set above)
38+
3. **Enter a website URL** and click "Generate"
39+
4. **Get your RSS feed!** html2rss-web will create a feed automatically
3040

31-
Then enter the URL of a website and click on the _Generate_ button.
41+
**That's it!** No configuration files needed - html2rss-web does all the work for you.

web-application/how-to/use-included-configs.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,19 @@ grand_parent: Web Application
66
nav_order: 3
77
---
88

9-
# How to use the included configs
9+
# Using Pre-Made Feeds
1010

11-
html2rss-web comes with many feed configs out of the box. [See the file list of all configs.](https://github.com/html2rss/html2rss-configs/tree/master/lib/html2rss/configs)
11+
html2rss-web comes with hundreds of ready-made feeds for popular websites! No configuration needed - just use the URLs.
1212

13-
To use a config from there, build the URL like this:
13+
## How to Use Them
1414

15-
| | |
16-
| ------------------------ | ----------------------------- |
17-
| `lib/html2rss/configs/` | `domainname.tld/whatever.yml` |
18-
| Would become this URL: | |
19-
| `http://localhost:3000/` | `domainname.tld/whatever.rss` |
20-
| | `^^^^^^^^^^^^^^^^^^^^^^^^^^^` |
15+
1. **Find a feed** in the [Feed Directory]({{ '/feed-directory' | relative_url }})
16+
2. **Copy the URL** (it looks like `domainname.tld/whatever.rss`)
17+
3. **Add it to your feed reader** - paste the URL and you're done!
18+
19+
## Example
20+
21+
If you see a config file named `example.com/news.yml`, you can access it at:
22+
`http://localhost:3000/example.com/news.rss`
23+
24+
Just replace `localhost:3000` with your html2rss-web address.

0 commit comments

Comments
 (0)