How can I maintain a pointer to a file?

From @philholden on Sat Apr 04 2015 22:33:55 GMT+0000 (UTC)

Suppose I had a slideshow stored in ipfs where each slide was an html file stored in an ipfs directory. How would I go about maintaining a pointer to the current slide, such that a browser polling a certain URL would always see the current slide?

If so is there any way to subscribe to change events for this pointer?

Copied from original issue:

From @jbenet on Sun Apr 05 2015 09:42:21 GMT+0000 (UTC)

@philholden did you get your question answered?

In any case: take a look at the Simple JS Apps in – they use a #<path> “argument”.

From @philholden on Sun Apr 05 2015 22:11:37 GMT+0000 (UTC)

Thanks for responding the project seems really interesting (I have now listened to the three talks).

I will try to rephrase the question.

I’d like web clients to refetch data when an IPNS entry changes. I am guessing I’d need a Go server with websockets.

From Go can I subscribe to IPNS locator change events or do I just have to poll?
Is there a better way built into IPNS of getting these change events to the client?

From @whyrusleeping on Mon Apr 06 2015 00:17:30 GMT+0000 (UTC)

currently there is no way to be notified of a change in an ipns entry, although we have plans for a pub/sub system through the DHT. This is still a little ways out.