Skip to content

Commit 596ea26

Browse files
Add subtitle field to feed fields
- Add 'subtitle' to fields.feed array in lib/fields.js - Add subtitle property to TypeScript Output interface in index.d.ts Co-authored-by: openhands <openhands@all-hands.dev>
1 parent 425599f commit 596ea26

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ declare namespace Parser {
5959
items: (U & Item)[];
6060
feedUrl?: string;
6161
description?: string;
62+
subtitle?: string;
6263
itunes?: {
6364
[key: string]: any;
6465
image?: string;

lib/fields.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ fields.feed = [
99
['dc:type', 'type'],
1010
'title',
1111
'description',
12+
'subtitle',
1213
'author',
1314
'pubDate',
1415
'webMaster',

0 commit comments

Comments
 (0)