mirror of
https://github.com/not-kennethreitz/convore.json.git
synced 2026-06-21 15:40:58 +00:00
1 line
1.5 KiB
JSON
1 line
1.5 KiB
JSON
[{"user_id": 30462, "stars": [], "topic_id": 47829, "date_created": 1321370440.7098131, "message": "I think there are two events here: resource_modified and resource_wanted. resource_modified could happen at any time. resource_wanted happens when I'm ready to use the resource and want to know if I should download a new copy.", "group_id": 236, "id": 2578377}, {"user_id": 30462, "stars": [], "topic_id": 47829, "date_created": 1321370337.004446, "message": "I need to do some processing when a web resource changes. I'm using http:head() to fetch the ETag for this resource, and storing it in an application variable. What are my options for firing rules based when this resource changes?", "group_id": 236, "id": 2578371}, {"user_id": 30462, "stars": [], "topic_id": 47829, "date_created": 1321370576.3452201, "message": "I can create two defactions: use_local_copy() and download(). These both send directives to my custom (node.js) endpoint.", "group_id": 236, "id": 2578382}, {"user_id": 30462, "stars": [], "topic_id": 47829, "date_created": 1321371132.7386069, "message": "I'd like to write \"select when resource_modified before resource_wanted\". Can that work or do I need to write \"select when resource_wanted if resource_has_changed() then download()\"", "group_id": 236, "id": 2578415}, {"user_id": 30462, "stars": [], "topic_id": 47829, "date_created": 1321411399.3676081, "message": "What if I put the ETag into an app variable and store the latest I've seen in an entity variable? That way the app variable can be updated anytime.", "group_id": 236, "id": 2581484}] |