Web Images News Groups Books Scholar Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Discussions > Event Publishers (Webmasters) (Archived) > PHP-generated feeds do not update (again)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Francesco Longu  
View profile  
 More options Nov 24 2008, 8:32 pm
From: Francesco Longu
Date: Mon, 24 Nov 2008 07:32:47 -0800 (PST)
Local: Mon, Nov 24 2008 8:32 pm
Subject: PHP-generated feeds do not update (again)
Hello, I am using Google calendar to display a series of user-
submitted event. The feeds are generated with php. I can add the feeds
just fine to Google Calendar -- however, any changes made in the CMS
are not reflected in Google Calendar, although they are in the feed
files. I had a similar issue some months ago:

http://groups.google.com/group/google-calendar-help-publishers/browse...

Which I solved by modifying the headers -- now I haven't touched a
line of code and the feeds do not update again. Am I doing something
wrong? Have specs changed?

This is my website:

http://www.smefit.eu/

And this is a sample calendar generated by my code:

http://www.smefit.eu/spip.php?page=cal-rom.ics

The calendar updates fine in Apple's iCal. Deleting and re-subscribing
from Google Calendar seems the only way to refresh content so far.


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tren  
View profile  
 More options Nov 25 2008, 6:14 am
From: Tren
Date: Mon, 24 Nov 2008 17:14:37 -0800 (PST)
Local: Tues, Nov 25 2008 6:14 am
Subject: Re: PHP-generated feeds do not update (again)
I have the same problem,
and re-subscription does not work for me any more!

On Nov 24, 10:32 am, Francesco Longu wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Francesco Longu  
View profile  
 More options Nov 30 2008, 9:41 pm
From: Francesco Longu
Date: Sun, 30 Nov 2008 08:41:57 -0800 (PST)
Local: Sun, Nov 30 2008 9:41 pm
Subject: Re: PHP-generated feeds do not update (again)
Tren -- you have to change the URL of your script and then re-
subscribe. That's the only way for me, but it's a pity that we get no
answers on what is clearly a bug!

On Nov 25, 2:14 am, Tren wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tren  
View profile  
 More options Dec 2 2008, 12:35 am
From: Tren
Date: Mon, 1 Dec 2008 11:35:40 -0800 (PST)
Local: Tues, Dec 2 2008 12:35 am
Subject: Re: PHP-generated feeds do not update (again)
Thanks Francesco.

I figured Google Calendar doesn't parse a
new source file specified by URLs due to the
cached copies in their server.

To solve this problem, now I host our calendar
(Boston-NeuroTalks 2.0) on Google Calendar
and the home server mirrors the file every 5
minutes.

Please let me know if you'd like to know the
technical details.

On Nov 30, 11:41 am, Francesco Longu wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Francesco Longu  
View profile  
 More options Dec 4 2008, 4:19 pm
From: Francesco Longu
Date: Thu, 4 Dec 2008 03:19:09 -0800 (PST)
Local: Thurs, Dec 4 2008 4:19 pm
Subject: Re: PHP-generated feeds do not update (again)
Thanks Tren! Yes indeed I would like to know a bit more about the
technical details and explore if this is feasible with my setup as
well.

On Dec 1, 8:35 pm, Tren wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
zeripath  
View profile  
 More options Dec 10 2008, 5:29 am
From: zeripath
Date: Tue, 9 Dec 2008 16:29:40 -0800 (PST)
Local: Wed, Dec 10 2008 5:29 am
Subject: Re: PHP-generated feeds do not update (again)
On Nov 24, 3:32 pm, Francesco Longu wrote:

> Which I solved by modifying the headers -- now I haven't touched a
> line of code and the feeds do not update again. Am I doing something
> wrong? Have specs changed?

Good luck finding the specs! I'm having to infer these things myself.

> And this is a sample calendar generated by my code:

> http://www.smefit.eu/spip.php?page=cal-rom.ics

OK so a few things I think could be causing weirdness:

