Page 1 of 5

Google Reader theme

Posted: 14 Mar 2013, 17:52
by remko
Hi,

since Google Reader will be discontinued, i think many people would love to see a Google Reader theme for tt-rss. This means changes like having a sans-serif font, website title and feed icon in front of the actual feed title and so on. Google Reader also has the behaviour to expand/collapse the news instead of creating a separate window.

Cheers,
remko

greader feeds.png
Google reader feeds display
greader feeds.png (28.03 KiB) Viewed 24306 times

Re: Google Reader theme

Posted: 14 Mar 2013, 18:11
by fox
You can get the expand/collapse if you enable combined mode + disable expand articles automatically, one of those might be an advanced setting you need to enable a checkbox to show.

As for the theme, you can use user css functionality to style tt-rss however you want it.

Re: Google Reader theme

Posted: 14 Mar 2013, 22:46
by Ipstenu
Combined + turning off auto-expand works to expand feeds, but you can't click on the title and collapse them, unless I'm missing something.

Re: Google Reader theme

Posted: 15 Mar 2013, 11:54
by Bobjespat
If anyone have created a user css to simulate the Google Reader, please post it here. I think someone like me, found it useful.

Re: Google Reader theme

Posted: 15 Mar 2013, 12:34
by fox
It's actually a very simple patch to make it behave in this fashion.

Re: Google Reader theme

Posted: 15 Mar 2013, 14:09
by Loye
Two questions:
1. Where i can edit templates? I dont need some elements in feed view
2. How no install patch?

Re: Google Reader theme

Posted: 15 Mar 2013, 15:07
by Bobjespat
You can edit the css in your preferences under "Settings" > "Surface". The Patch is a Diff File. You must change in /js/viewfeed.js the Code from

Code: Select all

      if (id == getActiveArticleId() && Element.visible(elem))
         return true;
to

Code: Select all

      if (id == getActiveArticleId() && Element.visible(elem)) {
           Element.hide(elem);
         Element.show("CEXC-" + getActiveArticleId());
         return;
      }

Re: Google Reader theme

Posted: 15 Mar 2013, 15:19
by Loye
bilbo_b, thanks!
And what about edit main templates?

Re: Google Reader theme

Posted: 15 Mar 2013, 15:19
by Skibbi
Hello,
I'm another user of Google Reader. I've installed tt-rss yesterday and I'm loving it so far. But I think that some UI improvements would make it better. Here are some suggestions:
    * add google reader style toolbar on top of the UI with most used features as a buttons/fields (like search, filters, labels etc.)
    * when I'm reading current news, right click on the title gives me option to mark previous as read. Can you add also option mark current record as unread?
    * possibility to mark *ALL* items in the feed as read (no only ones in the current screen)
Also there are some bugs that I found:
    * sometimes special category folder is not visible in the tree on the left
    * dragging categories around sometimes stuck and only full page refresh helps

Re: Google Reader theme

Posted: 15 Mar 2013, 17:51
by Cheetah
fox wrote:It's actually a very simple patch to make it behave in this fashion.

Yay! If it isn't already headed that way, I suggest including this in the next release.

Re: Google Reader theme

Posted: 15 Mar 2013, 19:05
by Shane R. Monroe
I did a search ... didn't see how to apply a .patch file. Sorry in advance for being a newb. :)

Re: Google Reader theme

Posted: 15 Mar 2013, 19:38
by Cheetah
Cheetah wrote:Yay! If it isn't already headed that way, I suggest including this in the next release.

OK, maybe not quite yet, as there are some minor issues with this.

It makes clicking anywhere in the article display re-collapse the article. Mostly this might be OK, but one point where it's not so great is if the article has the "Attachments" button. It opens the attachments list and collapses the article, which results in a strange display.

Re: Google Reader theme

Posted: 15 Mar 2013, 20:59
by fox
Yeah it's because cdmClicked() is set on the whole content element, it could be changed to only act on excerpt/title link.

There's some "let's make it like greader" talk on G+ community, you can try mentioning it there too.

Re: Google Reader theme

Posted: 16 Mar 2013, 03:04
by remko
fox, thanks for these hints, your patch worked fine. One thing i am still missing from Google Reader's layout is having the website title on the left like in the screenshot i posted. I guess this would be just another minor change to feeds.php but i can't find out how.

Re: Google Reader theme

Posted: 16 Mar 2013, 12:36
by amha
Did you try this new option in version 1.7.4 : Group headlines in virtual feeds? I find it even more convenient than just adding the feed title.

You'll need to check Show additional preferences first.