Skip to content

Commit

Permalink
Fix #116: RSS Feed updates and blog post (#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware authored Oct 11, 2024
1 parent e0632b7 commit 23d2453
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
11 changes: 8 additions & 3 deletions blog/site/_posts/2024-10-10-rss-feed.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,21 @@ Adding RSS is as easy as adding this tag to your `<head>` section:
\{#rss site /}
```

It will automatically use the Frontmatter data about all your blog posts to generate a proper Atom RSS feed link at `rss.xml`.

Like this:
```
{#rss site /}
```

It will automatically utilize the Frontmatter data from all your blog posts to generate a valid Atom RSS feed link at `rss.xml`. Ensure you create an `rss.xml` file at the root of your site and include this single line of code:

```html
\{#include fm/rss.html /}

```

The Atom Syndication Format is an XML language used for web feeds. A web feed (also called ‘news feed’ or ‘RSS feed’) is a data format used for providing users with frequently updated content. Content distributors syndicate a web feed, thereby allowing users to subscribe a channel to it. A typical scenario of web-feed use might involve the following: a content provider publishes a feed link on its site which end users can register with an aggregator program (also called a feed reader or a newsreader) running on their own machines.

```xml
{#include fm/rss.html}
```
```
7 changes: 7 additions & 0 deletions docs/modules/ROOT/pages/quarkus-roq-frontmatter.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,13 @@ It will automatically use the FrontMatter data generate an RSS feed link.
<link rel="alternate" type="application/rss+xml" title="Your Blog" href="/rss.xml"/>
----

It will automatically utilize the Frontmatter data from all your blog posts to generate a valid Atom RSS feed link at `rss.xml`. Ensure you create an `rss.xml` file at the root of your site and include this single line of code:

[source,html]
----
{#include fm/rss.html}
----

== Links

TODO
Expand Down

0 comments on commit 23d2453

Please sign in to comment.