DripDripDrop: A Tiny Tiny RSS Web client

Development-related discussion, including bundled plugins
bat
Bear Rating Trainee
Bear Rating Trainee
Posts: 1
Joined: 24 Apr 2013, 00:11

Re: DripDripDrop: A Tiny Tiny RSS Web client

Postby bat » 24 Apr 2013, 00:26

wow, this looks good.
Waiting for more mobile web support! Currently, the only way I see to get to the next item is to go back to the list ..

cgrinds
Bear Rating Trainee
Bear Rating Trainee
Posts: 34
Joined: 10 Apr 2013, 01:38

Re: DripDripDrop: A Tiny Tiny RSS Web client

Postby cgrinds » 27 Apr 2013, 21:52

Upload version 0.4.5

The major new feature that folks seems to love is Vimium style link navigation.
When reading an article, if you press f you'll see navigation hints over each link. Press that letter to open a new tab to that link.
Screenshot: Image

Other new changes in this version
  • Go to next/previous article with Shift-J/K, no need to go back to list of articles
  • bug fixes

cgrinds
Bear Rating Trainee
Bear Rating Trainee
Posts: 34
Joined: 10 Apr 2013, 01:38

Re: DripDripDrop: A Tiny Tiny RSS Web client

Postby cgrinds » 30 Apr 2013, 16:58

New version uploaded:

Added support for special feeds.
Add icons to feed and articles when viewed from special feed
Add settings view to disable showing special feeds
Verified that CORs works

verm1n
Bear Rating Trainee
Bear Rating Trainee
Posts: 5
Joined: 30 Apr 2013, 18:25

Re: DripDripDrop: A Tiny Tiny RSS Web client

Postby verm1n » 30 Apr 2013, 18:57

I installed tt-rss manually into a directory on my nginx server path. The path to my ttrss looks like this:
/srv/www/***********/public_html/apps/TinyTinyRSS.
To access it through a browser I use. ***********/apps/TinyTinyRSS and to get to DripDripDrop I use ***********/apps/TinyTinyRSS/ddd. The contents of my TinyTinyRSS folder look like this:

Code: Select all

api               errors.php  locale        schema
atom-to-html.xsl  feed-icons  lock          templates
backend.php       image.php   messages.pot  themes
cache             images      opml.php      tt-rss.css
cdm.css           include     plugins       update_daemon2.php
classes           index.php   prefs.css     update.php
config.php        install     prefs.php     update.sh
config.php-dist   js          public.php    utility.css
db-updater.php    lib         README.md     utils
ddd               LICENSE     register.php

My problem is that I cant seem to link to the right api path. The login page always tells me that login failed though I use the right credentials. What should I set my api path to be in config.js ?
Many Thanks for a great front-end by the way

cgrinds
Bear Rating Trainee
Bear Rating Trainee
Posts: 34
Joined: 10 Apr 2013, 01:38

Re: DripDripDrop: A Tiny Tiny RSS Web client

Postby cgrinds » 30 Apr 2013, 19:55

If you're using Chrome, open the Dev Tools (Option + Cmd I on the Mac) or (Shift-Ctrl-I on Windows and Linux).
Flip to the network tab, press Login and see what the URL of the /api/ request is.

Did you Enable API access for your account on the server?

You can also surf to the api URL without ddd to confirm that it is working. That way you have one less moving part.
1. Confirm that you can get to your main TTRSS page, something like
http://example.com/apps/TinyTinyRSS

2. Confirm that you can surf to
http://example.com/apps/TinyTinyRSS/api/
You should see something like this in your browser

Code: Select all

{"seq":null,"status":1,"content":{"error":"NOT_LOGGED_IN"}}


3. If all that works then take the URL from #2 and break it into pieces to update your config.js
For example if this is the ULR that worked for #2, you want to use the part in blue, or put another way, the segment preceding the /api/.
http://example.com/apps/TinyTinyRSS/api/

you would edit your config.js to read:

Code: Select all

    api:'/TinyTinyRSS/',

verm1n
Bear Rating Trainee
Bear Rating Trainee
Posts: 5
Joined: 30 Apr 2013, 18:25

Re: DripDripDrop: A Tiny Tiny RSS Web client

Postby verm1n » 01 May 2013, 00:25

I have API access enabled for my server. And I was able to reach "http://example.com/apps/TinyTinyRSS/api/" and see that exact json. So I modified my config.js to reflect that.

