Sorry I wasn't sure if this went through, here it is again:
Ok I finally figured it out with the direction you gave me. But now the
problem is that its not working across all browsers. In firefox it works
great but in IE the links dont work at all it seems and in safari it is off
by 1 character. Is there a better way than the way I am doing it. I
understand some code but by no means an expert. Thanks.
Here is the part I modified in the gsdynamiccontrolfeed:
GFdynamicFeedControl.prototype.feedLoaded_ = function(index, result) {
if (this.options.feedLoadCallback) {
this.options.feedLoadCallback(result);
}
if (result.error) {
// Ignore failed feeds for the most part.
// The user has control through the feedLoadCallback above
// if they choose to do something more createive.
// Only complain if we can't load anything.
if (++this.errors >= this.expected) {
this.nodes.container.innerHTML = 'Feed' + ((this.expected > 1)?'s ':'
') +
'could not be loaded.';
}
return;
}
// Override of title option.
if (this.feeds[index].title) {
result.feed.title = this.feeds[index].title;
}
result.feed.link = result.feed.link;
for (var i=0; i < result.feed.entries.length; i++) {
result.feed.entries[i].link = 'https://www.globalhuehub.com:8443' +
result.feed.entries[i].link.substr(27);
}
this.results.push(result);
if (!this.started) {
this.createSubContainers_();
this.displayResult_(0);
} else if (!this.options.horizontal && this.options.stacked) {
this.addResult_(this.results.length-1);
}
};
- Show quoted text -
On Wed, Aug 27, 2008 at 2:28 PM, Ben Lisbakken <[EMAIL PROTECTED]> wrote:
Yep, it does exactly that.
-Ben
On Wed, Aug 27, 2008 at 6:32 AM, Jason Do <[EMAIL PROTECTED]> wrote:
I kind of understand it but would this process be able to insert the port
numbers into the middle of the url?
On Tue, Aug 26, 2008 at 2:11 PM, Ben Lisbakken <[EMAIL PROTECTED]> wrote:
Read this thread, it should have everything you need:
http://groups.google.com/group/Google-AJAX-Search-API/browse_thread/thread/b152bc043f8f13e/
-Ben
On Tue, Aug 26, 2008 at 8:06 AM, j.do <[EMAIL PROTECTED]> wrote:
I was looking at another post recently and was wondering if the
problem be becasue it is an https site vs. a regular http site?
On Aug 15, 3:25 pm, "Ben Lisbakken" <[EMAIL PROTECTED]> wrote:
> Hey J --
>
> What's the user/pass for guest? I am stuck at the login screen. You can
> e-mail directly if you would like.
>
> -Ben
>
>
>
> On Fri, Aug 15, 2008 at 8:55 AM, j.do <[EMAIL PROTECTED]> wrote:
>
> > I thought it might help to post the link to the site:
> >https://www.globalhuehub.com:8443/web/guest/home
>
> > So the problem is that when a link is clicked within the reader,
> > "8443" doesnt show up. Thanks again.
>
> > On Aug 14, 4:58 pm, "j.do" <[EMAIL PROTECTED]> wrote:
> > > I am using Google Ajax Feed API as an RSS feed. The feed is from a
> > > secure (https) site. Everything works fine except for the links inside
> > > of it.
>
> > > For example the true url to one of my links should be:
>
> > >http://www.globalhuehub.com:1234/ssf.....
>
> > > However the url it tries to link to is:
>
> > >http://www.globalhuehub/ssf....
>
> > > The socket/port or whatever is missing in the linked url. Is there a
> > > way to fix this problem? Thank you for any help.- Hide quoted text -
>
> - Show quoted text -
On Thu, Aug 28, 2008 at 12:06 PM, Jason Do <[EMAIL PROTECTED]> wrote:
> Ok I finally figured it out with the direction you gave me. But now the
> problem is that its not working across all browsers. In firefox it works
> great but in IE the links dont work at all it seems and in safari it is off
> by 1 character. Is there a better way than the way I am doing it. I
> understand some code but by no means an expert. Thanks.
>
> Here is the part I modified in the gsdynamiccontrolfeed:
>
> GFdynamicFeedControl.prototype.feedLoaded_ = function(index, result) {
> if (this.options.feedLoadCallback) {
> this.options.feedLoadCallback(result);
> }
> if (result.error) {
> // Ignore failed feeds for the most part.
> // The user has control through the feedLoadCallback above
> // if they choose to do something more createive.
> // Only complain if we can't load anything.
> if (++this.errors >= this.expected) {
> this.nodes.container.innerHTML = 'Feed' + ((this.expected > 1)?'s
> ':' ') +
> 'could not be loaded.';
> }
> return;
> }
> // Override of title option.
> if (this.feeds[index].title) {
> result.feed.title = this.feeds[index].title;
> }
> result.feed.link = result.feed.link;
> for (var i=0; i < result.feed.entries.length; i++) {
> result.feed.entries[i].link = 'https://www.globalhuehub.com:8443' +
> result.feed.entries[i].link.substr(27);
> }
> this.results.push(result);
> if (!this.started) {
> this.createSubContainers_();
> this.displayResult_(0);
> } else if (!this.options.horizontal && this.options.stacked) {
> this.addResult_(this.results.length-1);
> }
> };
>
> On Wed, Aug 27, 2008 at 2:28 PM, Ben Lisbakken <[EMAIL PROTECTED]>wrote:
>
>> Yep, it does exactly that.
>>
>> -Ben
>>
>>
>> On Wed, Aug 27, 2008 at 6:32 AM, Jason Do <[EMAIL PROTECTED]> wrote:
>>
>>> I kind of understand it but would this process be able to insert the port
>>> numbers into the middle of the url?
>>>
>>>
>>> On Tue, Aug 26, 2008 at 2:11 PM, Ben Lisbakken <[EMAIL PROTECTED]>wrote:
>>>
>>>> Read this thread, it should have everything you need:
>>>>
>>>> http://groups.google.com/group/Google-AJAX-Search-API/browse_thread/thread/b152bc043f8f13e/
>>>>
>>>> -Ben
>>>>
>>>>
>>>> On Tue, Aug 26, 2008 at 8:06 AM, j.do <[EMAIL PROTECTED]> wrote:
>>>>
>>>>>
>>>>> I was looking at another post recently and was wondering if the
>>>>> problem be becasue it is an https site vs. a regular http site?
>>>>>
>>>>> On Aug 15, 3:25 pm, "Ben Lisbakken" <[EMAIL PROTECTED]> wrote:
>>>>> > Hey J --
>>>>> >
>>>>> > What's the user/pass for guest? I am stuck at the login screen. You
>>>>> can
>>>>> > e-mail directly if you would like.
>>>>> >
>>>>> > -Ben
>>>>> >
>>>>> >
>>>>> >
>>>>> > On Fri, Aug 15, 2008 at 8:55 AM, j.do <[EMAIL PROTECTED]> wrote:
>>>>> >
>>>>> > > I thought it might help to post the link to the site:
>>>>> > >https://www.globalhuehub.com:8443/web/guest/home
>>>>> >
>>>>> > > So the problem is that when a link is clicked within the reader,
>>>>> > > "8443" doesnt show up. Thanks again.
>>>>> >
>>>>> > > On Aug 14, 4:58 pm, "j.do" <[EMAIL PROTECTED]> wrote:
>>>>> > > > I am using Google Ajax Feed API as an RSS feed. The feed is from
>>>>> a
>>>>> > > > secure (https) site. Everything works fine except for the links
>>>>> inside
>>>>> > > > of it.
>>>>> >
>>>>> > > > For example the true url to one of my links should be:
>>>>> >
>>>>> > > >http://www.globalhuehub.com:1234/ssf.....
>>>>> >
>>>>> > > > However the url it tries to link to is:
>>>>> >
>>>>> > > >http://www.globalhuehub/ssf....
>>>>> >
>>>>> > > > The socket/port or whatever is missing in the linked url. Is
>>>>> there a
>>>>> > > > way to fix this problem? Thank you for any help.- Hide quoted
>>>>> text -
>>>>> >
>>>>> > - Show quoted text -
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>> --~--~---------~--~----~------------~-------~--~----~
>> You received this message because you are subscribed to the Google Groups
>> "Google AJAX API" group.
>> To post to this group, send email to
>> [email protected]
>> To unsubscribe from this group, send email to
>> [EMAIL PROTECTED]<[EMAIL PROTECTED]>
>> For more options, visit this group at
>> http://groups.google.com/group/Google-AJAX-Search-API?hl=en
>> -~----------~----~----~----~------~----~------~--~---
>>
>>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google AJAX API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-AJAX-Search-API?hl=en
-~----------~----~----~----~------~----~------~--~---