Page 11 of 14

Re: Mobile webapp for TT RSS: ttrss-mobile

Posted: 14 May 2013, 15:43
by cgrinds
Take a look at the Checking API section of ddd's troubleshooting page. It's not ttrss-mobile but the troubleshooting steps are the same.

Re: Mobile webapp for TT RSS: ttrss-mobile

Posted: 14 May 2013, 20:22
by mboinet
With a little help from smeerbartje, we found the problem.
It will be fixed by a coming release this week (or maybe in a few hours if the baby can sleep :wink: ).

https://github.com/mboinet/ttrss-mobile ... 2d2865657f

Re: Mobile webapp for TT RSS: ttrss-mobile

Posted: 14 May 2013, 22:10
by smeerbartje
Ghehe, recognizable.. hope your baby sleeps well :). Take your time, and again: thanks for your great project!

Re: Mobile webapp for TT RSS: ttrss-mobile

Posted: 15 May 2013, 00:31
by mboinet
She's not really sleeping, but she's nice. So 1.0 is here! 8)

Go grab it on Github: ttrss-mobile-1.0.tar.bz2
Read the doc and changelog. I tried to make it really simple.

Coming in the next release: https://github.com/mboinet/ttrss-mobile/issues?milestone=3&state=open
  • option to hide empty feeds/categories
  • a way to subscribe to a feed
  • jump back to the categories list when the this was the last article of the current category
  • jumb back to the feeds list when this was the last article of the current feed
  • maybe a bit of IE testing
  • static checks on the code (JSlint or other)
  • first load speed

Thanks everyone for your inputs, bug reports & pull requests. Now let's read...

Re: Mobile webapp for TT RSS: ttrss-mobile

Posted: 15 May 2013, 10:40
by smeerbartje
Working fine, thanks!!!!

Re: Mobile webapp for TT RSS: ttrss-mobile

Posted: 15 May 2013, 14:59
by mkl
mboinet wrote: So 1.0 is here! 8)

Go grab it on Github: ttrss-mobile-1.0.tar.bz2
Read the doc and changelog. I tried to make it really simple.

Thanks everyone for your inputs, bug reports & pull requests. Now let's read...


This now works better than the previous releases.
The categories tab still opens as "loading...". But I can call Menu->Refresh, and teh list of feeds appears.

Thanks for your work!
Michael

Re: Mobile webapp for TT RSS: ttrss-mobile

Posted: 22 May 2013, 21:13
by i92guboj
Hi :)

First, let me thank you for this application. Some of us don't have overpowered phones that can handle 20 applications concurrently, so having a web frontend is always good.

I have one problem though. I have installed tt-rss in my webserver, I have configured it to run cron and it's mostly working (the default tt-rss frontend works ok, both in my computer and my phone). The ttrss-mobile frontend is installed in some other place, in the same web server but outside the /tt-rss hierarchy. I have renamed to config file to scripts/conf.js, and changed it so that it can reach the /tt-rss directory. It seems to find it, because it let me login and it displays the first category with a number next to it (Linux|5), but that's all. The rest of categories are not shown, and the contents of "Linux" is not shown either when I press it.

When I look in the regular tt-rss web frontend I can confirm that the number of unreads inside Linux is correct, and Linux is the first category in the list (and has many feeds inside of it). The categories after Linux are not shown in the list at all. And, as said, clicking Linux only shows a blank screen (well, I can still see the black menu bar with the blue buttons, but nothing else).

I am using the 1.0 tarball.

If you can give me any pointer on where to look I'd be glad to help debug this.

ps. My server log doesn't show any error.

Re: Mobile webapp for TT RSS: ttrss-mobile

