Remove Dupes from Google Reader

By Hao Chen Last update May 30, 2008 — Installed 2,062 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 13 posts, 6 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
Hao Chen Script's Author

Not at the moment, but that's a good suggestion.

 
kizer8 User

Is there a way to automatically remove the dupes without having to hit the Remove Dupes button?

Thanks,
Kizer

 
Hao Chen Script's Author

John,

Sure, add this line after the line you mentioned:

entry.style.display = 'none';

-Hao

 
John Glossner User

Great Script!

Can you provide an option to remove them like in version 0.1? I saw line entry.className = entry.className.replace('unread','') + " read";

Can you post the code to make it disappear?

 
Hao Chen Script's Author

And also, to be easier to use, it should run automatically (as long as it's fast), instead of having to click it every time you scroll a few new items. :)

 
Hao Chen Script's Author

Right now, the script is comparing different combinations of the the posts' title and excerpt. I'm thinking it would be more accurate and faster to compare the link the post goes to instead...

 
Hao Chen Script's Author

Updated to v0.2

Changes:
- moved Remove Dupes button next to the Refresh button
- dupes: mark as read, but no longer hides them (fix keyboard j,k bug)
- finds more dupes by splitting symbols (-, |)
- more helpful firebug console output (ie. # dupes removed)

 
rainworm Scriptwright

Found one bug in your script;

Going to the next news, using keys "J", "K" isn't working where the dupes were removed.

 
rainworm Scriptwright

Oh and another suggestion; make the button use the same style as buttons on google reader and if possible align it next to "folder settings" button.

 
rainworm Scriptwright

Hi,

I tried the script and it doesn't work for all the "dupes".
I'm subscribed to 24ur.com news(http://rss.24ur.com/index.rss)
and after clicking the "remove dupes" button, I can see the scroller getting bigger so therefore I assume that many of dupes were removed.. but when I read the news.. I can still find the duplicated news.
Hope this helps.

 
Levi Wallach Scriptwright

Hi, this seems to work well. The main thing I'd suggest right now would be to move the button - either immediately to the left of folder settings select list, or immediately to the right of the subscription title. Thanks, though, this does help with some feeds that provide dupes. If only it could group all the articles from various feeds about the same topic together, that would be REALLY nice! ;-)

 
Hao Chen Script's Author

Hey guys,

This is a version 0.1 test script that can remove dupes from Google Reader (a well needed feature!).

It still needs work to be more usable, but it works. What it does is add a Remove Dupes button above view settings on the All Items page.

If you could be so kind, to help me test it, and offer some C&C, I would appreciate it. It outputs which dupes it removes to the Firebug console.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel