Is there a configuration for where River4 gets its OPML lists?

26 views
Skip to first unread message

Henrik Carlsson

unread,
Aug 3, 2015, 6:00:37 PM8/3/15
to river4
As the subject says, is there a way to configure River4 and tell it where it should get its OPML lists or are these always fetched from /river4data?

If this can't be configured, would it be possible to have this feature added?

The reason I want to be able to do this is that I want to use it in tandem with WordPress' "Links Manager" and the OPML display of those links (add "wp-links-opml.php" to your WP-blog URL) as a user-friendly way of managing feeds for a River. 

best regards
Henrik

Dave Winer

unread,
Aug 3, 2015, 6:45:47 PM8/3/15
to riv...@googlegroups.com
You can put "include" nodes in your lists, so you can pull in the info from anywhere.

I can't write a full explainer for this right now, I'm out at dinner. 😄

--
GitHub repository: https://github.com/scripting/river4
How to ask for help: http://scripting.com/2014/03/19/howToAskForHelpWithSoftware.html
---
You received this message because you are subscribed to the Google Groups "river4" group.
To unsubscribe from this group and stop receiving emails from it, send an email to river4+un...@googlegroups.com.
To post to this group, send email to riv...@googlegroups.com.
Visit this group at http://groups.google.com/group/river4.
To view this discussion on the web visit https://groups.google.com/d/msgid/river4/ea3dd90d-2483-4f9f-a709-343dc6a915ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Typed on an iPad with fat fingers.

Henrik Carlsson

unread,
Aug 3, 2015, 7:01:26 PM8/3/15
to river4, da...@smallpicture.com
Thanks, I'll look into the "include" node. Enjoy your dinner!

/Henrik


Den tisdag 4 augusti 2015 kl. 00:45:47 UTC+2 skrev Dave Winer:
You can put "include" nodes in your lists, so you can pull in the info from anywhere.

I can't write a full explainer for this right now, I'm out at dinner. 😄



On Monday, August 3, 2015, Henrik Carlsson <henrik....@me.com> wrote:
As the subject says, is there a way to configure River4 and tell it where it should get its OPML lists or are these always fetched from /river4data?

If this can't be configured, would it be possible to have this feature added?

The reason I want to be able to do this is that I want to use it in tandem with WordPress' "Links Manager" and the OPML display of those links (add "wp-links-opml.php" to your WP-blog URL) as a user-friendly way of managing feeds for a River. 

best regards
Henrik

--
GitHub repository: https://github.com/scripting/river4
How to ask for help: http://scripting.com/2014/03/19/howToAskForHelpWithSoftware.html
---
You received this message because you are subscribed to the Google Groups "river4" group.
To unsubscribe from this group and stop receiving emails from it, send an email to river4+unsubscribe@googlegroups.com.

To post to this group, send email to riv...@googlegroups.com.
Visit this group at http://groups.google.com/group/river4.
To view this discussion on the web visit https://groups.google.com/d/msgid/river4/ea3dd90d-2483-4f9f-a709-343dc6a915ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Frank McPherson

unread,
Aug 3, 2015, 7:07:41 PM8/3/15
to Dave Winer, riv...@googlegroups.com

Maybe this will help, link to the Fargo documentation that talks about include nodes in OPML files.

 

http://fargo.io/docs/fargo/includes.html

 

I use this configuration to manage my reading list for my implementation of River4 that uses AWS S3 for storage rather than local file storage. I maintain my OPML reading list using Fargo and an outline stored in Dropbox. I created a corresponding OPML reading list with an include node that has the public URL to the OPML file in my Dropbox, and put it in the /river4data/lists folder in my S3 bucket. By doing this I am able to edit my reading list in Fargo without having to re-upload files to my S3 bucket.

 

Sent from Mail for Windows 10

Henrik Carlsson

unread,
Aug 4, 2015, 4:23:24 AM8/4/15
to river4, da...@smallpicture.com
Thanks Frank!

Thats more or less exactly the way I was planning to use it, but with WordPress instead of Fargo. (Though I might use Fargo for my personal rivers.)

It doesn't work for me right now, probably because the WordPress url ends with .php, not .opml, so maybe I need to do som mod_rewrites. (Uugh…)

Is there a way to explicitly tell River4 that "yes, this linked url is an opml file, even though the file suffix indicates otherwise"?

/Henrik


Den tisdag 4 augusti 2015 kl. 01:07:41 UTC+2 skrev Frank McPherson:

Maybe this will help, link to the Fargo documentation that talks about include nodes in OPML files.

 

http://fargo.io/docs/fargo/includes.html

 

I use this configuration to manage my reading list for my implementation of River4 that uses AWS S3 for storage rather than local file storage. I maintain my OPML reading list using Fargo and an outline stored in Dropbox. I created a corresponding OPML reading list with an include node that has the public URL to the OPML file in my Dropbox, and put it in the /river4data/lists folder in my S3 bucket. By doing this I am able to edit my reading list in Fargo without having to re-upload files to my S3 bucket.

 

Sent from Mail for Windows 10

 

 


From: Dave Winer
Sent: Monday, August 3, 2015 6:45 PM
To: riv...@googlegroups.com
Subject: Re: [river4] Is there a configuration for where River4 gets its OPMLlists?

 

 

