Plugin question - not sure if possible

Post plugins and custom CSS snippets here
bmckenna
Bear Rating Trainee
Bear Rating Trainee
Posts: 33
Joined: 19 Mar 2013, 21:41

Plugin question - not sure if possible

Postby bmckenna » 16 May 2014, 20:02


scottjl
Bear Rating Trainee
Bear Rating Trainee
Posts: 8
Joined: 17 Mar 2013, 21:51

Re: Plugin question - not sure if possible

Postby scottjl » 17 May 2014, 00:19

You mean like

Preferences -> General -> Allow duplicate articles ?

Toggle that off and dupes go away, at least for me.

bmckenna
Bear Rating Trainee
Bear Rating Trainee
Posts: 33
Joined: 19 Mar 2013, 21:41

Re: Plugin question - not sure if possible

Postby bmckenna » 17 May 2014, 00:37


bmckenna
Bear Rating Trainee
Bear Rating Trainee
Posts: 33
Joined: 19 Mar 2013, 21:41

Re: Plugin question - not sure if possible

Postby bmckenna » 21 May 2014, 00:51

Bump.

I'm thinking this could be accomplished via database script relatively simply...depending on the database structure. I'm thinking something along the lines of "look in the database for articles over the past 2, maybe 3 days for articles that almost match and set all but one of them to 'read'" - just not sure if I can set something like that up as a plugin to maybe like...run by pressing a button or on some automatic basis...or if I should just set up a cron job to run a SQL script that would basically do this, if that's easier than being able to run it on demand.

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

Re: Plugin question - not sure if possible

Postby fox » 21 May 2014, 01:29

Postgres has a pretty good n-gram support for matching similar strings.

User avatar
syh
Bear Rating Trainee
Bear Rating Trainee
Posts: 5
Joined: 26 Jun 2013, 23:29

Re: Plugin question - not sure if possible

Postby syh » 21 May 2014, 07:32

Have you tried the af_unburn plug-in that comes with TT-RSS? I think it might resolve the URLs (feedproxy) and then, since they point to the same place, the duplicate check would work (in theory, I haven't looked at the code, but I think I remember messing around with it a while ago). Apologies if I've misunderstood or misremembered.

bmckenna
Bear Rating Trainee
Bear Rating Trainee
Posts: 33
Joined: 19 Mar 2013, 21:41

Re: Plugin question - not sure if possible

Postby bmckenna » 21 May 2014, 18:30


User avatar
syh
Bear Rating Trainee
Bear Rating Trainee
Posts: 5
Joined: 26 Jun 2013, 23:29

Re: Plugin question - not sure if possible

Postby syh » 21 May 2014, 23:03

Ah, that's too bad, was hoping it would be a quick and easy fix. Maybe fox or one of the other much smarter people than me will be able to help.

bmckenna
Bear Rating Trainee
Bear Rating Trainee
Posts: 33
Joined: 19 Mar 2013, 21:41

Re: Plugin question - not sure if possible

Postby bmckenna » 22 May 2014, 00:27


feader
Bear Rating Master
Bear Rating Master
Posts: 160
Joined: 26 Dec 2012, 20:03

Re: Plugin question - not sure if possible

Postby feader » 22 May 2014, 01:08


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

Re: Plugin question - not sure if possible

Postby fox » 22 May 2014, 01:43

article filter can mark it as read I think which would effectively accomplish the goal.

bmckenna
Bear Rating Trainee
Bear Rating Trainee
Posts: 33
Joined: 19 Mar 2013, 21:41

Re: Plugin question - not sure if possible

Postby bmckenna » 22 May 2014, 18:36


feader
Bear Rating Master
Bear Rating Master
Posts: 160
Joined: 26 Dec 2012, 20:03

Re: Plugin question - not sure if possible

Postby feader » 22 May 2014, 19:58


bmckenna
Bear Rating Trainee
Bear Rating Trainee
Posts: 33
Joined: 19 Mar 2013, 21:41

Re: Plugin question - not sure if possible

Postby bmckenna » 22 May 2014, 21:18

Okay, I think I see where you're coming from.

Independent of whether or not the duplicate articles setting should work (and based on your explanation I could see why it wouldn't), should the unburn plugin be resolving the URLs in the articles so that tt-rss's GUI/the database shows the links as being the resolved URLs? I thought that's what the purpose of the plugin was based on what I had read previously.

If that's what the plugin is supposed to be doing, I could write a simple database statement that runs every time the feeds are updated to delete articles with duplicate URLs. Since the different feedburner links would resolve to the same URL, I think this would solve my problem pretty neatly.

I could also probably write a more detailed database statement that would delete duplicates before the feedburner is resolved, but I'm still curious as to whether or not the plugin is functioning at all, since in the feed debug view it does not appear to be.

coplate
Bear Rating Trainee
Bear Rating Trainee
Posts: 3
Joined: 25 May 2014, 05:32

Re: Plugin question - not sure if possible

Postby coplate » 25 May 2014, 08:50



Return to “Themes and plugins”

Who is online

Users browsing this forum: No registered users and 3 guests