|
1 |
| -# Documentation: https://github.com/arghena/katharsis/blob/canary/README.md#properties |
| 1 | +# NOTE: You can refer to the [RSS 2.0 at Harvard Law](https://cyber.harvard.edu/rss/rss.html) for more detailed documentation. |
2 | 2 |
|
3 | 3 | [rss]
|
| 4 | +# The title of the website |
4 | 5 | title = "The React Framework for the Web"
|
| 6 | +# A description of the website |
5 | 7 | description = "Used by some of the world's largest companies, Next.js enables you to create high-quality web applications with the power of React components."
|
| 8 | +# The main URL of the website |
| 9 | +# NOTE: The `rss.site_url` property should not include a trailing slash (for example, `https://example.com` rather than `https://example.com/`). |
6 | 10 | site_url = "https://nextjs.org"
|
| 11 | +# Path to the channel's logo |
| 12 | +# NOTE: The `rss.image` property is relative to the `rss.site_url`, for example, `favicon.png` corresponds to `https://example.com/favicon.png`. |
7 | 13 | image = "favicon.png"
|
| 14 | +# Copyright information |
8 | 15 | copyright = "© 2024 Vercel Inc"
|
| 16 | +# Preferred language |
9 | 17 | language = "en"
|
| 18 | +# Path to the local output RSS file |
| 19 | +# NOTE: The `rss.output` property specifies the path relative to the working directory (for example, `rss.xml` corresponds to `./rss.xml`). |
10 | 20 | output = "tmp/rss.xml"
|
11 | 21 |
|
12 | 22 | [article]
|
| 23 | +# The tag containing the article's title |
13 | 24 | title = "h1"
|
| 25 | +# The tag or attribute containing the article's description |
14 | 26 | description = "[data-mdx-description]"
|
| 27 | +# The HTML files that needs to be parsed |
| 28 | +# NOTE: The `article.input` property corresponds to the file stem (`*`), which is the same as the article's URL slug. |
15 | 29 | input = "examples/next.js/.next/server/app/articles/*.html"
|
| 30 | +# Information about the article's author |
16 | 31 | author = { name = "Vercel Inc", email = "[email protected]" }
|
| 32 | +# The relative prefix for the article's URL |
17 | 33 | prefix = "articles"
|
| 34 | +# The tag or attribute containing the article's content |
18 | 35 | content = "[data-mdx-content]"
|
| 36 | +# The tag containing the article's publication date |
| 37 | +# NOTE: The `article.date` property's tag must include a [datetime](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time) attribute, and the attribute value must follow the `%Y-%m-%d` format. |
19 | 38 | date = "time"
|
| 39 | +# The image files to be used as the article cover |
| 40 | +# NOTE: The `article.image` property's folder name (`**`) must match the article's URL slug. |
20 | 41 | image = "examples/next.js/app/articles/**/opengraph-image.png"
|
| 42 | +# Whether to sort articles by their publication date |
21 | 43 | sort = true
|
0 commit comments