An alternative to Markdown in outlines
I missed having expanding outlines, and I want to use the structure in interesting ways in RSS, so I decided to add a small feature to Fargo, that lets us edit outlines as they will be presented, with structure.
This blog post is an example of such an outline. As is the one you're reading now.
How to
To give it a try, create a headline of type outline with the big + icon in the left margin.
In the Attribute editor (click on the Suitcase icon in the left margin) add an attribute called flMarkdown, with the value false. When you're done the atts should look like this screen shot.
Then add some outline material under the headline. It's important to indent a few times and add structure, or else it'll look exactly like the Markdown-style posts.
When you click the Eye icon to view it, it should have wedges that you can click to expand and collapse the outline structure.
Attributes
There are a few attributes you can use to control the way outlines are rendered. They're explained below.
leftIndent attribute
collapse attribute
img attribute
url attribute
Outlines in RSS items
Each item now has an outline element that contains most of the structure and attributes of the outline.
We don't include comments.
We don't include two attributes: isFeedItem (they are all true, because it's in a feed) and isComment (again, all true, because comments are not included).
The outlines are in the new source namespace. What you'll see in the feed is <source:outline>.
RSS fixes
In 1.63 we added macro and glossary processing to the RSS feed builder, but the processing was done in the wrong place. The result is that unencoded XML could end up in description and title elements. This is not legal XML. In 1.64 we do it selectively, before encoding, only in title and description elements.
We also evaluate Emoji codes in the feed.
Fix relating to tweets
While I'm waiting for Facebook to approve the new version of Little Card Editor I thought I'd do a little diversion to solve what has been a thorny problem in Fargo that has prevented a lot of interesting things from happening.
The feed has no pagetable
Idea
Testing
Okay the feature is in. Now let's see how it works.
Here are some glossary items from my cmsPrefs.opml: Happy Friends, Emoji, Little Card Editor.
And one from the Fargo blog outline: cmsPrefs.opml
If the new feature worked, when we look in the RSS file, they should all be evaluated.
One more thing, let's check a pagetable macro: Dave Winer.
Here's what this text looked like in Fargo.
And here's what it looks like in the feed.