A LinkBlog Script That Tweets and Adds a Date

This script does the following:

  • decimal

  • On a dedicated page in an outline (it doesn't have to be "named"), create a headline, like the title of an article. (I'm doing it here.)

  • With the cursor on that headline, choose TweetBlog from the Scripts menu.

  • A dialog box asks for an URL. Enter the link and hit OK.

  • The script adds a type=link attribute to your headline and adds the link to the url attribute. It opens a new window with the headline text and the URL pre-populated in a tweet (you have to hit the &url=http://<%httpHost%><%httpPath%>>tweet me button to send).

  • The script inserts the date above the headline ("Posted: Thu Aug 01 2013"), adds a Twitter icon to it, then goes back to the headline and indents it.

Visit the Fargo scripting page in the docs to learn how to install this script, or watch this video.

(There should be a github embed above this line. If not, please reload this page or get the raw code here.)

If you don't want to tweet the link, just remove the line that starts with window.open.


Last built: Tue, Mar 31, 2015 at 2:05 PM

By Jeffrey Kishner, Thursday, August 1, 2013 at 9:40 AM.