By NIna MÃ¥rtensson on Tuesday, 17 April 2018
Posted in General
Replies 3
Likes 0
Views 271
Votes 0
I'd like to change the easyblog latest feed to show only the first image from the blog entries and shorten the text. Right now the whole blog entry is showing in the feed. Been looking at com_easyblog/views/latest/view.feed.php but it's not telling me much.
Hi there,

You actually can set the blog content taken from by setting shown: http://take.ms/oOi26
·
Tuesday, 17 April 2018 18:35
·
0 Likes
·
0 Votes
·
0 Comments
·
I've already choosen setting "Blogg content taken from Introtext" and RSS shows the whole post text and all images. Any other ideas? I haven't been able to locate the function that creates the rss feed but I wish to limit the output to the first image in the blogg post and limit the amount of characters in the blog post text and a readmore-link.
·
Wednesday, 18 April 2018 15:18
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi NIna,

The rss feed is actually will shows same as your frontpage listing view. If you have make truncation( http://take.ms/sopZA )/ add readmore tag in the blog post in will shows as the frontpage listing.

I haven't been able to locate the function that creates the rss feed

Basically it will go into the execute function in the file:
/administrator/components/com_easyblog/includes/formatter/types/feeds.php

where there is a checking where if you choose fulltext or introtext in the line 78 onward http://take.ms/Nqlr7
Where it post was get from the file:
.../administrator/components/com_easyblog/includes/post/post.php
function getContent/getIntro according to the setting you've set in the backend.
·
Wednesday, 18 April 2018 16:47
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post