I am looking for a simple line or two codes that will capture an rss feed similar to this php string: $ feed = "URL" from a scala object.
I use scala / lift with Netbeans or Eclipse, if relevant
The simplest thing you can do is smth like this if you don't want to worry about exceptions or readability:
val rssFeed = XML.load( (new URL(feedUrl)).openConnection.getInputStream )
API, RSS-, ROME. , Java, Scala. pure-Scala, .
Source: https://habr.com/ru/post/1711577/More articles:Several states of the random number generator in c / Unix - cStreaming Video to https - httpswindows services - windowsAsyncCallback for threading on a compact basis - multithreadingHow to transfer an arbitrary object on the Fitnesse page? - javaDo you use strict conditions in your projects? - dynamiccollecting mysql statistics - sqlWhat classes / interfaces should each .NET developer know? - .netкак получить имена переменных во время выполнения? - javaGDI + Exception when using DrawString () - c #All Articles