Skip to content

Commit

Permalink
Merge pull request #203 from yuiseki/rdf-about
Browse files Browse the repository at this point in the history
add `rdf:about` field to item on `parseItemRss`
  • Loading branch information
rbren authored Jun 15, 2022
2 parents b8cff02 + ef4f4a2 commit e2e2f4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ class Parser {
item.guid = xmlItem.guid[0];
if (item.guid._) item.guid = item.guid._;
}
item['rdf:about'] = xmlItem.$['rdf:about']
if (xmlItem.category) item.categories = xmlItem.category;
this.setISODate(item);
return item;
Expand Down

0 comments on commit e2e2f4d

Please sign in to comment.