Quick note to Chuck

Chuck Shotton came out with a coool little script that adds a scratchpad area in the right margin of Fargo. I tried it out and it seems to work as advertised. I'm going to leave it there for a while and see if I use it.

He wrote his docs before the new reader macro came out (yesterday), and his docs could certainly benefit from using it. Here's how:

<%reader ("https://www.dropbox.com/s/lvds29kojj96u4d/chucks_menubar.opml")%>

Here's what that gets you:

<%reader ("https://www.dropbox.com/s/lvds29kojj96u4d/chucks_menubar.opml")%>

Also, I made a tweak to the <%reader%> macro just now to change www.dropbox.com to dl.dropboxusercontent.com. This is a CORS thing. We need to have permission to read the resource from the web page. Dropbox has CORS settings that allow this for the latter domain, not the former. Now you can go ahead and use the address Dropbox gives you, and Fargo will automatically fix it before the page is rendered.

This is scripting.com after all, and we like these kinds of technical details here.

PS: I came across this Dropbox tech note in my travels about providing love for "static" JavaScript apps. Like Fargo! No wonder Dropbox worked so well for us.


Posted: Wed, 07 Aug 2013 15:19:21 GMT