rss feeds with multiple sized images

Support requests, bug reports, etc. go here. Dedicated servers / VDS hosting only
evilbunny
Bear Rating Trainee
Bear Rating Trainee
Posts: 10
Joined: 15 Nov 2013, 15:56

rss feeds with multiple sized images

Postby evilbunny » 17 Nov 2013, 10:31

I have a question about limiting images in posts, the xml feed has a bunch image sizes of the same image, other rss software load one image, ttrss shows all the images

the rss link is this http://www.abc.net.au/local/rss/all.xml

lotrfan
Bear Rating Disaster
Bear Rating Disaster
Posts: 73
Joined: 18 Mar 2013, 04:42

Re: rss feeds with multiple sized images

Postby lotrfan » 18 Nov 2013, 03:58

It looks like it uses <media:group> tags. According to the spec (http://www.rssboard.org/media-rss#media-group), all <media:content>s in a <media:group> should be the same thing. Looking at the source (classes/feeditem/atom.php and classes/feeditem/rss.php), it looks like it shouldn't be too hard to add support. (Whether fox accepts it, though...)

lotrfan
Bear Rating Disaster
Bear Rating Disaster
Posts: 73
Joined: 18 Mar 2013, 04:42

Re: rss feeds with multiple sized images

Postby lotrfan » 18 Nov 2013, 04:16


User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: rss feeds with multiple sized images

Postby fox » 18 Nov 2013, 09:23

Can you make a pull request with this? Thanks.

lotrfan
Bear Rating Disaster
Bear Rating Disaster
Posts: 73
Joined: 18 Mar 2013, 04:42

Re: rss feeds with multiple sized images

Postby lotrfan » 18 Nov 2013, 09:35


User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: rss feeds with multiple sized images

Postby fox » 18 Nov 2013, 09:41

I'll take a look later today, thanks!

lotrfan
Bear Rating Disaster
Bear Rating Disaster
Posts: 73
Joined: 18 Mar 2013, 04:42

Re: rss feeds with multiple sized images

Postby lotrfan » 18 Nov 2013, 10:10

Sounds good... It works with the above feed, but I don't have any other feeds with enclosures, so it's possible it breaks other feeds.

evilbunny
Bear Rating Trainee
Bear Rating Trainee
Posts: 10
Joined: 15 Nov 2013, 15:56

Re: rss feeds with multiple sized images

Postby evilbunny » 18 Nov 2013, 13:58

What's the best way to wipe all posts from a particular feed?

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: rss feeds with multiple sized images

Postby fox » 18 Nov 2013, 14:09

resubscribing should work, I think

evilbunny
Bear Rating Trainee
Bear Rating Trainee
Posts: 10
Joined: 15 Nov 2013, 15:56

Re: rss feeds with multiple sized images

Postby evilbunny » 18 Nov 2013, 14:50

Thanks for the help, the patches applied works great.

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: rss feeds with multiple sized images

Postby fox » 18 Nov 2013, 15:08

This is merged for the next version too.


Return to “Support”

Who is online

Users browsing this forum: No registered users and 8 guests