JP Vossen on 3 Dec 2018 09:18:54 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] OT: MontCo Dispatch system web & RSS


On 12/3/18 12:25 AM, brent timothy saner wrote:
...
do note that if you based a web format around the bit i gave, the feed
seems to have short persistence - they seem to trim their own entries
(which makes sense for such a dynamic-centered realtime feed) so you'd
probably want to either write to disk or store in a DB, etc.

Yes, I should have mentioned that too. The RSS XML has TTL = "2" which I assume is 2 hours, but it does go very fast. My RSS reader is now checking every 30 mins and I've got 175 records since 9:05 last night.

Note any persistent local storage with one of those scripts would need to deal with duplicates when you run the script every N period of time. It looks like the "description" field could be used for a unique key to handle that.

Later,
JP
--  -------------------------------------------------------------------
JP Vossen, CISSP | http://www.jpsdomain.org/ | http://bashcookbook.com/
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug