6 ms·
OPML is underrated
- JimDabell 3y agoI seem to recall that OPML wasn’t as interoperable as it should have been and there was no guarantee an OPML file from one app could be used in another app. Has this improved?
- jillesvangurp 3y agoI don't recall having issues with that on the handful of occasions I used it. It's not a particular hard format to parse. Basically it's just a list of stuff. Boggles the mind that you would use a different format for exporting a list of a urls that point to lists of stuff than for those actual lists of stuff. Either way, parsing a list of stuff is not rocket science. But you could just use RSS or Atom for this.
- 082349872349872 3y ago> Boggles the mind that you would use a different format My understanding is that Winer's main interest has always been outliners, and RSS etc. were just fortunate side excursions, so I find it about as boggling as the phenomenon that people with hammers are likely to be pushing Open Nail Markup Languages.
- slow_typist 3y agoBut semantics… RSS is flat and items are usually ordered by pubdate. OPML is better suited for relatively static collections of things organised in a tree. Using OPML to store blogrolls makes sense (but is not the only viable option of course).
- chrismorgan 3y agoWhen it talks about XSL stylesheets, which in theory you can use to have all your documents be XML and transformed into HTML, it’s worth noting that this is a part of browsers that’s been neglected for over a decade, with the minimum of maintenance to keep it still roughly working, and it shows. The failure modes are bad, and a lot of it is very difficult to debug. It’s like opening a portal to how you’d develop pages fifteen or more years ago. The worst problem I know of is that loading an XML file with an XSL stylesheet into a new tab in Firefox just hangs. Has done for years, and I still haven’t searched for a bug report about it (surely someone’s already reported it). Try opening https://kmaasrud.com/blogroll.xml https://kmaasrud.com/blogroll.xml in a new tab (Ctrl+click or whatever), and observe the correct document title, but how the actual document area remains blank and the status bar says it’s still “Transferring data from kmaasrud.com…”. A quick Ctrl+R and it loads just fine the second time.
- jasonjayr 3y agoThat URL loaded for me fine in FF 122.0.1 ....
- saagarjha 3y agoWorks for me in Safari too.
- chrismorgan 3y agoDid you open it in a new tab? In an existing tab, it loads fine. On reflection, it’s also quite possible this is a platform-specific bug. I’m on Linux. I think I experienced it in Windows a few years back, but the memory is fuzzy. … hmm, apparently if I start a blank Firefox profile this doesn’t happen either. Though I know I’ve encountered this with at least two completely distinct Firefox profiles over the years. This bears closer investigation. Anyway, it’s still indicative of the disrepair of this feature set. It’s still used widely enough that I don’t think it’ll be torn out, but honestly on technical robustness grounds it could warrant being removed.
- readams 3y agoMaybe try disabling your extensions?
- perlgeek 3y agoIt works fine for me, with a current FF on Linux (Ubuntu), opening in a new tab. I have lots of extensions enabled. But I do share your frustration: the modern web seems unusable, unless you have a collection of extensions that block ads, annoying consent forms and the likes. But once you have these extensions installed, you basically lose all support. Sometimes stuff breaks, and it works in a new profile even with the same extensions installed... and then what? You're supposed to throw away your profile with bookmarks, CAs, years of history etc.?
- anjel 3y ago>But once you have these extensions installed, you basically lose all support. Its gotten to the point where I have multiple browsers as fallback. FF with lots of essential extensions > Brave with just a few > Unextended Chromium. A necessarily ridiculous state of affairs, but there you have it.
- bemusedthrow75 3y agoIf combatting the enshittification of the internet keeps making things turn back 23 years like this, I'm all for it. I'd like: - my 2001 hairline - my 2001 waistline - plenty of notice not to fuck up an opportunity like I did in 2007 Thanks, magic time loop of rediscovery!
- bjoli 3y agoSometimes I feel I am the only person in the world who likes XML. It just followed the trajectory of all formats, where it is used in places it shouldn't have been used. It is moderately readable and writable, and the tooling is great. Whenever I have to write it Emacs verifies the doctype for me and handles the structural part of it. And, as the document shows, xslt makes it easy as hell to scan the contents of a file. OPML is a good example in my opinion. I used it maybe once a year and it has never failed me
- ChrisMarshallNY 3y agoI’ve never liked XML, per se, but I used it extensively, for decades, and even got fairly good with it. These days, I mostly use JSON, but XML is pretty much an ironclad data definition and transfer protocol. You can define and transfer just about any type of data, using it, albeit, in a rather “prolix” manner.
- ambigious7777 3y agoXML is such a versatile format, and I wished it was used so much more. It doesn't have exactly the cleanest syntax, but it would be so much better than JSON in some of the cases I've seen. Especially when you are transfering document-type data. Why use JSON to represent rich text, when XML is infinitely better?
- cryptonector 3y ago> but XML is pretty much an ironclad data definition and transfer protocol. I suspect that may be why you might not have liked it. XML is not a good serialization of data for network protocols. XML is a good serialization of documents. Ok, that's the received wisdom that I'm echoing, but it's also my experience and my opinion. When it comes to serialization of data for network protocols there are and have been many other better-suited schemes. XML got used as a serialization protocol for the the web because it's what existed at the time that was... close to HTML and textual, but it's got the disadvantage of being verbose.
- 3y ago
- captn3m0 3y agoWhat I would really like to see is “subscribeable OPML feeds”, so GitHub could provide a OPML feed for what shows up in your home page, and you any changes in your subscriptions (repos you watch etc) would change the OPML, which would then cause your feed reader to unsubscribe/subscribe to specific RAS feeds. Unfortunately, this isn’t supported by the majority of RSS clients (tt-rss is the only one I know) which means in practice OPML feeds are merely import/export mechanisms. Ref: https://github.com/captn3m0/ideas#opml-sync https://github.com/captn3m0/ideas#opml-sync
- rakoo 3y agoFreshRSS also allows that, and I agree with you: this is really nice.
- mikepk 3y agoSo many memories. That was a big part of my first startup in 2005. Grazr was the “next level of rss”. Unfortunately the first level never quite took off. https://techcrunch.com/2006/09/18/grazr-10-blasts-off-into-the-future-of-rss/ https://techcrunch.com/2006/09/18/grazr-10-blasts-off-into-t...
- tupolef 3y agoI made a generator in bash to follow releases/tags of starred Github repositories, by user or by starred lists. It can generate updates. I import them in Miniflux. https://git.tkapias.net/tkapias/gh-starred-to-opml/ https://git.tkapias.net/tkapias/gh-starred-to-opml/ https://gist.github.com/tkapias/c54f7b2631160329491e80652a2b282b https://gist.github.com/tkapias/c54f7b2631160329491e80652a2b...
- captn3m0 3y agoI made the same thing in a Ruby/Sinatra web-app 6 years ago: https://github.com/captn3m0/opml-gen https://github.com/captn3m0/opml-gen I got tired of importing regularly to Minuflux though, I just use the GitHub UI these days.
- dorfsmay 3y ago> creating a recommendation system that is based on concious curation, not statistical metric That's good, but that's still a recommendation of authors/channels, not articles. It's still who vs what. For me the concept of "subreddits" is the best we've achieved in in terms of social sharing. It was about what over who. You picked a subject, followed a subreddit, and found articles, videos etc... about that subject. Conscious curation on specific subjects. I still use the old.reddit.com, but few non-tech people do and the primary Reddit interface has pushed people away from the platform and a lot of the smaller subreddits are drying up. I understand why the changes were made and it brings the question of how can we create social sharing based on subjects that is either distributed (but easy to use by non-tech people) or centralised and profitable?
- chriswarbo 3y agoFor those who don't know, Reddit provide feeds at URLs like `/r/foo/.rss` (although they're actually Atom...) Annoyingly this doesn't work when combining subreddits, e.g. `/r/foo+bar+baz` is HTML containing posts from those three subreddits, but `/r/foo+bar+baz/.rss` only includes posts from one :(
- talkingtab 3y agoA side question. I personally believe that RSS is a failure, and I don't know why. There are easy comments and responses to this, but I am looking for something deeper - an analysis that would show how it could be changed and adopted on a wider basis. My context: When Apple introduced the iPhone and it was a success almost everyone introduced an "iPhone Killer". The zune being a prime example. They were announced with much glee and anticipation. They were not products of flimsy development and thought processes, but serious failures for companies like Microsoft. No one, that I remember, was able to point compelling reasons why the new products would fail, but they inevitably did. Over and over. How and why did these phones fail? If you have read the book "Flatland", you perhaps came away with a vision of how creatures living in two dimensions would perceive actions that used a third dimension. As I did. Things would magically appear and disappear in a way would leave the Flatlanders completely perplexed. This imaginary "missing dimension" experience reminds of how bewildered people were that the Zune and other iPhone killers failed. What could that dimension be? My guess is the human dimension. I don't mean in trivial ways like user friendly, I rather as way for people to find it useful and helpful. My question then, if anyone wants to try, is what would one have to do to RSS to fix it? [Note 1] Oddly, the OPML "blog roll" example resonates with me much more than RSS ever has. [Note 2] I have repeatedly tried to use RSS and failed. Both as a provider and subscriber.
- paulryanrogers 3y agoFashion. Early iPhones were a sign of wealth. They still are to some extent.
- pmarreck 3y agoWhen Teslas came out in the model S format, they were the “iPhone of cars”, not just because of wealth (which is a piss-poor argument for why something succeeded btw), but because of a fundamental improvement in the essence of the category If “status signaling” was really as significant an influence as you say, then every single original Macintosh would’ve been a huge hit and clearly was not. Every single Powerbook and Macbook as well, since those are more visible and portable. If you want to talk “fashion accessory,” then there are plenty of phones that were expensive as well at the time that did not take off either. The reason why Apple was finally successful, is because Steve Jobs took a calligraphy class for fun instead of an engineering class, and all those things like the Zune were designed by engineers, first and foremost. Holistic thinking is not rational.
- notpushkin 3y agoTangential: if you want to play around with XSLT, I've made a little tool for that a while ago: https://xsltbin.ale.sh/ https://xsltbin.ale.sh/ (Known bugs: indent="yes" doesn't work on Firefox, and unfortunately I couldn't be bothered with adding a separate formatter, so probably try it in WebKit/Blink browsers)
- CrypticShift 3y agoI have an observation on the original use of OPML, i.e., for outliners (the one I utilize frequently) : Many recent outliners (logseq, roam) added custom properties/fields (for DB-like block-level queries), but they don't seem to support them when importing or exporting opml. The only "field" that is somewhat supported is the "_note" [1]. [1] https://web.archive.org/web/20131205072742/https://jeffreykishner.com/2013/10/22/opml-interoperability-carbonfin-outliner-workflowy-fargo-io/ https://web.archive.org/web/20131205072742/https://jeffreyki...
- Tomte 3y agoYes, same with Workflowy. All advanced features are non-exportable. And "advanced" includes images. It‘s a pity.
- knight17 3y agoOff topic question. Which outliner are you using currently? I am finding it difficult to get good outliners for writing in Windows.
- CrypticShift 3y agoI'm using dynalist.io. I'm just used to it. The app is Electron, though. but I feel it is responsive enough for writing.
- donatj 3y agoOn a related note, it’s one of my biggest irritations how it’s becoming more and more difficult by the day to find the RSS feed underlying any given podcast. To me, a podcast always just was just an RSS feed of type audio. If you don’t provide that feed, you’re not a podcast. You’re something else. These walled gardens are rolling in and claiming territory over what was a beautiful bastion of freedom. I hate it so much.
- rambambram 3y agoI don't use podcasts, but I always found it strange that people speak of podcasting as this open thing (because of RSS) while the audio files are usually hosted inside walled gardens (?). The RSS file is nothing but a link to the audio file, right? Or am I missing something?
- donatj 3y agoThere's metadata as well, title, episode description. Everything is just a standard RSS item except for the podcast specific stuff. You can read it with a standard RSS reader. Regardless of who is hosting the audio, if you can get the free, the audio files are publicly available without an account.
- lawik 3y agoThe audio file is hosted on any HTTP server. That is very open web. Except on Spotify which is closed and arguably not actually a podcasting service.
- doublepg23 3y agoThere’s nothing walled garden about the file storage IME. You could use an IPFS link if you wanted too…though without a proxy I doubt most clients would be able to download it.
- bastawhiz 3y agoThe podcaster can put those files on any server. You can host yourself (e.g., with WordPress) or pay someone else to do it for you. The apps you listen with pretty much don't host the audio, though there are technical exceptions.
- rambambram 3y agoSo true. > I believe the simple fact that there is a known person behind each recommendation is advantageous. I think this is key to OPML gaining traction again. I for myself added an OPML list to my website (see bio) which contains hundreds of independent blogs. You can all download that for free. Most of the blogs I found are from here, but I've been doing that for two years straight, so there might be blogs you don't know. They've been roughly selected for quality. edit: OPML file can be found at the bottom, behind the link 'Or see all shared links', then click the OPML icon
- artsi0m 3y agoI would like to share opml, but at the same time I would like to have some of my subscription staying private. Would be cool to have some elisp or shell + xmlstarlet script to export only things that I would feel normal to share.
- epaulson 3y agoIt's not so much that OPML is the interesting part here, it's that it's a file. A few weeks back Andrej Karpathy had a twitter thread[1] about blogging software and shared this link on 'File vs App' - https://stephango.com/file-over-app https://stephango.com/file-over-app - and that really was great for ecosystem interoperability. I can download the file using whatever tool is appropriate, store it however I want, and then upload it somewhere else using whatever tools is appropriate. I have the OPML export I took of my subscriptions from the day Google Reader shut down and there's still a fighting chance that other services could actually import that file. It's also worth noting that OPML is only the container format here. Agreeing on a container format is obviously important and we won't get very far for interop if we can't even agree on the container format, but OPML is supposed to be a generic tree of 'outline' format, and conveniently RSS subscriptions (and folders) look like a tree. I sorta expected that there would be a second standard that says "here's how you use this generic OPML container format to represent RSS feed subscriptions" but oddly that's actually included right in the OPML spec[2]. In fact RSS subscriptions are the only application format defined in OPML - there's a 'type' field defined for <outline> element and if type is set to 'rss' then there's also a required xmlUrl of the feed and optional things like the html link for the blog, the version of RSS used. This is the data and part of the spec that makes the actual subscription list exchange work. But again the only entry for 'type' defined in the OPML spec is 'rss'. If you want to use OPML as a container for something else, like Youtube subscriptions or Twitter followers, you of course can but you gotta find some way to get everyone to agree on how to interpret the 'type' you set for that <outline> element. And as far as I know, no one's done anything like that for any other domain. So it'd be awesome if more domains defined 'type' fields and set out some specs so I can export my video streaming subscriptions or Amazon wishlist or whatever but without defining more 'type' fields OPML is really not any more interesting than a CSV of URLs. [1] https://twitter.com/karpathy/status/1751379269769695601 https://twitter.com/karpathy/status/1751379269769695601 [2] http://opml.org/spec2.opml http://opml.org/spec2.opml
- rcade 3y agoIf someone wanted to extend OPML into another domain, even if they got others to agree on their proposed type value and the new attributes added to support that type, there's nothing to stop a collision with somebody else choosing the same attribute names. There also is nothing to stop the author of the OPML specification from opposing the new type. It would be far easier to create a new XML format.
- jmacd 3y agoI came here expecting to find a mention of Dave Winer. In geekland, I believe he belongs in the pantheon of underappreciated shepherds. In 2000, Dave began crafting OPML [1] to provide a means of sharing lists. He composed his weblog using an outliner, marking the first instance someone demonstrated to me that structure could support both thinking and writing. Admittedly, Dave used to be rather cantankerous, which turned many people off. However, when I was 17, I encountered him in a pizza shop near Harvard, greeted him, and ended up spending the day together. In 2003, he was working on RSS 2.0, and I contributed a Comments namespace to enable the syndication of comments. This occurred in a more idealistic and less spam-dominated web era. I can still remember the feeling I got when I hit Send to share the proposal with Dave and the community. [2] Their human-readable and easily understood nature is a byproduct of a time when those qualities mattered. I recall rushing to upload an RSS module to CPAN. It was not simply a conglomeration of other libraries but rather something entirely crafted in my mind. OPML and RSS are both awesome. They are two standards that have played instrumental roles in maintaining the free flow of information on the web. They were not created by a committee or the IEEE. They were created by someone who was passionate as hell about a free and open web. That's rare now. 1: http://scripting.com/manila/opml/spec.html http://scripting.com/manila/opml/spec.html 2: http://scripting.com/2003/08.html#When:7:12:20AM http://scripting.com/2003/08.html#When:7:12:20AM
- rcade 3y agoI wouldn't call it underrated. OPML is useful because people use it, but it was a bad design decision to store long blocks of HTML inside XML attributes instead of XML elements. Look at the escaped HTML inside these "text" attributes: http://scripting.com/index.opml http://scripting.com/index.opml Because the HTML is stored in attributes, it can't be wrapped in a CDATA block. There's also no limit to how long the text can be. OPML is also a moving target without a standard. Any time there's a desire to represent something new with the format, attributes are added without any public participation from existing implementers. The value of the "type" attribute on outline elements determines whether new arbitrary attributes can be present. Because of this unorthodox extension process, the OPML format has become a catch-all for unrelated uses: outlines, blog posts, RSS/Atom subscription lists, programming source code, and more. All of the uses could've been represented as XML formats. XML didn't need OPML for storing and transmitted arbitrary data. We already had XML for that. The original thing OPML was created to do -- represent outlines -- is severely hampered by the fact there's no way to store the expansion state of collapsed nodes of an outline.
- thro1 3y ago> but it was a bad design decision to store long blocks of HTML inside XML attributes instead of XML elements. not at all - it's that what allows the simplest structure for nesting of outline elements. An <outline> is an XML element, possibly containing one or more attributes, and containing any number of <outline> sub-elements.
- rcade 3y agoXML elements can contain both text and child elements. Character data didn't have to be stored in an attribute to allow outline nesting. <?xml version="1.0" encoding="UTF-8"?> <node> <node> <![CDATA[ Hello I am text ]]> <node> ... </node> <node> ... </node> </node> </node>
- thro1 3y agoIt's about outliners. You move just one thing.