RSS updates.
- teesquared
- Topic Author
- Offline
- New Member
Less
More
- Thank you received: 0
17 years 9 months ago #165
by teesquared
Hi again Emir.
I managed to load a bunch of RSS feeds yesterday. There were one or two that didn't want to load into the software. Notable the main Federal reserve Bank of New York RSS feeds on http://www.ny.frb.org/rss/index.html
Others like Reuters, BBC, DowJones all loaded and populated fine.
Today however, it appears that none of the RSS feeds are updating.
They all have yesterday's news compared with a PC based news reader.
When I tried to re-populate the feeds I got this error.
Warning: Invalid argument supplied for foreach() in /var/www/html/wap/resources/cron.php on line 149
Is there a problem with the cron file? or does it point to something else?
By the way, from my recent googling I discovered that i-mode is now in
Ireland, Greece, UK, Germany Holland and also Australia and Taiwan. Although the recent european push is through a joint DoCoMo / O2 tie-up.
Best regards
Tee.
I managed to load a bunch of RSS feeds yesterday. There were one or two that didn't want to load into the software. Notable the main Federal reserve Bank of New York RSS feeds on http://www.ny.frb.org/rss/index.html
Others like Reuters, BBC, DowJones all loaded and populated fine.
Today however, it appears that none of the RSS feeds are updating.
They all have yesterday's news compared with a PC based news reader.
When I tried to re-populate the feeds I got this error.
Warning: Invalid argument supplied for foreach() in /var/www/html/wap/resources/cron.php on line 149
Is there a problem with the cron file? or does it point to something else?
By the way, from my recent googling I discovered that i-mode is now in
Ireland, Greece, UK, Germany Holland and also Australia and Taiwan. Although the recent european push is through a joint DoCoMo / O2 tie-up.
Best regards
Tee.
Please Log in or Create an account to join the conversation.
- teesquared
- Topic Author
- Offline
- New Member
Less
More
- Thank you received: 0
17 years 9 months ago #166
by teesquared
Think I partially sorted the problem. The page was cached in the browser. After 2 forced refreshes it started to show the latest news. Might I suggest that somewhere in the RSS pages the following is entered. This worked for my live data pages and in conjunction with the regular refresh mata-tag I can get 4-5 second refreshes on some handsets.
Here is the code:
<meta http-equiv="Cache-Control" content="no-cache"/>
Regs
Tee.
Here is the code:
<meta http-equiv="Cache-Control" content="no-cache"/>
Regs
Tee.
Please Log in or Create an account to join the conversation.
- teesquared
- Topic Author
- Offline
- New Member
Less
More
- Thank you received: 0
17 years 9 months ago #193
by teesquared
Hi Again Emir.
I thought I had solved the problems with the RSS updates, but the data does still not refresh. Suspect that a cron job did not get registered in the install since there are no cron jobs related to WAP portal on my webserver.
Can you please give me an idea what to check.
Many thanks and regards
tee.
I thought I had solved the problems with the RSS updates, but the data does still not refresh. Suspect that a cron job did not get registered in the install since there are no cron jobs related to WAP portal on my webserver.
Can you please give me an idea what to check.
Many thanks and regards
tee.
Please Log in or Create an account to join the conversation.
- Saka
- Offline
- Administrator
17 years 9 months ago #194
by Saka
Emir Sakic
www.sakic.net
You need to register the cronjob yourself on your webserver. WPS can not do it for you.
From the manual:
From the manual:
You can setup a cronjob to automatically update your content by parsing those RSS feeds on regular basis. An example for the crontab entry that would update your WAP content from RSS links every day at noon would be:
0 12 * * * wget -q www.domain.com/wap/resources/cron.php > /dev/null
Emir Sakic
www.sakic.net
Please Log in or Create an account to join the conversation.
- teesquared
- Topic Author
- Offline
- New Member
Less
More
- Thank you received: 0
17 years 9 months ago #196
by teesquared
Thanks Emir, thats just what I needed. Cheers.
Please Log in or Create an account to join the conversation.