nhoening / gritttt-rss

Implements 'cancelled' sharing-features of Google Reader for the excellent open-source RSS-Reader TinyTiny-RSS: share any page on the web via a bookmarklet and show your shared items in a widget on any website you want. Also allow to import shared&starred articles from Google Reader.
gritttt-rss.nicolashoening.de
Other
48 stars 4 forks source link

Driveby structure is confusing #20

Closed seul closed 12 years ago

seul commented 12 years ago

Why not make a folder called "gritttt_driveby" with everything but readme, share and possibly bookmarklet and tell the user to just copy this into his tt-rss-root with share.php (which chould be renamed to gritttt_driveby.php or something of the like so we keep a name space). Then paths and everything would be easier and I see no reason why user needs that much flexibility.

nhoening commented 12 years ago

I agree that installing driveby-sharing is too hard. The only bad thing about your proposal is that replacing tt-rss might erase the grittttt_driveby folder.

We can probably also make installation of shared-widget easier. Maybe we should think about a good strategy for both.

seul commented 12 years ago

Yes, it might. But that is the price you pay when you use open source goodness, isn't it? In all my major utilities, be it Drupal, zenphoto or even good old polypager I have folders with third party modules, customised skins or extra images and have to be cautious when upgrading.

But I agree: it would be good to have one folder where ALL our stuff resides. So there's

Only question I have is: can we ask all users to have everything on their server, even though they might only want Driveby OR Widget?

Personally, I wouldn't mind, especially if it would mean only having to copy one single folder.

Just out of curiosity: Why can share.php not be in that folder, too?

nhoening commented 12 years ago

I think it is a good base decision to say that gritttt will reside within the tt-rss installation. Let's see which things (e.g. path settings) become easier - I guess some will, making configuration a bit easier. Not sure if that could also help with the location of share.php, let's see.

I'd still keep the widget and the driveby-sharing separated (no one likes a bunch of files on their server which they do not want to use).

Maybe they could live in different folders below a "gritttt" folder.

tt-rss
 |_
    gritttt
    |_
       driveby-sharing
    |_
       shared-widget
seul commented 12 years ago

exactly what I was thinking. The gritttt-superfolder would also relief us of the name space issues, so the subfolders can just be named after what they are (withou tgritttt-prefix).

But that would mean we now have two projects: (a) greader import (b) greader transplants (b.1: drive-by; b.2: widget), which is very clean and makes absolute sense, since (a) is disposable code: execute once, then forget about it while (b) is something more permanent.

In other news: need to go buy trousers now.