PipedreamHQ / roadmap

Pipedream is an integration platform for developers. Have a feature request or bug to report? Add it here.
https://pipedream.com
30 stars 5 forks source link

RSS Events don't include media values #445

Closed cfjedimaster closed 4 years ago

cfjedimaster commented 4 years ago

Describe the bug Consider this RSS feed, https://flipboard.com/@DailyMailUS.rss, the items include:

<media:content url="https://i.dailymail.co.uk/1s/2020/05/06/18/28083416-0-image-a-20_1588787009354.jpg" medium="image" type="image/jpeg"
      width="636"  
    height="382"  />

When the event comes in, it does not include this value.

Expected behavior It should include them.

cfjedimaster commented 4 years ago

It looks like you can specifically add some like so:

const parser = new Parser({
            customFields: {
                item:['media:content']
            }
});

I'd maybe google for the common media:* items and just add them all - seems harmless. Unfortunately I don't think there is a "add everything" option.

cfjedimaster commented 4 years ago

Also add media:group

Also add the itunes ones (https://www.feedforall.com/itunes.htm), note, these are at the top level and would go in like so: feed: ['itunes:etc']

cfjedimaster commented 4 years ago

Full example from the docs:

let parser = new Parser({
  customFields: {
    feed: ['otherTitle', 'extendedDescription'],
    item: ['coAuthor','subtitle'],
  }
});