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

Re: G2TT - A Google inspired mobile interface

Postby G2TT-mobile » 04 Jul 2013, 19:13

Marty wrote:Thank you so much for developing G2TT!

You are very welcome!

Marty wrote:Only one question: By default the G2TT mobile interface starts with showing "all articles". How can I make it start with the overview page on which I can choose whatever category I'd like to access?

**EDIT**
So I ended up having more time today than expected and got this working. There is a new configuration parameter in js/g2tt-config.js

To start in the Feeds view on a page reload, change

Code: Select all

pref_StartInCat = '0';
to

Code: Select all

pref_StartInCat = '1';

Marty
Bear Rating Trainee
Bear Rating Trainee
Posts: 9
Joined: 30 Apr 2013, 01:15

Re: G2TT - A Google inspired mobile interface

Postby Marty » 06 Jul 2013, 19:00

Thank you for updating G2TT! Now it works exactly the way I wanted it to! :D

Marty
Bear Rating Trainee
Bear Rating Trainee
Posts: 9
Joined: 30 Apr 2013, 01:15

Re: G2TT - A Google inspired mobile interface

Postby Marty » 29 Jul 2013, 01:18

After using the G2TT mobile interface for nearly one month I can say that it works almost perfectly! Once again thanks to the developer!

There is only one "behavior" of G2TT I don't understand:

Let's say that, at the end of the week, I browse through the news of the past days (for this I created a category with the feeds of the most important German news websites such as SPIEGEL ONLINE or FAZ.NET).

When I arrive at the end of the list of new articles and when I click on "Mark these items as read", lots of new articles appear. Not only those that were added after I started reading my feeds, but also many other articles from the past days I didn't see before. This behavior is repeated after another click on "Mark these items as read" (finally after about 3 or 4 clicks all articles are read).

:arrow: Why does G2TT omit some articles? Why do certain articles only appear after one or two or three clicks on "Mark these items as read"?

Is this a specific G2TT issue or a general tt-rss problem?

Can anybody confirm the "problem" I described (I hope my explanation is clear)?

Thanks in advance!

zed
Bear Rating Trainee
Bear Rating Trainee
Posts: 4
Joined: 14 Jul 2013, 17:27

Re: G2TT - A Google inspired mobile interface

Postby zed » 29 Jul 2013, 11:35

Marty wrote:When I arrive at the end of the list of new articles and when I click on "Mark these items as read", lots of new articles appear. Not only those that were added after I started reading my feeds, but also many other articles from the past days I didn't see before. This behavior is repeated after another click on "Mark these items as read" (finally after about 3 or 4 clicks all articles are read).



After clicking it, the shown 15 articles are marked as read and the next 15 unread from that feed will be loaded, at least for me it does it this way.

Marty
Bear Rating Trainee
Bear Rating Trainee
Posts: 9
Joined: 30 Apr 2013, 01:15

Re: G2TT - A Google inspired mobile interface

Postby Marty » 29 Jul 2013, 23:22

zed, thank you for your reply!

Sorry, maybe I wasn't clear enough. I wasn't talking about loading 15 new articles, this works fine for me.

:arrow: I wanted to explain what happens when I click on "Mark these items as read" after arriving at the very end of the list: "New" articles appear that weren't there before. Why?

By the way, here is my g2tt-config.js file:

Code: Select all

// Config
global_ttrssUrl = "/feeds/";

// Preferences
pref_Feed = "-4"; // Default: all items
pref_IsCat = false;
pref_ViewMode = 'unread'; // Default: unread articles only
pref_TextType = "content"; // Default: full articles
pref_OrderBy = 'feed_dates'; // Default: newest first
pref_FeedSort = '1'; // Default: Do not sort feeds
pref_StartInCat = '1'; // Default: Start showing feeds


Thanks for your help!

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 » 01 Aug 2013, 01:06

Marty wrote:Why does G2TT omit some articles? Why do certain articles only appear after one or two or three clicks on "Mark these items as read"?

I am not sure why this is occurring. I generally do not have an issue. I have, on occasion, seen something similar but it more appeared like my feed had duplicate entries (even though I have that TT-RSS setting against duplicates enabled).

Marty wrote:Is this a specific G2TT issue or a general tt-rss problem?

My suggestion would be to try the normal interface for a bit and see if that issue appears there as well. If not, maybe we can work together to debug this (such as providing some screenshots and page sources of the issue occurring).

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

Re: G2TT - A Google inspired mobile interface

Postby Aldursil » 01 Aug 2013, 07:19

I really like G2TT and am very happy with how it works. I have noticed something odd in the latest version of G2TT. There is an "undefined" text label below the title. Any idea what is causing this?