1. There's lots of blank lines in those files — I can't put my finger
on the exact point in the rfc where it says no blank lines, but I
can't put my finger on the place where it allows 'em. :S
2. You're not folding your lines as per section 4.1 of
http://www.ietf.org/rfc/rfc2445.txt . This has definitely caused me
trouble before.
3. There's a leading space in your UIDs; try removing the leading
space? Nothing in the spec AFAICS says no leading space, but
everything example element in the spec doesn't have a leading space.

I'm not associated with Google, so all of these things could be wrong
and I can only hope that someone from google will actually chime in.

HTH


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
gfbane  
View profile  
 More options Dec 15 2008, 10:36 pm
From: gfbane
Date: Mon, 15 Dec 2008 09:36:52 -0800 (PST)
Local: Mon, Dec 15 2008 10:36 pm
Subject: Re: PHP-generated feeds do not update (again)
I am having this issue with Apple's Mobile me service.  I can add the
calendar using the "Add HTML" in Google Calendar, and it does an
initial load, but then when I delete events from the calendar, they
deletions show up right away in ical and on the ical.me.com/user/cal
site, however, google calendar just seems to have the cached .ics file
and isn't refreshing.

Why doesn't google calendar just refresh that calendar when you
refresh your browser or when you click the calender on and off?

On Dec 9, 6:29 pm, zeripath wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
DanGuest  
View profile  
 More options Jan 5, 8:18 pm
From: DanGuest
Date: Mon, 5 Jan 2009 07:18:30 -0800 (PST)
Local: Mon, Jan 5 2009 8:18 pm
Subject: Re: PHP-generated feeds do not update (again)
I'm facing the same problem with my external calender not being
refreshed in Google Calendar after more than 24hrs. I spent ages
fiddling around trying to get it working only to eventually find this
thread which explains the problem. Very frustrating!

Someone from Google really should add a note about this somewhere in
the regular Calendar Help Center:
http://www.google.com/support/calendar/

That would have saved me a lot of time. I'm sure I'm not the only
person who's taken a while to find this Google Group before
discovering this is known behaviour. I like the Calendar and want to
use it but sadly this issue is a stopper for me.

I'd have thought that respecting the cache headers would be the way to
go. This would mean that I could control when and how often Google
grabs a fresh copy of my ics file from my server. A manual refresh
method would also work for me. However there's already a "Refresh"
control at the top of the Calendar that clearly doesn't refresh
external calendar feeds. This is doubly confusing in my opinion!

So has there been any progress with this issue?
How long is it taking for Google to re-grab peoples' external ics
files?

Thanks


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Francesco Longu  
View profile  
 More options Jan 9, 12:51 am
From: Francesco Longu
Date: Thu, 8 Jan 2009 11:51:28 -0800 (PST)
Local: Fri, Jan 9 2009 12:51 am
Subject: Re: PHP-generated feeds do not update (again)
On Dec 10 2008, 1:29 am, zeripath wrote:

> 1. There's lots of blank lines in those files — I can't put my finger
> on the exact point in the rfc where it says no blank lines, but I
> can't put my finger on the place where it allows 'em. :S
> 2. You're not folding your lines as per section 4.1 ofhttp://www.ietf.org/rfc/rfc2445.txt. This has definitely caused me
> trouble before.
> 3. There's a leading space in your UIDs; try removing the leading
> space? Nothing in the spec AFAICS says no leading space, but
> everything example element in the spec doesn't have a leading space.

> I'm not associated with Google, so all of these things could be wrong
> and I can only hope that someone from google will actually chime in.

> HTH

Thanks a lot!

I got rid of blank lines and removed the leading space in UIDs and
still no joy. There is no way I can fold the lines as per RFC through
php, not that I'm aware of at least. But what really bugs me is that
my files *are* read by Google Calendar the first time, so I guess the
issue is somewhere else, not in the way my files are written. If only
someone from Google would notice this thread...

@gfbane and DanGuest, we're on the same boat!


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google