use website URL if exists for RSS
This commit is contained in:
parent
dcac5ebcc9
commit
7312badc18
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ function generateFeed(feedLink, channelClaim, claimsInChannel) {
|
||||||
title: channelTitle + ' on ' + SITE_NAME,
|
title: channelTitle + ' on ' + SITE_NAME,
|
||||||
description: getFormattedDescription(channelClaim),
|
description: getFormattedDescription(channelClaim),
|
||||||
feed_url: feedLink,
|
feed_url: feedLink,
|
||||||
site_url: URL,
|
site_url: (channelClaim.value && channelClaim.value.website_url) || URL,
|
||||||
image_url: (channelClaim.value && channelClaim.value.thumbnail && channelClaim.value.thumbnail.url) || undefined,
|
image_url: (channelClaim.value && channelClaim.value.thumbnail && channelClaim.value.thumbnail.url) || undefined,
|
||||||
language: getLanguageValue(channelClaim),
|
language: getLanguageValue(channelClaim),
|
||||||
custom_namespaces: { itunes: 'http://www.itunes.com/dtds/podcast-1.0.dtd' },
|
custom_namespaces: { itunes: 'http://www.itunes.com/dtds/podcast-1.0.dtd' },
|
||||||
|
|
Loading…
Reference in a new issue