Code: Select all

api:'/TinyTinyRSS/',
Sadly that did not fix my problem. Can you confirm that my ddd directory should be inside the "TinyTinyRSS" root directory? Google diagnostics shows a request with name/path :

Code: Select all

api/
/TinyTinyRSS
which returns a nginx 404 not found page. Thank you for your help. Is my ddd directory in the wrong path?

cgrinds
Bear Rating Trainee
Bear Rating Trainee
Posts: 34
Joined: 10 Apr 2013, 01:38

Re: DripDripDrop: A Tiny Tiny RSS Web client

Postby cgrinds » 01 May 2013, 01:35

It's not ideal to have it in your TTRSS root directory but that's only because a server upgrade may move.
It sounds like you're browser is able to "see" the ddd directory fine, so that isn't the problem.

You verified that API access is enabled and can reach it so the next place to verify is that the ddd code is making the correct call.
Can you take a look at Chrome's dev tools and see what request the code is making?

verm1n
Bear Rating Trainee
Bear Rating Trainee
Posts: 5
Joined: 30 Apr 2013, 18:25

Re: DripDripDrop: A Tiny Tiny RSS Web client

Postby verm1n » 01 May 2013, 02:01

OK so your comment about ddd not having to be in the ttrss dir made me think about how ddd even locates the api. Obviously just 'TinyTinyRSS" is insufficient to find it. I dug through the code a little and understood that the connect is from the perspective of my web-server. From the perspective of the root of my web-server index, TinyTinyRSS is simply located at /apps/TinyTinyRSS. I put that line into my ddd config and now it works. I also moved my ddd to an independent directory. Thank you for your help and I will get straight to messing with your css and js :)

cgrinds
Bear Rating Trainee
Bear Rating Trainee
Posts: 34
Joined: 10 Apr 2013, 01:38

Re: DripDripDrop: A Tiny Tiny RSS Web client

Postby cgrinds » 01 May 2013, 02:10

Excellent - glad you got it working. Any suggestions on improving the docs on that point?

verm1n
Bear Rating Trainee
Bear Rating Trainee
Posts: 5
Joined: 30 Apr 2013, 18:25

Re: DripDripDrop: A Tiny Tiny RSS Web client

Postby verm1n » 01 May 2013, 05:23

If the way to get to tt-rss on a domain is www.example.com/path/to/TinyTinyRSS, then the value that should be used for api in config.js would be

Code: Select all

'/path/to/TinyTinyRSS'
. This might depend on the setup though :)

verm1n
Bear Rating Trainee
Bear Rating Trainee
Posts: 5
Joined: 30 Apr 2013, 18:25

Re: DripDripDrop: A Tiny Tiny RSS Web client

Postby verm1n » 01 May 2013, 15:40

As a side note, when Im using a combined category like "all" to view my feeds, and I open an article for more detailed review, the "return" button takes me to the page of the feed to which that article belonged. Not sure if this is intentional or not though.

cgrinds
Bear Rating Trainee
Bear Rating Trainee
Posts: 34
Joined: 10 Apr 2013, 01:38

Re: DripDripDrop: A Tiny Tiny RSS Web client

Postby cgrinds » 01 May 2013, 16:45

Thanks. I've opened defect https://github.com/cgrinds/dripdripdrop/issues/11

As I workaround until I fix it, you can press i, which works as it should.

cgrinds
Bear Rating Trainee
Bear Rating Trainee
Posts: 34
Joined: 10 Apr 2013, 01:38

Re: DripDripDrop: A Tiny Tiny RSS Web client

Postby cgrinds » 02 May 2013, 04:30

Fixed in latest

cgrinds
Bear Rating Trainee
Bear Rating Trainee
Posts: 34
Joined: 10 Apr 2013, 01:38

Re: DripDripDrop: A Tiny Tiny RSS Web client

Postby cgrinds » 03 May 2013, 23:02

I'm a star!!!!

or

ddd now has star support.

MacDork
Bear Rating Trainee
Bear Rating Trainee
Posts: 30
Joined: 01 May 2013, 05:55

Re: DripDripDrop: A Tiny Tiny RSS Web client

Postby MacDork » 04 May 2013, 17:22

Star support! :D Thanks!

Edit: the page display anything now =(

I deleted and cloned a brand new copy (and configured my config.js), and it's still not displaying anything.


Return to “Development”

Who is online

Users browsing this forum: No registered users and 1 guest