File tree Expand file tree Collapse file tree 4 files changed +15
-6
lines changed Expand file tree Collapse file tree 4 files changed +15
-6
lines changed Original file line number Diff line number Diff line change @@ -366,4 +366,14 @@ pnpm eval https://news.google.com/rss
366366## License
367367The MIT License (MIT)
368368
369+ ## Support the project
370+
371+ If you find value from this open source project, you can support in the following ways:
372+
373+ - Give it a star ⭐
374+ - Buy me a coffee: https://paypal.me/ndaidong 🍵
375+ - Subscribe [ Feed Reader service] ( https://rapidapi.com/pwshub-pwshub-default/api/feed-reader1/ ) on RapidAPI 😉
376+
377+ Thank you.
378+
369379---
Original file line number Diff line number Diff line change 11{
2- "version" : " 7.0.1 " ,
2+ "version" : " 7.0.2 " ,
33 "name" : " @extractus/feed-extractor" ,
44 "description" : " To read and normalize RSS/ATOM/JSON feed data" ,
55 "homepage" : " https://extractor-demos.pages.dev" ,
3131 "dependencies" : {
3232 "bellajs" : " ^11.1.2" ,
3333 "cross-fetch" : " ^4.0.0" ,
34- "fast-xml-parser" : " ^4.2.6 " ,
34+ "fast-xml-parser" : " ^4.2.7 " ,
3535 "html-entities" : " ^2.4.0"
3636 },
3737 "devDependencies" : {
38- "eslint" : " ^8.45 .0" ,
38+ "eslint" : " ^8.47 .0" ,
3939 "https-proxy-agent" : " ^7.0.1" ,
40- "jest" : " ^29.6.1 " ,
40+ "jest" : " ^29.6.2 " ,
4141 "nock" : " ^13.3.2"
4242 },
4343 "keywords" : [
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ export const toISODateString = (dstr) => {
2222}
2323
2424export const buildDescription = ( val , maxlen = 0 ) => {
25- const stripped = stripTags ( String ( val ) )
25+ const stripped = stripTags ( String ( val ) . trim ( ) . replace ( / ^ < ! \[ C D A T A \[ | \] \] > $ / g , '' ) )
2626 const text = maxlen > 0 ? truncate ( stripped , maxlen ) : stripped
2727 return text . replace ( / \n + / g, ' ' )
2828}
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ const transform = (item, options) => {
3030 } = item
3131
3232 const published = useISODateFormat ? toISODateString ( pubDate ) : pubDate
33-
3433 const entry = {
3534 id : getEntryId ( guid , link , pubDate ) ,
3635 title : getText ( title ) ,
You can’t perform that action at this time.
0 commit comments