Closed dtygel closed 11 years ago
https://github.com/JohnMcLear/ep_rss/blob/master/index.js#L32 is worrying :package:
var staleTime = settings.rss.staleTime || 300000; // 5 minutes, value should be set in settings
suggests it takes 5 minutes for an RSS feed to be generated for a change..
Did you read through the source at all before creating this issue? If not, please do :)
https://github.com/dtygel/tinymce-etherpadlite-embed looks cool btw :)
Hi John,
Yes, I looked at the code, and saw the staletime variable, and then saw the lines: if(currTS - message.lastEdited < staleTime){ } else { }
So it seemed to me that the stale time meant "last edited at at least 5 minutes ago". But since this pad (http://pad.eita.org.br/p/teste) is live for several days and the RSS (http://pad.eita.org.br/p/teste/feed) is still empty, maybe I simply didn't understand the way it works.
Let me explain why we're interested in this plugin: if we have RSS of the editions in a pad, we can generate actions using IFTTT or similar applications to send SMS, e-mails or whatever. This would be really cool!
I'm glad you liked the simple etherpad plugin for tinymce. It's being very useful in http://cirandas.net :-)
Greetings from Costa Rica,
daniel
Afaik the RSS feed updates when an edit is done, if the edit is more than 5mins old but happened since the plugin was installed then it should update the RSS feed.
I don't really know how stable this plugin is though, it was just a weekend project I don't think any client has leveraged it. I'm happy for bugfixes etc. :)
This is a great plugin. Problem is solved (https://github.com/JohnMcLear/ep_rss/pull/4).
Thank you John for the great contributions to etherpad-lite!
Hi John,
http://pad.eita.org.br/p/teste/feed
http://pad.eita.org.br/p/teste