Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Recent problem or enhancement
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
  3 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
 
Toby  
View profile  
 More options Jan 4 2008, 11:58 am
From: Toby <t...@cullen.org>
Date: Fri, 4 Jan 2008 08:58:06 -0800 (PST)
Local: Fri, Jan 4 2008 11:58 am
Subject: Recent problem or enhancement
Some time ago I incorporated a script that Barry kindly provided on to
my own website at:  http://www.cullen.org/family/tzc_index.php5.  It
has recently stopped working and returns empty values.  Today I went
back to Barry's original example at: http://www.nearby.org.uk/geograph/latest.php
and I notice it shows the same symptoms.

Has something changed in the API?  Or is this no longer supported?

Any suggestion gratefully accepted.

Toby


    Reply to author    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.
Toby  
View profile  
 More options Jan 4 2008, 12:15 pm
From: Toby <t...@cullen.org>
Date: Fri, 4 Jan 2008 09:15:00 -0800 (PST)
Subject: Re: Recent problem or enhancement
THINK I may have spotted the problem.

The suggested code:
nimage[$i]='http://$domain{$feedItem[$i]->thumbURL}';\n";
has a hardcoded embed of http://www.geograph.org.uk but thumbURL is
now returning a full URL including the (eg) http://s3.www.geograph.org.uk.

So the result is a corrupted URL such as:
http://www.geograph.org.ukhttp://s3.www.geograph.org.uk/photos/64/84/...

Solution appears to be to amend the code to read:
nimage[$i]='{$feedItem[$i]->thumbURL}';\n";

As soon as I get home I will try and fix my site and confirm.

On Jan 4, 4:58 pm, Toby <t...@cullen.org> wrote:


    Reply to author    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.
Barry Hunter  
View profile  
 More options Jan 4 2008, 12:27 pm
From: "Barry Hunter" <barrybhun...@googlemail.com>
Date: Fri, 4 Jan 2008 17:27:02 +0000
Local: Fri, Jan 4 2008 12:27 pm
Subject: Re: [Geograph-API-Users] Re: Recent problem or enhancement
Hi Toby (and all)

Ah yes, yesterday put out an update, that made the urls consistant
across the site. Hadnt noticed that it affected the PHP output from
the feed syndicator, tho

The solution as you noted is to simply use the full url rather than
add the domain at the start. This is preferable anyway as it would be
best to deal thumbnails from the static servers rather than the main
domain.

Sorry for the inconvienience (and lack of notification), if updating
scripts is a problem then let me know and we can see about rolling
back...

(I'll also check for anyone else using the PHP output)

Barry

On Jan 4, 2008 5:15 PM, Toby <t...@cullen.org> wrote:

--
Barry

- www.nearby.org.uk - www.geograph.org.uk -


    Reply to author    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