You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/astro-rss/README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -198,27 +198,27 @@ const item = {
198
198
199
199
### `title`
200
200
201
-
Type: `string (required)`
201
+
Type: `string (optional)`
202
202
203
-
The title of the item in the feed.
203
+
The title of the item in the feed. Optional only if a description is set. Otherwise, required.
204
204
205
205
### `link`
206
206
207
-
Type: `string (required)`
207
+
Type: `string (optional)`
208
208
209
209
The URL of the item on the web.
210
210
211
211
### `pubDate`
212
212
213
-
Type: `Date (required)`
213
+
Type: `Date (optional)`
214
214
215
215
Indicates when the item was published.
216
216
217
217
### `description`
218
218
219
219
Type: `string (optional)`
220
220
221
-
A synopsis of your item when you are publishing the full content of the item in the `content` field. The `description` may alternatively be the full content of the item in the feed if you are not using the `content` field (entity-coded HTML is permitted).
221
+
A synopsis of your item when you are publishing the full content of the item in the `content` field. The `description` may alternatively be the full content of the item in the feed if you are not using the `content` field (entity-coded HTML is permitted). Optional only if a title is set. Otherwise, required.
'PHP is a general-purpose scripting language geared toward web development. It was originally created by Danish-Canadian programmer Rasmus Lerdorf in 1994.',
0 commit comments