Skip to content

Commit e4e5631

Browse files
Add inline comments explaining subtitle field
Added comments to clarify that Atom feeds use <subtitle> for feed description. Co-authored-by: openhands <openhands@all-hands.dev>
1 parent 75fe9ad commit e4e5631

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ declare namespace Parser {
5959
items: (U & Item)[];
6060
feedUrl?: string;
6161
description?: string;
62-
subtitle?: string;
62+
subtitle?: string; // Atom feeds use <subtitle> for feed description
6363
itunes?: {
6464
[key: string]: any;
6565
image?: string;

lib/fields.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ fields.feed = [
99
['dc:type', 'type'],
1010
'title',
1111
'description',
12-
'subtitle',
12+
'subtitle', // Atom feeds use <subtitle> for feed description
1313
'author',
1414
'pubDate',
1515
'webMaster',

0 commit comments

Comments
 (0)