Posted: 24 May 2013, 21:38
by mboinet
You can have a look in the browser console (https://developer.mozilla.org/en-US/doc ... eb_Console). There might be an error message that I can use to debug this.

It's normal your server log shows almost nothing, the work is done in the browser. I only have one smartphone to make tests, so depending on your browser you may encounter something new that I did not plan.

If you can login, it's a good start.

Last question : have you enabled API access for the user you're using in TTRSS preferences?

Re: Mobile webapp for TT RSS: ttrss-mobile

Posted: 25 May 2013, 14:56
by tmknight
mboinet wrote:Thanks everyone for your inputs, bug reports & pull requests. Now let's read...
Very slick interface, really like the auto-refresh feature (at least that's what I call it). One request I'd like to make is that the back and menu bar be accessible throughout the scroll. I like to go back to the whole list vs previous next article. I was imagining either as a floating bar (always there) or as a pull-down - e.g. bar disappears as you scroll down, however reappears upon scroll up.

Hope this is well received - cheers for your work!

Re: Mobile webapp for TT RSS: ttrss-mobile

Posted: 25 May 2013, 17:08
by mboinet
This is possible, but I chose on purpose to make it stick at the top only for the article content in order to maximize the area. I'll try to put this as an option: https://github.com/mboinet/ttrss-mobile/issues/57

I have less time to work on this as I used to, so no ETA.

Re: Mobile webapp for TT RSS: ttrss-mobile

Posted: 27 May 2013, 13:58
by i92guboj
Sorry for being late, the forum didn't notify me of your responses for some reason and I didn't remember about this until now.

mboinet wrote:You can have a look in the browser console (https://developer.mozilla.org/en-US/doc ... eb_Console). There might be an error message that I can use to debug this.


No errors there. A lot of warnings though, but on a quick look everything seems to relate to css properties.

It's normal your server log shows almost nothing, the work is done in the browser. I only have one smartphone to make tests, so depending on your browser you may encounter something new that I did not plan.


I know, but it wouldn't be the first time that my hosting provider is in the root of the problem ;)

Anyway, for what it's worth, I use seamonkey in my desktop (Gentoo Linux based), and the stock Android browser in my phone. The android browser doesn't complain, it just keeps loading forever. Seamonkey says that "There is probably a configuration error. An API call returned: 404 (Not Found)".


If you can login, it's a good start.

Last question : have you enabled API access for the user you're using in TTRSS preferences?


I know that the public api is enabled and working because a couple of android clients I tried work just fine.

The problem seems to have varied a bit though. Now is says "loading..." forever. I can see the menu bar and such, but nothing else.

Re: Mobile webapp for TT RSS: ttrss-mobile

Posted: 27 May 2013, 14:01
by i92guboj
Oh, a similar error appears on log-out, so I can't log-out, and I am no longer sure I am properly logged in anymore.

Re: Mobile webapp for TT RSS: ttrss-mobile

Posted: 27 May 2013, 21:05
by mboinet
i92guboj wrote:Seamonkey says that "There is probably a configuration error. An API call returned: 404 (Not Found)".


This message tells you that there is a configuration error. When trying to call the API, the web server returned a 404. As there is only one config key, you should make sure its value is good.

Re: Mobile webapp for TT RSS: ttrss-mobile

Posted: 27 May 2013, 22:07
by i92guboj
I know absolutely nothing about js (I don't know how I have managed to, but I have :lol:).

But, provided this conf.js-dist file is correct then the resulting conf.js file should be correct as well:

Code: Select all

/* Copy config.js-dist to config.js
   and set it up for your environment.

   DO NOT USE ANY FILESYSTEM PATH */

define({

  /* URL to access your Tiny Tiny RSS installation */
  apiPath: "/tt-rss/",

});


I have no idea what could I have done wrong.

If I ftp to my site, the tt-rss directory is /www.something.foo/rss (not tt-rss, no particular reason, other than it being shorter).

So, I have tried to set the path to both "/rss/" and "/www.something.foo/rss/", I have also tried "/rss" and "/www.something.foo/rss", just in case js hates slashes or something, and I have also tried "http://www.something.foo/rss/", just because I had to try ;)

The result is always 404, and "Loading..." forever.

The regular tt-rss frontend works just fine, so there shouldn't be a problem with permissions. Not sure what else to try.

Thanks for your assistance :)

Re: Mobile webapp for TT RSS: ttrss-mobile

Posted: 27 May 2013, 22:10
by mboinet
Can you post or PM your URL?