Try replacing your line 103 with this:
var link = document.createElement('a');
link.setAttribute('href', entry.link);
link.setAttribute('title', entry.title);
link.appendChild(document.createTextElement(entry.title));
div.appendChild(link);
I haven't tested this, but it should be pretty close.
Jeremy R. Geerdes
Generally Cool Guy
Des Moines, IA
For more information or a project quote:
[email protected]
If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church!
On Mar 3, 2011, at 10:54 AM, Carl-Gerhard Lindesvärd wrote:
> Hello again.
>
> You can check out my page at http://sluta.eu
>
> On the left side you see a Rss Feed box. In that box I got Google Feeds API.
>
> I use this script
> http://paste2.org/p/1279736
>
> And it only generate the headline, not any links :(
>
>
>
> 2011/3/3 Jeremy Geerdes <[email protected]>
> It's tough to tell you what to do without knowing exactly what you're doing.
> Using the Dynamic Feed Control or the API's built-in FeedControl, the titles
> are turned into links. However, if you're utilizing the RAW and/or JSON
> approaches to the API, you will be responsible for generating the links
> yourself. If you could provide a link to what you're doing, we may be able to
> assist you further.
>
> Jeremy R. Geerdes
> Generally Cool Guy
> Des Moines, IA
>
> For more information or a project quote:
> [email protected]
>
> If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan
> Church!
>
> On Mar 3, 2011, at 10:30 AM, Carl-G wrote:
>
> > I use the Google Feeds API and I think it's great, but I'm a little
> > troubled that I can not get the link. The only thing that google shows
> > are the headlines.
> >
> > Is there some way to do the title becomes a link to the article
> > itself?
> >
> > Best Regards
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google AJAX APIs" 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.
> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google AJAX APIs" 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.
>
>
>
>
> --
> Med Vänliga Hälsningar
> Carl-Gerhard Lindesvärd
> www.LDesign.nu
> 0735 - 411 789
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google AJAX APIs" 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.
--
You received this message because you are subscribed to the Google Groups
"Google AJAX APIs" 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.