May 13, 2003
Note: CogDogBlog has a new WordPress powered home at http://cogdogblog.com/. All entries from this version have been moved there, so as a guide dog service try finding this article in its new home by title search.
RSS to JS update
The mian improvements (suggested by Randy Brown) were to add URL parameter options:
- to show/hide channel information
- set a number of items to display
- show/hide the item descriptions
I also changed the way the script accesses the variables to the $_GET array as some servers that have PHP security settings for globals=off may run into some trouble (this was a first attempt at addressing this issue; and I am not sure it takes care of the problem- see I am a hack programmer ;-)
blogged May 13, 2003 11:26 AM
:: category [
Feed for comments on this entry
Feed for all CDB comments
I appreciate everyone's efforts on this project. Now I have the enviable task of putting to use all of your work.
But,alas, the enivitable baffling techno glitch.
Can anyone help? I've installed but, no feed displayed when pointing to the script on our server. Now, when I point to the script on your server it's fine.
Test page http://www.nczoo.org/scripts/rss/
Sorry if is not as smooth as I lef you to believe.
and it should be:
When doing the testing, you should start be just testing the url in your browser. e.g. paste in:
Sometihng is not correct about your script or set up but I have no way (or time) to diagnose. As you noted, the feed works fine on ours:
Make sure you have correct settings for the paths to the Onyx library amd your cache location.
Thanks for the pointers. I did as you suggested and I'm now able to see the error condition by opening the feed from my browser, downloading and reviewing it.
The error is:
"Could not open the specified file. Check the path, and make sure that you have write permissions to this file."
I am checking with our webhost on write permissions as I am certain I now have the correct path.
In your download package I would suggest editing line #87 of the rss2js.php to point correctly to the onyx function as it is unzipped.
I know it's pretty basic but, this may save some PHP newbies (like me) some pain.
Thanks Rob, I had forgotten to remove the paths I use on my server, and needed to uncomment the default ones for the download package. It is corrected now in the download ZIP
Those nasty blog-spamming roaches have forced us to take action to prevent their spread- all entries made to this blog will remain open for comments for 30 days after the original posting date. After that, it is old news anyhow, correct?
If you really need to make contact with the chief dog around here, please submit a request via our feedback center