sitemap  |  contact

Sakic.Net Forum
25 July 2008, 19:16 *
Welcome, Guest. Please login or register.
Did you miss your activation email?
Login with username, password and session length
News:

Emir is on vacation. He will not be replying here for a few days!

 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: RSS updates.  (Read 7953 times)
teesquared
Newbie
*
Posts: 6


View Profile
« on: 07 February 2007, 06:01 »

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.
Logged
teesquared
Newbie
*
Posts: 6


View Profile
« Reply #1 on: 07 February 2007, 06:31 »

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.
Logged
teesquared
Newbie
*
Posts: 6


View Profile
« Reply #2 on: 14 February 2007, 02:11 »

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.
Logged
Saka
Administrator
Hero Member
*****
Posts: 1,128


View Profile WWW
« Reply #3 on: 14 February 2007, 03:51 »

You need to register the cronjob yourself on your webserver. WPS can not do it for you.

From the manual:
Quote
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 http://www.domain.com/wap/resources/cron.php > /dev/null
Logged

teesquared
Newbie
*
Posts: 6


View Profile
« Reply #4 on: 14 February 2007, 05:43 »

Thanks Emir, thats just what I needed. Cheers. Cheesy
Logged
Pages: [1]
  Print  
 
Jump to: