* Use the feed source url when the feed url (from links) is empty This probably should just be using @feed_source_url always to make a base path for absolute paths without a hostname, rather than expecting this from the feed. An example why we should not be using @feed.url would be individual posts at domain/slug but the "index" page at domain/blog (with a generic screen on /), and images hosted from /assets/ without /blog/ anywhere in the asset path. Partial fix for #15488 * Use item.url as base_url for relative links It's possible the rss feed and the contained articles are served from separate hosts/subdomains/paths. Don't assume the entries are related to the feed or the feed_source_url, use the item's url for relative links in that item. * Update failing spec to add url to item double |
||
|---|---|---|
| .. | ||
| assemble_article_markdown.rb | ||
| check_item_medium_reply.rb | ||
| check_item_previously_imported.rb | ||
| clean_html.rb | ||
| import.rb | ||
| validate_url.rb | ||