I see another issue.
on this page, you have URL links with spaces. They should be urlencoded so the spaces are changed to %20, or a plus (+)
http://www.weather.ricksturf.com/AtomDemo.php
I see another issue.
on this page, you have URL links with spaces. They should be urlencoded so the spaces are changed to %20, or a plus (+)
http://www.weather.ricksturf.com/AtomDemo.php
Im getting an error:
Warning: include(AtomArray.php) [function.include]: failed to open stream: No such file or directory
I didn’t see the (AtomArray.php) included in the zip file
Same Here…No File.
Yeah here neither…
Try running the AtomFeed.php file manually, you will then see three (3) files get created. AtomWork.php, AtomCache.php and AtomArray.php.
These three files are the files that are created and updated when you run the script AtomFeed.php
Hang tight…I’m sure Curly will have this resolved very shortly.
Mark, your server does not have permission to create files.
I logged in and CHMOD your “web” folder to 777, ran AtomFeed.php and it created the files, then I CHMOD the “web” folder back to 715.
Working fine here Thanks :lol:
#-o LOL…Thanks again Mike. I see its working.
OK Back again…
Fixed the blank spaces in the URL.
Instead of downloading the zip file, copy the code here http://www.weather.ricksturf.com/scripts/AtomFeed.php?sce=view
As a side note, if you have a problem with the script or web page, please post a link.
Thanks
Curly
Mike went in and changed my permissions and that fixed it. Thanks.
Great!
Glad it’s working…
Great script! Thanks. I’m a little confused after reading the docs as what I have to do to get the the warning box part to work so that it has the icon next to it. I know I need to include AtomsFeed.php but I’m not sure of where I need to place some other code (tags). Can someone provide me the exact code I need and where it needs to be placed and in what file.
Thanks,
John
In your index.php, place this at the top just under your
<?php print $alert_box; ?>
Be sure you have called the AtomArray.php file too
Michael
Okay got the short term forecast to show. The warning box is not showing around. How do I get this to show and text centered?
Thanks,
John
This is controlled by your css file.
If you have $use_CLcss set to “true”, then the “advisoryBox” is used in your CSS file. I see that yours is commented out by the //. I would check there first for the formatting and uncomment.
John,
Your CSS file doesn’t have “advisoryBox” and that is what the script uses. There are two alternatives.
Find this
$alert_bocks = '<div class="advisoryBox">' . $alert_bocks . '</div>';
and change “advisoryBox” to “advisorybox” or “advisorybox1” or “advisoryBox2”
or you can use a defaulted box if you change $use_CLcss = true; to false.
FOr some of us its just a bit more time consuming figuring it all out. I’ve placed everything on my server. Nothing is working.