Open scripting opened 4 months ago
The ideal tool for me of course would be an outliner :-)
An OPML editor. A machine-readable blogroll sounds to me like an OPML file that I could subscribe to in a feed aggregator that supports reading lists.
You guys cheated! 😀
I would've said other than an outline editor, but that would have given a hint.
I want to see if we can make it work for something like Obsidian or some other Tool for Thought product.
I asked this question on micro.blog --
I answered in a Slack channel, but thought I'd share my answer more publicly:
VSCode. The multi-line edit makes it easy to wrap the URLs in the outline tags with proper attributes to make an OPML file. If I had categories, etc, already in a CSV, I have a couple of PHP scripts that I run to create OPML files like this, which I would then edit and tweak in VSCode.
This isn’t a hypothetical because I’ve been making OPML files regularly for Feedland, and each time I’ve used VSCode and made the utility PHP scripts.
If this tool isn’t ideal, what would be?
A tool where you can paste in a list of URLs on new lines (optionally with comma separated categories) and be given back an OPML file would be ideal. That is what I tried to make for myself with the PHP scripts, but I run it on the command line instead of a UI.
@cagrimmett -- thanks for posting this here.
This might be a little bit of a tangent, but has anyone followed the Ghost recommendations feature closely? They are effectively blogrolls, and I've been wanting to do something similar. The reason I bring it up is it feels like more platforms could have their own blogroll editor where you select a handful of the people you follow and it turns that into a blogroll. The tool would then add it to your blog and save a copy as OPML (and JSON, if we're matching what Ghost is doing too).
@manton -- this is music to my ears. :smile:
Suppose I asked you to create a machine-readable blogroll.
For each blog you had to include a link to either:
<link>
element pointing to the feed, or<link>
element points to the HTML home page.You could include other data for each site, but those are minimal.
Think quickly -- what tool would you use to create this data file/document?
If this tool isn't ideal, what would be?