G2TT - A Google inspired mobile interface

Development-related discussion, including bundled plugins
G2TT-mobile
Bear Rating Disaster
Bear Rating Disaster
Posts: 52
Joined: 30 Mar 2013, 00:47

G2TT - A Google inspired mobile interface

Postby G2TT-mobile » 13 Apr 2013, 03:53

Update: G2TTRSS is on GitHub: https://github.com/g2ttrss/g2ttrss-mobile Latest version can be found there.

I am a switch over from Google Reader but almost solely used the mobile interface (and an iGoogle module if anyone wants to develop that). I came to these forums looking for a mobile interface that I was already familiar with and while I did not try them all, none of them seemed to be what I wanted.

I was inspired by j0nson's GReader-Like Mobile Version thread/app and started building off that using Google's CSS styles. Then I decided I wanted to do it all in javascript with no PHP and this is what I wrote.

Still to do:
- Search -- I see that the APIs support it and so eventually this will be included

Note: I am not a developer, and this is my first encounter of more than 3 lines of jQuery. As such this was a learning process and some of the later parts are "cleaner" than others and why I don't have a consistent style. Much of my code is built off of examples on the web (such as StackOverflow).
Attachments
g2tt-mobile.zip
Google inspired mobile interface for TT-RSS
(128.29 KiB) Downloaded 665 times
Last edited by G2TT-mobile on 16 Apr 2013, 22:37, edited 2 times in total.

Aldursil
Bear Rating Master
Bear Rating Master
Posts: 106
Joined: 18 Mar 2013, 03:11

Re: G2TT - A Google inspired mobile interface

Postby Aldursil » 13 Apr 2013, 07:13

I just tried this and cannot log in. No error messages are displayed.

G2TT-mobile
Bear Rating Disaster
Bear Rating Disaster
Posts: 52
Joined: 30 Mar 2013, 00:47

Re: G2TT - A Google inspired mobile interface

Postby G2TT-mobile » 13 Apr 2013, 07:44

Do you have external APIs enabled? The interface assumes it is in a subdirectory of tt-rss (such as example.com/tt-rss/m/ or example.com/tt-rss/mobile/). If both of these are true, then do you have enough know-how to look at the requests your browser is sending (such as Developer Tools in Chrome or firebug in FireFox)?

Aldursil
Bear Rating Master
Bear Rating Master
Posts: 106
Joined: 18 Mar 2013, 03:11

Re: G2TT - A Google inspired mobile interface

Postby Aldursil » 13 Apr 2013, 08:59

Attachments
web_console.png
web_console.png (77.85 KiB) Viewed 20139 times

murf
Bear Rating Trainee
Bear Rating Trainee
Posts: 3
Joined: 05 Apr 2013, 10:56

Re: G2TT - A Google inspired mobile interface

Postby murf » 13 Apr 2013, 11:28

Please put it up on github, as j0nson did.

levito
Bear Rating Disaster
Bear Rating Disaster
Posts: 77
Joined: 17 Mar 2013, 04:18

Re: G2TT - A Google inspired mobile interface

Postby levito » 13 Apr 2013, 12:18


G2TT-mobile
Bear Rating Disaster
Bear Rating Disaster
Posts: 52
Joined: 30 Mar 2013, 00:47

Re: G2TT - A Google inspired mobile interface

Postby G2TT-mobile » 13 Apr 2013, 18:07

Thanks levito! That's what I get for tweaking the login forms last minute. I'll try to get setup on GitHub this weekend.

Aldursil
Bear Rating Master
Bear Rating Master
Posts: 106
Joined: 18 Mar 2013, 03:11

Re: G2TT - A Google inspired mobile interface

Postby Aldursil » 13 Apr 2013, 20:01

That fixed it.

Could you add a log out entry to the menu? I wanted to try this on another account and I do not see how to log out. This looks really nice.

G2TT-mobile
Bear Rating Disaster
Bear Rating Disaster
Posts: 52
Joined: 30 Mar 2013, 00:47

Re: G2TT - A Google inspired mobile interface

Postby G2TT-mobile » 13 Apr 2013, 21:41

Alright, I've put it up on GitHub. https://github.com/g2ttrss/g2ttrss-mobile

Logout sounds like a good thing to have. I'll work on that next.

Thanks for the feedback everyone!

jonb
Bear Rating Trainee
Bear Rating Trainee
Posts: 19
Joined: 28 Mar 2013, 00:38

Re: G2TT - A Google inspired mobile interface

Postby jonb » 14 Apr 2013, 01:00


Tobi
Bear Rating Trainee
Bear Rating Trainee
Posts: 13
Joined: 17 Mar 2013, 19:35
Location: Hanover, Germany

Re: G2TT - A Google inspired mobile interface

Postby Tobi » 14 Apr 2013, 01:28

wow this theme looks exactly like google reader's one, great!
whats not working is the icon. so if you want to create a webapp out of it (save to homescreen), it's not displaying the icon (.png file you are providing with it).
everything else looks nice and since it's javascript it's loading pretty fast. great work dude!

G2TT-mobile
Bear Rating Disaster
Bear Rating Disaster
Posts: 52
Joined: 30 Mar 2013, 00:47

Re: G2TT - A Google inspired mobile interface

Postby G2TT-mobile » 14 Apr 2013, 04:22


G2TT-mobile
Bear Rating Disaster
Bear Rating Disaster
Posts: 52
Joined: 30 Mar 2013, 00:47

Re: G2TT - A Google inspired mobile interface

Postby G2TT-mobile » 14 Apr 2013, 04:28


G2TT-mobile
Bear Rating Disaster
Bear Rating Disaster
Posts: 52
Joined: 30 Mar 2013, 00:47

Re: G2TT - A Google inspired mobile interface

Postby G2TT-mobile » 14 Apr 2013, 06:59

GitHub has been updated with logout feature. Any reason to also have the logout on the Category/Feed menu? Currently only when viewing the posts. It deletes all cookies so all your preferences are forgotten since this is not backed by a database.

Edit: I answered my own question and added the logout to Category/Feed.

Tobi
Bear Rating Trainee
Bear Rating Trainee
Posts: 13
Joined: 17 Mar 2013, 19:35
Location: Hanover, Germany

Re: G2TT - A Google inspired mobile interface

Postby Tobi » 14 Apr 2013, 16:44



Return to “Development”

Who is online

Users browsing this forum: No registered users and 0 guests