How to add RSS feeds to Newsbeuter?

Browsers, email, chat, etc.
Message
Author
ruuatl
Posts: 18
Joined: Sun 06 Apr 2014, 19:09

How to add RSS feeds to Newsbeuter?

#1 Post by ruuatl »

How can I add RSS feeds to Newsbeuter and get it working?
I have it installed via SFS onto my live CD.


# newsbeuter
XDG: configuration directory '/root/.config/newsbeuter' not accessible, using '/root/.newsbeuter' instead.
Starting newsbeuter 2.7...
Loading configuration...done.
Opening cache...done.
Loading URLs from /root/.newsbeuter/urls...done.
Error: no URLs configured. Please fill the file /root/.newsbeuter/urls with RSS feed URLs or import an OPML file.

newsbeuter 2.7
usage: newsbeuter [-i <file>|-e] [-u <urlfile>] [-c <cachefile>] [-x <command> ...] [-h]
-e export OPML feed to stdout
-r refresh feeds on start
-i <file> import OPML file
-u <urlfile> read RSS feed URLs from <urlfile>
-c <cachefile> use <cachefile> as cache file
-C <configfile> read configuration from <configfile>
-X clean up cache thoroughly
-x <command>... execute list of commands
-o activate offline mode (only applies to Google Reader synchronization mode)
-q quiet startup
-v get version information
-l <loglevel> write a log with a certain loglevel (valid values: 1 to 6)
-d <logfile> use <logfile> as output log file
-E <file> export list of read articles to <file>
-I <file> import list of read articles from <file>
-h this help

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#2 Post by Semme »

Welcome Ruuatl.. Have you read through the docs?

Short how-to >> http://blog.sanctum.geek.nz/rss-with-newsbeuter/

No sudo, no gedit >> http://www.webupd8.org/2010/01/newsbeut ... -feed.html

ruuatl
Posts: 18
Joined: Sun 06 Apr 2014, 19:09

#3 Post by ruuatl »

Yes, I had seen all three of those sources and had tried all of the commands.
Nothing seems relevant to Precise Puppy Linux.
The commands don’t work in Precise Puppy Linux.
Here are the error messages I get:

# nano
bash: nano: command not found

# sudo gedit ~/.newsbeuter/urls
sudo: gedit: command not found

# newsbeuter -i /path/to/subscriptions.xml
I/O warning : failed to load external entity “/path/to/subscriptions.xml"
An error occured while parsing /path/to/subscriptions.xml.


Now, the video stopped playing.
I kept trying to stop it to see the command and there is an error message:

You have requested an encrypted page that contains some unencrypted information. Information that you see or enter on this page could easily be read by a third party. Preferences.

Anyway, I think the path is:
/usr/local/bin/newsbeuter
or
usr/local/share/doc/newsbeuter

And the error message (for my text editor) is:
# ed -a /usr/local/bin/newsbeuter
ed: invalid option -- a
# ed -i /usr/local/bin/newsbeuter
ed: invalid option -- i

# ed /usr/local/bin/newsbeuter
ed /usr/local/bin/newsbeuter
Newline appended
1137120


?

?

?
q
#

From doc #1:
...newsbeuter can’t start without any configured feeds. To add feeds to newsbeuter, you can either add URLs to the configuration file $HOME/.newsbeuter/urls or you can import an OPML file by running "newsbeuter -i blogroll.opml". To manually add URLs, open the file with your favorite text editor and add the URLs, one per line:
http://rss.cnn.com/rss/cnn_topstories.rss
http://newsrss.bbc.co.uk/rss/newsonline ... ge/rss.xml

More error messages:
# $HOME/.newsbeuter/urls
bash: /root/.newsbeuter/urls: No such file or directory
# newsbeuter -i blogroll.opml
I/O warning : failed to load external entity “blogroll.opml"
An error occured while parsing blogroll.opml.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#4 Post by Semme »

You may have seen'm >> but didn't read'm. Like I said, NO sudo, NO gedit and NO nano for this matter.

The first time you try'n launch the dern thing it'll create your ~/.newsbeuter directory.

Nav there and create a blank "urls" file.