Please see the screenshot.
Attachments
Screenshot_2013-07-31-19-51-16.png
Screenshot_2013-07-31-19-51-16.png (94.53 KiB) Viewed 5258 times

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 » 03 Aug 2013, 22:14

Aldursil wrote:There is an "undefined" text label below the title. Any idea what is causing this?

The place where you are seeing 'undefined' is where the excerpt of the article should be. I added the Everything Finance feed (http://everythingfinanceblog.com/feed) to my setup and do not see the 'undefined'. Did you make any tweaks to the code or config?

Cinnamon
Bear Rating Trainee
Bear Rating Trainee
Posts: 24
Joined: 15 Mar 2013, 17:42

Re: G2TT - A Google inspired mobile interface

Postby Cinnamon » 04 Aug 2013, 03:35

Tried this nice contribution to ttrss. Looks very familiar after the shutdown of Google Reader.

In my case: It doesn't load anything. After login the only thing I can see is: "Loading" and I can change some preferences like Oldest first or only unread articles.

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 » 04 Aug 2013, 03:50

Cinnamon wrote:In my case: It doesn't load anything. After login the only thing I can see is: "Loading" and I can change some preferences like Oldest first or only unread articles.

I am assuming you have feeds added to your normal TT-RSS? Have you enabled the APIs in the TT-RSS settings? Another possibility would be that the path to your TT-RSS install is different from the default (the default assumes it is installed in the root of your domain <domain>/tt-rss)

From the GitHub readme:

Code: Select all

You should install the files in a directory on the same host as your TT-RSS install. As the webapp uses AJAX calls to access the API, it should be hosted on the same domain name. G2TTRSS assumes that your TT-RSS install is located at <your-domain>/tt-rss, if this is not the case edit js/g2tt.js and change global_ttrssUrl (line 2) to point to the correct location. If the webapp is installed in a subdirectory of TT-RSS, it could be wiped on an update to TT-RSS so after each update of TT-RSS, you may need to reinstall G2TTRSS.

Use of this webapp requires TT-RSS's external APIs. They are enabled through TT-RSS's preferences:

in Tiny Tiny RSS go into Actions -> Preferences
Configuration -> Enable external API

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

Re: G2TT - A Google inspired mobile interface

Postby Aldursil » 04 Aug 2013, 04:17

G2TT-mobile wrote:
Aldursil wrote:There is an "undefined" text label below the title. Any idea what is causing this?

The place where you are seeing 'undefined' is where the excerpt of the article should be. I added the Everything Finance feed (http://everythingfinanceblog.com/feed) to my setup and do not see the 'undefined'. Did you make any tweaks to the code or config?


I changed the config to be correct for my install path but that was it.

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 » 04 Aug 2013, 05:14

Aldursil wrote:I changed the config to be correct for my install path but that was it.


Hrmm...I'm not sure then. Possibly try grabbing the latest code again (I made some recent, unrelated changes)? Otherwise I will need some traffic logs or access to your setup to help debug further.

Cinnamon
Bear Rating Trainee
Bear Rating Trainee
Posts: 24
Joined: 15 Mar 2013, 17:42

Re: G2TT - A Google inspired mobile interface

Postby Cinnamon » 04 Aug 2013, 16:26

G2TT-mobile wrote:
Cinnamon wrote:In my case: It doesn't load anything. After login the only thing I can see is: "Loading" and I can change some preferences like Oldest first or only unread articles.

I am assuming you have feeds added to your normal TT-RSS? Have you enabled the APIs in the TT-RSS settings? Another possibility would be that the path to your TT-RSS install is different from the default (the default assumes it is installed in the root of your domain <domain>/tt-rss)


Both question: Yes. And my g2ttrss is within the tt-rss-Folder.

I have the same issue with the mobile view app and the android app, that is why I think my installation of TTRSS isn't properly installed.

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

Re: G2TT - A Google inspired mobile interface

Postby Aldursil » 04 Aug 2013, 20:15

G2TT-mobile wrote:
Aldursil wrote:I changed the config to be correct for my install path but that was it.


Hrmm...I'm not sure then. Possibly try grabbing the latest code again (I made some recent, unrelated changes)? Otherwise I will need some traffic logs or access to your setup to help debug further.


I installed the latest version from Git and I am still seeing the same "undefined" text string.

User avatar
LifeWOutMilk
Bear Rating Disaster
Bear Rating Disaster
Posts: 52
Joined: 02 Apr 2013, 21:57

Re: G2TT - A Google inspired mobile interface

Postby LifeWOutMilk » 04 Aug 2013, 21:45

This is a logic error in ttrss, I've submitted a pull request to Fox at https://github.com/gothfox/Tiny-Tiny-RSS/pull/279.


Return to “Development”

Who is online

Users browsing this forum: No registered users and 1 guest