Click here to show or hide the menubar.

Add external items to scripting2 feed


Approach

I want to bring content from this world to readers of Scripting News, without adding posts to Scripting News.

I'm going to build a new structure in the scripting2 database that works the same way as the feed structure in worldOutline.root.

There's an RPC handler at worldOutlineRpcHandlers.addFeedItem that's the prototype for the new RPC handler that Scripting2 will get.

Then, when Scripting2 builds its RSS feed, after it outputs "native" items, it outputs external items.

Welcome!

This is what I call a "worknote."

I've been doing this fairly systematically since June of last year. Every time I start a new sub-project, I open up a note in my outliner, do my thinking into the outline. It really works to keep me organized, and makes notetaking a snap. The net-effect is that I can manage more complex projects, and I avoid some errors. And also, if I wonder what I was thinking when I did something, I'm now more likely to have an answer.

I'm not going to push all my worknotes through the Scripting News feed. But just the ones that I think are important, on-topic, or show you where I'm heading.

My plan is to eventually have all this integrated into one sort-of personal radio station, that connects up with other people's stations.

Say hello

If you came here from the Scripting News feed, feel free to leave a comment saying so. :-)

Scripting2 users

I included the script I use to post to my feed, it's at scripting2Suite.utilities.postToExternalFeed.

However this is a one-off feature, it requires configuration on the server, and it's not something I can support, like all of scripting2.root.

Parts

scripting2Suite.initUser

scripting2RpcHandlers.addExternalFeedItem

scripting2Suite.server.addExternalFeedItem

scripting2Suite.server.buildRss

scripting2Suite.utilities.postToExternalFeed


Posted on Friday, April 27, 2012 at 8:55 AM by Dave Winer.