fix feed link for relative url
This commit is contained in:
parent
93ff42af46
commit
d3a027bb1f
|
@ -232,6 +232,11 @@ class SiteFeedAnnc
|
|||
tmp["source_url"] = self.remote_site_url
|
||||
tmp["source-site"] = self.remote_site_url
|
||||
tmp["source-site-title"] = self.channel_title(locale)
|
||||
|
||||
|
||||
if !tmp["link_to_show"].blank?
|
||||
tmp["link_to_show"] = URI.join(tmp["source_url"],URI.encode(tmp["link_to_show"])).to_s
|
||||
end
|
||||
|
||||
|
||||
if !tmp["source-site-title"].blank?
|
||||
|
|
Loading…
Reference in New Issue