You could "touch" this file as well: touch ~/.newsbeuter/urls

Now open it, stick a few feeds in, then >> "newsbeuter" from a shell.

To open via terminal :wink: geany ~/.newsbeuter/urls

Geany's typically Pups default text editor.
Attachments
newsbeuter_configured.jpg
(65.49 KiB) Downloaded 917 times

ruuatl
Posts: 18
Joined: Sun 06 Apr 2014, 19:09

#5 Post by ruuatl »

That seemed to do it, thanks.
I got the "blue screen" and am reading the news!
Newsbeuter seems to be very nice, and is as fast as they say.

# touch ~/.newsbeuter/urls
# geany ~/.newsbeuter/urls
newsbeuter

http://rss.cnn.com/rss/cnn_topstories.rss
http://newsrss.bbc.co.uk/rss/newsonline ... ge/rss.xml
q

^[[A
^C
# newsbeuter
XDG: configuration directory ‘/root/.config/newsbeuter’ not accessible, using ‘/root/.newsbeuter’ instead.
Starting newsbeuter 2.7...
Loading configuration...done.
Opening cache...done.
Loading URLs from /root/.newsbeuter/urls...done.
Loading articles from cache...done.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#6 Post by Semme »

Good.. I knew you'd get it. And yep, shell apps are pretty fast! Heck, might even keep this one..

PS - How are the fonts on that console, OK? Or would you prefer a wider range.. more control?

ruuatl
Posts: 18
Joined: Sun 06 Apr 2014, 19:09

#7 Post by ruuatl »

The fonts look all right, but how would you change them?

My Google Reader subscriptions .xml file didn't go in properly.
I tried downloading from an email attachment into the URLs.
That didn't work so I pasted the file in and that didn't work either.
The XML file is in html and is not just URLs.
The blue screen looks like a mess and none of the RSS feeds are readable.
How would I "import" them properly?

I tried the command in the Newsbeuter doc:
# urls-source "opml"
bash: urls-source: command not found

Does "OPML" have something to do with importing?
The Newsbeuter doc says to do the following:

4.13. OPML Online Subscription Mode
The OPML online subscription mode works similar to the Google Reader synchronization mode, except that no information about read articles is synchronized back. When enabled, all feeds that are listed in the feed list will be taken from one or more OPML files that are downloaded from a freely configurable URL.
To enable this mode, the following configuration needs to be done:

urls-source "opml"
opml-url "<opml url>" ["<opml url>" ...]

"opml" must be specified as source for the feed URLs, and the URLs of the OPML file needs to be specified, too. As with Google Reader synchronization mode, the offline mode via "newsbeuter -o" also works with OPML online subscription mode.

3.3. Migrating from other RSS Feed Readers
When you have exported the subscriptions from your old RSS feed reader, you can import them into newsbeuter:
newsbeuter -i ~/blogroll.opml

...and my error message:
# newsbeuter -i ~/blogroll.opml
I/O warning : failed to load external entity "/root/blogroll.opml"
An error occured while parsing /root/blogroll.opml.

The feeds aren't opening in the browser for me.
o:Open in Browser e:Enqueue ?:Help
^B bookmark Bookmark current link/article

I tried o and (is it shift or caret?) B in the menu and within the article.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#8 Post by Semme »

Get yourself a new console for the fonts.. LXTerminal, ROXTerm or Sakura should all be in PPM.

For your subscriptions, supply me a link or page listing those you'd like to add.

If a file >> "gzip" it and attach with your reply or pm me..

ruuatl
Posts: 18
Joined: Sun 06 Apr 2014, 19:09

#9 Post by ruuatl »

>How would I "import" them properly?

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#10 Post by Semme »

Attach a copy of your file for me to sample.

This or "open as text" your Google Reader subscriptions xml file and convert to opml here.

And when you import, you've gotta include the directory path.

ruuatl
Posts: 18
Joined: Sun 06 Apr 2014, 19:09

#11 Post by ruuatl »

I put my file in there to convert and this is all that came out:

<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
<head>
<title>Subscriptions imported from iGoogle</title>
</head>
<body>
</body>
</opml>

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#12 Post by Semme »

:D I suppose it's possible there's nothing inside! Didn't their service end about a year ago?

Right click inside the same directory as your subscriptions xml >> "window" >> "terminal here" and:

Code: Select all

gzip your_file_name.xml
Use the files exact name and upload as an attachment.

I've gotta *see* what we're working with..

ruuatl
Posts: 18
Joined: Sun 06 Apr 2014, 19:09

#13 Post by ruuatl »

<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
<head>
<title>username subscriptions in Google Reader</title>
</head>
<body>
<outline text="(title unknown)" title="(title unknown)"
type="rss"
xmlUrl="http://realestatetalk.org/blog/comments/feed/" htmlUrl="http://realestatetalk.org/real-estate"/>
<outline text="(title unknown)" title="(title unknown)"
.
.
.
</outline>
</body>
</opml>

I tried navigating to the directory and righ-clicking, but didn't see an option for a terminal window here.
/usr/local/share/doc/newsbeuter/examples/google-reader-subsctiptions.xml

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#14 Post by Semme »

Newsbeuter isn't gonna find any rss feeds for you, you've gotta go out and find'm.

Let me ask.. Which were you reading beforehand? That real estate site's defunct..

Seriously, figure out what you wanna read and start loading your "urls" file.

I currently have "http://www.huffingtonpost.ca/feeds/news.xml" loaded..
Attachments
huff-post_added.jpg
(120.43 KiB) Downloaded 342 times
term_here.jpg
(113.99 KiB) Downloaded 798 times

ruuatl
Posts: 18
Joined: Sun 06 Apr 2014, 19:09

#15 Post by ruuatl »

How did you get to the ~/test directory?
Then where did you right-click?

I have been clicking Menu>Document>Abiword word processor.
Do you use and go through Geany?

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#16 Post by Semme »

Test is one I made. The image merely an example of opening a shell.

Take ROX to where you wanna be and rt-clk an empty area.

For opening the urls file, definitely use Geany.

Which news feeds were you interested in reading?

Supply links to three sites you've read before..

And we'll see about getting NB work'n 4U.

ruuatl
Posts: 18
Joined: Sun 06 Apr 2014, 19:09

#17 Post by ruuatl »

I couldn't find anything in ROX.
There were only 17 files and not root or usr or mnt, where I thought most were supposed to be.

<outline text="L.A. Times - Movie Reviews"
title="L.A. Times - Movie Reviews" type="rss"
xmlUrl="http://feeds.feedburner.com/movies/reviews/" htmlUrl="http://www.latimes.com/entertainment/ne ... rack=rss"/>

<outline text="NYT > Travel" title="NYT > Travel" type="rss"
xmlUrl="http://www.nytimes.com/services/xml/rss/nyt/Travel.xml" htmlUrl="http://www.nytimes.com/pages/travel/ind ... &emc=rss"/>

<outline text="RollingStone.com: All News"
title="RollingStone.com: All News" type="rss"
xmlUrl="http://www.rollingstone.com/siteServices/rss/allNews" htmlUrl="http://www.rollingstone.com/news"/>

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#18 Post by Semme »

:D Easy. You load >> the "xmlUrl(s)" into NB's *url* file.

Code: Select all

http://feeds.feedburner.com/movies/reviews/
http://www.nytimes.com/services/xml/rss/nyt/Travel.xml
http://www.rollingstone.com/siteServices/rss/allNews
Attachments
2-3_yet-to-load.jpg
They'll show blank @ first. You hit the upper-case R to reload all feeds, or lower-case for the one that's highlighted.
(108.98 KiB) Downloaded 274 times

ruuatl
Posts: 18
Joined: Sun 06 Apr 2014, 19:09

#19 Post by ruuatl »

Yes, I got those three to load and I see the titles.

How can I get the links to open in the web browser?
How can I import/load the whole Google Reader xml list, not one-by-one?

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#20 Post by Semme »

To open feeds in say, FF >> "View XML directly in Firefox.."

==

If it's the one you listed here >> post a screenshot..

So I can see what it looks like in your browser.

==

PS - Where'd these come from?

If your file, upload a copy here.

Post Reply