You can put "include" nodes in your lists, so you can pull in the info from anywhere.

 

I can't write a full explainer for this right now, I'm out at dinner. 😄

 



On Monday, August 3, 2015, Henrik Carlsson <henrik....@me.com> wrote:

As the subject says, is there a way to configure River4 and tell it where it should get its OPML lists or are these always fetched from /river4data?

 

If this can't be configured, would it be possible to have this feature added?

 

The reason I want to be able to do this is that I want to use it in tandem with WordPress' "Links Manager" and the OPML display of those links (add "wp-links-opml.php" to your WP-blog URL) as a user-friendly way of managing feeds for a River. 

 

best regards

Henrik

--
GitHub repository: https://github.com/scripting/river4
How to ask for help: http://scripting.com/2014/03/19/howToAskForHelpWithSoftware.html
---
You received this message because you are subscribed to the Google Groups "river4" group.

To unsubscribe from this group and stop receiving emails from it, send an email to river4+unsubscribe@googlegroups.com.

Dave Winer

unread,
Aug 4, 2015, 8:00:55 AM8/4/15
to riv...@googlegroups.com
I'm pretty sure River4 doesn't care what the URL ends with on include nodes. 

What makes you think it does?

Also try to provide the information someone might need to help you debug this. You haven't told us in any meaningful way what you did. Review this howto for ideas.


Dave



Henrik Carlsson

unread,
Aug 4, 2015, 9:02:31 AM8/4/15
to river4, da...@smallpicture.com
Hi Dave,

I'm pretty sure River4 doesn't care what the URL ends with on include nodes. 
What makes you think it does?

I read this text: "When a link element is expanded in an outliner, if the address ends with ".opml", the outline expands in place. This is called inclusion." (http://dev.opml.org/spec2.html#inclusion)

I realized now I missed the following part about an actual "include"-type, as opposed to the "link"-type.



Also try to provide the information someone might need to help you debug this. You haven't told us in any meaningful way what you did. Review this howto for ideas.
http://scripting.com/2014/03/19/howToAskForHelpWithSoftware.html

Sorry about that. I didn't mean to imply that I demanded you or anyone debug my problems. I just wanted to say thanks to Frank for confirming that he is currently using a very similar setup to mine and ask the follow-up question about whether ".opml" needed to be in the url or not.

English is not my first language, so if I come of as demanding things without providing my part and sometimes I misread documents. For this I apologize.

I'll dig deeper into the inclusion of external documents later tonight when I have my "geek time".

/Henrik

To unsubscribe from this group and stop receiving emails from it, send an email to river4+unsubscribe@googlegroups.com.

Frank McPherson

unread,
Aug 4, 2015, 9:25:06 AM8/4/15
to river4, da...@smallpicture.com

A RSS reading list has to be in an OPML file format. The easiest way to create a file in the OPML format is to use Fargo. If you are going to use the WordPress HTML editor, or notepad for that matter, to create an OPML file, you need to know the format. If you take that approach I would recommend starting with an existing OPML file and editing it rather than trying to create from scratch. Again, I don't see why you wouldn't use Fargo for creating these files.


Frank McPherson

unread,
Aug 4, 2015, 11:31:35 AM8/4/15
to river4
A couple more links that might be helpful. 

Support for includes came in v0.88 of River4, you will find the announcement here: http://river4.smallpict.com/2014/06/17/river4V088.html 

I said in one of my other emails that I use an include with my implementation of River4 that uses S3 for storage. You will find my river here: http://river.frankmcpherson.org/ 

The All My Feeds reading list is the one for which I use an include. The OPML file for that list that is in the /river4data/lists folder of my S3 is https://dl.dropboxusercontent.com/u/1833590/allMyFeeds.opml 

You can open that file in Fargo by selecting File, Open By URL. You will see one entry, the include node titled My Feeds. If you click My Feeds to select it, and then click Outline, Edit Attributes you will see the two attributes that make that node work. If you double click My Feeds the outline expands with all the RSS feeds I am monitoring, those RSS feeds are being read from the OPML file that is stored in my Dropbox. 

Henrik Carlsson

unread,
Aug 4, 2015, 4:49:50 PM8/4/15
to river4
Thanks a lot Frank!

The short answer to why I want to use WordPress: One of my planned rivers is for a collaboration project and the other participants is already used to WP, while only a few of them has used Fargo before. So it's just a matter of convenience.

It seems I've got things up and running now. I used your links and tips and created a couple of different test feeds with or without includes. It seems the problem was a really, __really__ silly one. For some reason the text editor I used to create the OPML file that did the inclusion (TextEdit, I think) changed my quotes (") to some sort of smart quotes for the type="include" attribute. I have no idea why this happened but it did happen and once I re-entered the quotes as "ordinary" quotes things started working.

And some more regarding WordPress: I don't create the subscription list by hand using the WordPress HTML editor, I use the "Managed Links"/blogroll feature on WordPress. (See http://blog.henrikcarlsson.se/wp-links-opml.php for example.) The idea is that this function provides a GUI-based way of creating an OPML using and it's done in WordPress which a lot of people already knows how to use.

/Henrik

To unsubscribe from this group and stop receiving emails from it, send an email to river4+unsubscribe@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages