~jonsterling/forester#9: 
RSS feeds

It is natural to use forester for blogging, but for this I would like to have some RSS feeds generated. Maybe each tree can have an RSS feed, where the "posts" are the children of the tree?

Status
REPORTED
Submitter
~jonsterling
Assigned to
No-one
Submitted
11 months ago
Updated
10 months ago
Labels
feature

~jonsterling 11 months ago

Some progress in Forester 2.4: https://www.jonmsterling.com/jms-007Y.xml

~omasanori 10 months ago*

What a cool addition! I, however, found that I prefer a forest-scale feed to a bunch of tree-scale ones. Just a rough sketch, but what if we have a special metadata for output format selection (LaTeX and XML by default) and a tree with that metadata:

% feed.tree
\title{My Blog}
\author{johndoe}
\meta{output}{rss} % and/or atom, jsonfeed, latex, xml, ...

\scope{
  \query{
    \query/sortedby{date}
    \query/order{descending}
    \query/length{20}
    \query/and{
      \author{johndoe}
      \taxon{log}
    }
  }
}

(The above example contains some extensions to the query language, though.)

The current tree-scale ones can also be represented with:

\title{My Note}
\author{johndoe}
\meta{output}{rss}
\meta{output}{xml}

\p{...}
\transclude{...}

\meta{output} may be over-abstraction and \rss{true} may be enough.

Register here or Log in to comment, or comment via email.