Support Online : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

Helix Blog Option image not shown in a RSS

Featured Lock Resolved Bug
Hi,

We use an app creator with Joomla! and RSS and always it´s ok the text and image. In our new proyect we migrate a Joomla! 1.5 to 3.8.5 and we want to use in the new articles your "helix blog option". The problem is that we can´t see an image in the RSS feed and in old Joomla! articles yes. It´s strange: http://www.ordiziakoazoka.eus/besteak/berriak?format=feed&type=rss

The creator capture it´s attached.

Thanks

Attachments (1)

  • Captura de pantalla 2018-03-02 a las 22.52.21.png
    Captura de pantalla 2018-03-02 a las 22.52.21.png 175.3 KB

3 Answers

Paul Frankowski - Staff

More than a month ago #Permalink
Hi,
yes default core RSS system doesn't load images from Helix Blog Options, only from default sections of Articles.
---
Probably it request extra custom code to improve it or you have to use addcional RSS component which have Helix image support.

Milan

More than a month ago #Permalink
I have been struggling for days to try and make this work ... below is the original Joomla code that produces the RSS feed. It would be amazing if one of your coding gurus would be able to suggest how I could customise this to use the helix feature image instead of the intro_image.

This is the Joomla file
/com_content/views/category/view.feed.php


protected function reconcileNames($item)
{
// Get description, intro_image, author and date
$app = JFactory::getApplication();
$params = $app->getParams();
$item->description = '';
$obj = json_decode($item->images);
$introImage = isset($obj->{'image_intro'}) ? $obj->{'image_intro'} : '';

if (isset($introImage) && ($introImage != ''))
{
$image = preg_match('/http/', $introImage) ? $introImage : JURI::root() . $introImage;
$item->description = '<p><img src="' . $image . '" /></p>';
}

$item->description .= ($params->get('feed_summary', 0) ? $item->introtext . $item->fulltext : $item->introtext);

// Add readmore link to description if introtext is shown, show_readmore is true and fulltext exists
if (!$item->params->get('feed_summary', 0) && $item->params->get('feed_show_readmore', 0) && $item->fulltext)
{
// Compute the article slug
$item->slug = $item->alias ? ($item->id . ':' . $item->alias) : $item->id;

// URL link to article
$link = JRoute::_(ContentHelperRoute::getArticleRoute($item->slug, $item->catid, $item->language));

$item->description .= '<p class="feed-readmore"><a target="_blank" href ="' . $link . '">' . JText::_('COM_CONTENT_FEED_READMORE') . '</a></p>';
}

$item->author = $item->created_by_alias ?: $item->author;
}
}

Paul Frankowski - Staff

More than a month ago #Permalink
sorry, but we have Support Policy, it means that you have to find a freelancer for this PHP task.


There are no replies made for this post yet.
Be one of the first to reply to this post!

Leaderboard (30 days)

Paul Frankowski

Paul Frankowski

Total Accepted Answers: 110
Toufiq

Toufiq

Total Accepted Answers: 61
Sifat

Sifat

Total Accepted Answers: 45
Mehtaz Afsana Borsha

Mehtaz Afsana Borsha

Total Accepted Answers: 22
Ofi Khan

Ofi Khan

Total Accepted Answers: 20

118

Templates

306197

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us