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

Can't get Shared-Widget to Display Shared Items #23

Closed seul closed 12 years ago

seul commented 12 years ago

Did everything in Readme, but shared items don't make it to example.html – neither with your nor with my tt-rss. It is just blank: http://gritttt.yanzen.de/gritttt_shared-widget/example.html

A question on the side: would it be desireable – and if: possible – not to publish the published url? Somehow let the js call a variable that is defined in some config, so I can integrate a widget to my website without giving everybody the possibility to do it, too. Just asking.

seul commented 12 years ago

Ok, I can get it to display the shared items. If using example.html in the same directory var path_to_gritttt = ''; MUST stay empty. I added ./example.html and that crashed it.

Again, slightly confusing to me.

nhoening commented 12 years ago

That's why I need a tester :)

Any idea how it could be documented clearer?

seul commented 12 years ago

Just require/allow a path for example.html, too. It could be in there by default and readme/js could state: »replace ./example.html with the path to your website.«

Then we ALWAYS need a path and there is a rule with no exception. I love rules. I detest exceptions.

nhoening commented 12 years ago

would it be desireable – and if: possible – not to publish the published url?

I don't think so :(

nhoening commented 12 years ago

I changed the configuration setting to be the URL to the tt-rss instance, that should be much clearer. Also, installation now goes to a gritttt - directory within the tt-rss instance, as we discussed. I still need to do that for the driveby-sharing (which is a bit more work, but should make that installation a bit easier, as well).