I just released Fargo 1.29 with an interesting new programmerish feature.
If you look in the Code panel for Settings, you’ll see a new item for code that’s run when Fargo saves a public outline.
Notes on the feature:
- It only runs for outlines that have been given a public URL, using the Get Public Link command in the File menu.
- You can get the URL of the outline being saved through the variable tab.publicUrl as shown in the example in the screen shot.
- This feature would most likely be used to link Fargo to a content management system that renders the outline after it’s been saved, but that’s not the only possible application.
Update 10/23/13 DW
- Implementing a new verb http.ping, takes one parameter the url of the server to ping.
- It’s much faster than the http.readUrl method, which has to use an intermediary server to make the call. http.ping can call straight from the browser without an intermediary.
- One caveat, the server must use the Access-Control-Allow-Origin header on the HTTP request to allow requests from http://fargo.io/.