Closed seul closed 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.
That's why I need a tester :)
Any idea how it could be documented clearer?
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.
would it be desireable – and if: possible – not to publish the published url?
I don't think so :(
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).
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.