January 16, 2006
Recently, I received an email about newsRiver AJAX suggestions. I wanted to let people know that I am not a developer on the newsRiver code base. This IS NOT a community based project it’s a Dave developed project.
So, please don’t email with your feature request.
If Dave truly wanted a community developing the newRiver.root then he would have taken the steps to make it a community devloped project using Source Forge or something. So if you would like to see a feature added or a bug fixed then you need to figure out a way to communicate that to Dave not me.
Thanks!
No Comments » |
AJAX, newsRiver |
Permalink
Posted by Colin Faulkingham
January 14, 2006
I cleaned up and fixed a couple of bugs with the AJAX integration for newsRiver. You can now run it on any server and on any port. I also fixed the status message when making a request. The code has been commented with my changes.
Again this code implements Daniel’s demo interface. Which allows you to delete a story by just clicking on the checkbox.
The code I changed was the newsRiverWebsite.#template and the newsRiverSuite.viewNewsItems which I zipped up. I am not sure what you would do with those two exported pieces of code but here they are for the taking.
I also uploaded the newsRiver.root database. According to Dave Winer it’s a bad idea or can be dangerous to install it that way.
SO DON’T BLAME ME IF YOU MESS SOMETHING UP. BACK UP YOUR STUFF FIRST.
No Comments » |
AJAX, newsRiver |
Permalink
Posted by Colin Faulkingham
January 13, 2006
Daniel Berlinger posted a working ajax demo with the newsRiver interface. So, I implemented it in the NewsRiver aggregator. Basically it will delete a story when you click on the checkbox using AJAX.
Here is the newsRiver.root database Warning I don’t know if this is the proper way to update your newsRiver code base. I know very little about userTalk. So BACK UP YOUR newsRiver.root FIRST before you use this..
Update: If you downloaded the newsRiver.root DON’T install it. It would be a bad thing from what I understand.
No Comments » |
AJAX, newsRiver |
Permalink
Posted by Colin Faulkingham
January 12, 2006
Recently I had a conversation with Dave Winer over the AJAXing of the “River of News” aggregator. In an effort to share what I have done I am posting the code that I modified in the newsRiverWebsite.#template from the newsRiver.root Guest Database. The updated code includes the nessary Javascript to do Asynchronous Javascript Request, it includes 1 lame example of a test request and handling the return response.
To make this work someone will need to modify the riverNews code so that it can return HTML fragments. Example instead or returning <html><head></head><body><content></body></html> it would return just the <content> part, and the rest is done within Javascript.
You can do a lot of cool things with this little library. I however don’t have the time or know how to modify the necessary userTalk code to this extent. So if somone would like to pickup where I left off I would be will be willing to share the code and answer your question’s about how it works.
The code is licensed under the GPL.
1 Comment |
AJAX, newsRiver |
Permalink
Posted by Colin Faulkingham