Early dbagg3 demo is alive and kicking
Got some very good work in this weekend on switching servers and getting
dbagg3 in some semblance of working order somewhere other than on my overworked and decidedly non-publicly-demonstrable laptop.
This stuff is so this side of premature, that I'm probably about to cause JohnCompanies to send hit-men out to cancel me, along with my hosting account (have I said that I really appreciate the help so far?). But I just have to get this out: I'm easily excited by shiny code and gadgets, but it's so much easier to get excited when I can see something in working condition before taking a screwdriver to it. So... remember when I mentioned all those URLs? They're working out nicely.
First, check out a simple two-pane view of news items, ala Bloglines:
Taking this apart, you can see:
- A user account: http://feeds.decafbad.com/api/users/demo.xml
- Some XSL: http://feeds.decafbad.com/xsl/two-pane/index.xsl
- ... and a specified content type (text/html)
If your curiosity is piqued by this, view source and pay attention to link URLs. It's more of the same: XML produced by a REST API, passed through XSL, delivered as HTML.
Here, take a look at another view on this demo user's aggregated items:
Unfortunately, this only seems to be working decently with Firefox and Safari. MSIE seems to be balking at the dynamic stuff, though I've had it working there in a previous incarnation of this code. So hopefully this will be fixed soon.
At any rate, what you should see is a single-pane outliner-style display of feed entries. This is the style of aggregator UI I've been using for almost 3 years now. Disclosure triangles open entries up to show summaries and further content. “[seen]” links hide the entries, while “[queue]” hides an entry while tossing it into a queue for viewing later.
Speaking of that, you can see what's in the queue right now:
Here is a display of queued entries, with another stylesheet applied that shows everything in a flat and open blog-like template. It's not reverse-chronological, but that's not hard to accomplish with a flag or a tweak to an <xsl:sort> tag.
So that's just the start of things. Remember when I was rambling on about XML storage and query? A URL like this is one product of that:
This should show you a flat listing of all entries whose titles contain “OS X”. This is far from perfect, but it's very exciting to me-- it's got a lot of promise, stuff that first caught my eye when I saw Jon Udell playing awhile back.
The upshot of this is that these attributes are not limited to “seen” or “queued” flags-- in fact, these annotations can (well, in theory) be any pairing of arbitrary XML and a name. This annotation then gets injected into the entry, when viewed by the user who owns the annotation, like so:
In fact, you could invent a new annotation called 'tags' and filter for entries with this annotation with a URL like this:
- http://feeds.decafbad.com/api/users/demo/subscriptions/now-12.xml?xsl=xsl/full.xsl&content-type=text/html&entry_notes_xpath=//dbagg3:note[@name='tags' and contains(text(),'#food#') and contains(text(),'#odd#')]
Eventually, what I'd really like to see this start doing is something akin to del.icio.us-style tagging while you're reading. Then, you can have public queries that pull feeds based on your (and others') tags and spit things back out as feeds again with the proper XSL stylings.
So at this point, it's all URLs and barely working HTML, but it's exciting to me at least. And it's dogfood for me, since I'm using this crud to get my daily (hourly?) fix. Pretty soon, I'll be diving into wrapping more of a proper usable web app around this, with user management and stuff that works in MSIE. Until then, maybe someone else will see this and catch a buzz from it.