<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>0xDECAFBAD - Tag: userland</title>
    <link href="http://decafbad.com/blog/atom.xml" rel="self"/>
    <link href="http://decafbad.com/blog"/>
    <updated>2011-11-16T16:29:50+00:00</updated>
    <id></id>
    <author>
        <name></name>
        <email>l.m.orchard@pobox.com</email>
    </author>
    

    <entry>
        <title>A bit of newsRiver hackery</title>
        <link href="http://decafbad.com/blog/2006/01/21/a-bit-of-newsriver-hackery"/>
        <updated>2006-01-21T06:54:30+00:00</updated>
        <id>http://decafbad.com/blog/2006/01/21/a-bit-of-newsriver-hackery</id>
        <content type="html">&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; &lt;em&gt;I moved this code over to &lt;a href=&quot;http://blogs.opml.org/decafbad/&quot;&gt;my space over at hosting.opml.org&lt;/a&gt; and added some updater code from &lt;a href=&quot;http://web.sabi.net/nriley/software/&quot;&gt;Nicholas Riley's webdav tool&lt;/a&gt;, so that you should be able to just &quot;Get Latest Code...&quot; once you've got this installed.  (Or reinstalled, if you grabbed last night's version.)  Also, I fixed a bug or two.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;So, I couldn't resist poking around with Dave Winer's &lt;a href=&quot;http://www.newsriver.org/&quot;&gt;newsRiver&lt;/a&gt; in the &lt;a href=&quot;http://www.opml.org&quot;&gt;OPML editor&lt;/a&gt;.  For whomever's interested in this sort of thing, here's the result of a couple of hours' hacking this evening:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://hosting.opml.org/decafbad/decafbadNewsRiver/decafbadNewsRiver.root&quot;&gt;&lt;code&gt;decafbadNewsRiver.root&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;In this is a tool to be dropped into your OPML Editor install's Guest Databases / apps / Tools directory, right alongside &lt;code&gt;newsRiver.root&lt;/code&gt; itself.  You may need to restart the OPML Editor.  Once installed, you should see a new &quot;DecafbadNewsRiver&quot; menu item under the Tools menu, allowing you to view your news in this new UI.  Expect &lt;em&gt;lots&lt;/em&gt; of bugs, though.&lt;/p&gt;

&lt;p&gt;Basically, this provides an alternate DHTML outline rendering of the news items gathered by newsRiver—quite similar to &lt;a href=&quot;http://decafbad.com/blog/2005/10/05/feedspool-is-progressing-nicely&quot;&gt;what I did back in October for FeedSpool&lt;/a&gt;.  I'm not sure how far I'll take this, if I take it any farther.  I've got a bit of a notion to tackle some REST/AJAX interaction with newsRiver for on-the-spot item deletion, and maybe on-demand item content retrieval.&lt;/p&gt;

&lt;p&gt;But, for newsRiver hackers:  You might like what I've done with the &lt;code&gt;viewNewsItems&lt;/code&gt; script under &lt;code&gt;decafbadNewsRiverSuite&lt;/code&gt;.  I've made an attempt to pull all of the HTML out of the midst of the processing code.  That's was icky, and I hated it back when I first ran into it in Radio UserLand.&lt;/p&gt;

&lt;p&gt;I've broken all of that out into smaller external templates for page, feed, and item under &lt;code&gt;decafbadNewsRiverData&lt;/code&gt;.  This should allow for easier styling and customization of the code that newsRiver produces, as well as maybe swapping themes on the fly with a preference that points the rendering process at a different root table for templates.&lt;/p&gt;

&lt;p&gt;In any case, do what you like with this work.  I hope it's useful to someone out there.&lt;/p&gt;

&lt;!-- tags: newsriver frontier userland radio usertalk rss syndication feeds dwiner --&gt;




&lt;div id=&quot;comments&quot; class=&quot;comments archived-comments&quot;&gt;
            &lt;h3&gt;Archived Comments&lt;/h3&gt;
            
        &lt;ul class=&quot;comments&quot;&gt;
            
        &lt;li class=&quot;comment&quot; id=&quot;comment-221084999&quot;&gt;
            &lt;div class=&quot;meta&quot;&gt;
                &lt;div class=&quot;author&quot;&gt;
                    &lt;a class=&quot;avatar image&quot; rel=&quot;nofollow&quot; 
                       href=&quot;http://donovanwatts.com/&quot;&gt;&lt;img src=&quot;http://www.gravatar.com/avatar.php?gravatar_id=188ad8b4dc99107d22c8b868e45f0508&amp;amp;size=32&amp;amp;default=http://mediacdn.disqus.com/1320279820/images/noavatar32.png&quot;/&gt;&lt;/a&gt;
                    &lt;a class=&quot;avatar name&quot; rel=&quot;nofollow&quot; 
                       href=&quot;http://donovanwatts.com/&quot;&gt;Donovan Watts&lt;/a&gt;
                &lt;/div&gt;
                &lt;a href=&quot;#comment-221084999&quot; class=&quot;permalink&quot;&gt;&lt;time datetime=&quot;2006-01-21T07:55:24&quot;&gt;2006-01-21T07:55:24&lt;/time&gt;&lt;/a&gt;
            &lt;/div&gt;
            &lt;div class=&quot;content&quot;&gt;&lt;p&gt;neat! i much prefer this interface. thanks much.&lt;/p&gt;&lt;/div&gt;
            
        &lt;/li&gt;
    
        &lt;/ul&gt;
    
        &lt;/div&gt;



</content>
    </entry>
    
    
</feed>

