May 25, 2004
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.
Feed2JS - First Out of the Gate...
Anyhow, I set up a little form where you can share a web site name and URL where the new version is being used/hosted, that gets added to the list of examples.
In addition, I had wavered back and forth about including a list of RSS resources, as there are already piles of lists out there. It was not there yesterday, but today a starting one is available as I realized I wanted to include a collection of other sites that offer the same sort of service (I found 9 so far). So if you have a favorite, cherished RSS for total newbies sort of link, please send 'em my way.
By the way, that is what is slick about the templated format for this web site- it is only a single PHP file, and the top menus are built on the fly, and content inserted by simple include statements. It allows me to add new sections, re-arrange the order of the navigation with one edit, rather than the old static HTML approach of changing the navigation links on every freakin' page if you make any changes. Mmmmmm, PHP.... mmmmmmm
blogged May 25, 2004 08:34 AM
:: category [
Feed for comments on this entry
Feed for all CDB comments
Alan or David – could either of you please provide more details related to "server parameters for the build.php script for sites where register globals is off"
Often in PHP server setups, a default behavior is set for security reasons that prevent you from directly accessing variable values that are passed to the script.
When register globals is ON (what we do), if you pass a variable named $foo to a PHp script you can directly access it by doing:
echo "the value of foo is $foo";
When register globals is OFF, you need to extract it from an array that is created to store the variables:
echo "the value of foo is " . $_GET['foo'];
Bottom line- you do not really need to worry about it.
Thanks for this Alan - it explains why the build.php from your original scripts would not work on my server.
I am not a coder, so I did a little searching on the net and found the folowing that has fixed the problems for your original build script:
Both suggested methods workd for me.
I will have to go ahead an install your latest version as well.
Thanks for the very valuable work on this.
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