Closed
Bug 253245
Opened 20 years ago
Closed 8 years ago
RSS feeds for Bonsai queries
Categories
(Webtools Graveyard :: Bonsai, enhancement)
Webtools Graveyard
Bonsai
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: petrovicky, Unassigned)
References
()
Details
Attachments
(2 files, 2 obsolete files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040723 Firefox/0.9.1+ (mmoy-Release-092-Pentium-4M) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040723 Firefox/0.9.1+ (mmoy-Release-092-Pentium-4M) I often check the given link for updates. it would make my life much easier, if only there were RSS or ATOM, that would give me the information I seek. I know that many RSS readers take a lot of bandwidth, but I think it'd be worth it. Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: there is no RSS or ATOM feed for Bonsai queries Expected Results: there should be some RSS or ATOM feed for Bonsai queries
Comment 1•20 years ago
|
||
See also bug 262967.
Comment 2•19 years ago
|
||
this would be very nice. Perhaps if I have the time I'd look into this.
OS: Windows XP → All
Hardware: PC → All
Comment 3•19 years ago
|
||
I will work up a patch against the latest bonsai tree to do this.
Assignee: tara → bear
Updated•19 years ago
|
Status: NEW → ASSIGNED
Comment 4•19 years ago
|
||
Ping. Any progress on this yet? I'm especially interested in what ideas people might have for what <title> should be. I also think it would be very useful if links to the changed files were included. Basically, I'd like to be able to do everything I can do from a bonsai query results page without actually loading that page in my browser. cl
Updated•18 years ago
|
QA Contact: timeless → bonsai
Comment 5•17 years ago
|
||
This is a very rough draft (have I said that enough ;) it adds the feed option and generates a basic atom formated output. It needs human readable dates and id's
Comment 6•17 years ago
|
||
Comment on attachment 266114 [details] [diff] [review] first rough patch - work in progress Let the feed pedantry begin! >+} elsif ($show_feed) { >+ print "Content-type: text/xml\n\n"; application/atom+xml, please, so you don't depend on browser sniffing heuristics >+ print " <author>$ci_who</author>\n" <author> has one required child element, <name>, and optional <url> and <email> children (though I assume <name> will be a name only a CVS admin could love, it's still what passes for a name).
Comment 7•17 years ago
|
||
this version actually works (I used it in my test bonsai) and it generates almost valid atom. the only part that should be added are links and id's
Attachment #266114 -
Attachment is obsolete: true
Comment 8•17 years ago
|
||
thanks phil - I just saw your notes as I was posting the latest. let me make those changes now. (In reply to comment #6) > (From update of attachment 266114 [details] [diff] [review]) > Let the feed pedantry begin! > > >+} elsif ($show_feed) { > >+ print "Content-type: text/xml\n\n"; > > application/atom+xml, please, so you don't depend on browser sniffing > heuristics > > >+ print " <author>$ci_who</author>\n" > > <author> has one required child element, <name>, and optional <url> and <email> > children (though I assume <name> will be a name only a CVS admin could love, > it's still what passes for a name). >
Comment 9•17 years ago
|
||
Attachment #266127 -
Attachment is obsolete: true
Comment 10•17 years ago
|
||
The <summary> construct doesn't appear to be displayed at all by NetNewsWatcher, which is a really popular RSS client on Mac. And that's the main part of the commit that I'd be interested in. Maybe that should be in the <content> before the list of files? This patch is live on http://bonsai-stage.mozilla.org/ if anyone wants to play.
Comment 11•17 years ago
|
||
We should also add link rel header. Test link for those who just wants to click: http://bonsai-stage.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=day&mindate=&maxdate=&cvsroot=%2Fcvsroot&feed=1
Comment 12•17 years ago
|
||
feedvalidator has a few issues with the current stage version: http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fbonsai-stage.mozilla.org%2Fcvsquery.cgi%3Fdate%3Dday%26feed%3D1
Comment 13•17 years ago
|
||
Updated•17 years ago
|
Attachment #266623 -
Attachment is patch: true
Attachment #266623 -
Attachment mime type: application/octet-stream → text/plain
Comment 14•17 years ago
|
||
I still think that the HTML version should have a header like: <link rel="alternate" type="application/atom+xml" title="Atom" href="blabla.org" />
Comment 15•17 years ago
|
||
(In reply to comment #10) > This patch is live on http://bonsai-stage.mozilla.org/ if anyone wants to play. And no longer, because it's not in CVS yet, and it conflicts with the recently-added graphing stuff.
Updated•13 years ago
|
Assignee: bear → nobody
Comment 16•8 years ago
|
||
Bonsai was decommissioned, closing all remaining bugs "wontfix"
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Assignee | ||
Updated•8 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•