A programmerish Fargo feature

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/.
Advertisements

About Dave Winer

Dave Winer, 54, pioneered the development of weblogs, syndication (RSS), podcasting, outlining, and web content management software; former contributing editor at Wired Magazine, research fellow at Harvard Law School, entrepreneur, and investor in web media companies. A native New Yorker, he received a Master's in Computer Science from the University of Wisconsin, a Bachelor's in Mathematics from Tulane University and currently lives in Berkeley, California.
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s