Doh. Missed a closing paren (i.e., ) ) just before the semicolon (i.e., ; )
on that second option.


On Fri, Oct 4, 2013 at 7:23 AM, Jeremy Geerdes <[email protected]> wrote:

> Well, here's a start: change line 35 in your js file to the following:
>
> date.innerHTML =
> entry.xmlNode.getElementsByTagName('date')[0].firstChild.nodeValue;
>
> (That should all be on one line).
>
> You could also go with something like this:
>
> date.appendChild(document.createTextNode(
>     formatDate(
>         new Date(
>
> entry.xmlNode.getElementsByTagName('date')[0].firstChild.nodeValue
>         )
>     )
> );
>
> That will use your formatDate function to make the date a little more
> human friendly.
>
>
> jg
>
>
>
>
>
> On Fri, Oct 4, 2013 at 2:41 AM, Corinne <[email protected]> wrote:
>
>> Hi Jeremy,
>>
>> Thanks for the reply. I did try changing the line you suggested but then
>> completely lost all the output for that particular feed. I'm working
>> locally at the moment so have attached my dev files here. The feed url is
>> referenced in the load script in the head.
>>
>> There are some other js elements on the page, including another separate
>> feed using Yahoo pipes, but removing them doesn't seem to have any effect
>> so I assume there aren't any conflicts.
>>
>> At the moment I'm just trying to get the event date working on the first
>> (featured) item which is why the part that outputs the other four items is
>> still using the stop gap Published on date. As you can see we're having to
>> also add the event dates to the title as another stop gap, just so people
>> can see when they are without having to keep clicking through to the
>> individual event pages.
>>
>> Any help would be very much appreciated, this has had me stumped for
>> weeks now.
>>
>> --
>> --
>> 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]
>> To view this message on the web, visit
>>
>> https://groups.google.com/d/msgid/google-ajax-search-api/15e2be18-6abf-49a9-8892-9baada741720%40googlegroups.com
>>
>> For more options, visit this group at
>> http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Google AJAX APIs" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> --
> Jeremy R. Geerdes
> Generally Cool Guy
> Des Moines, IA
>
> If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan
> Church!
> http://www.debraheightswesleyan.org
>



-- 
Jeremy R. Geerdes
Generally Cool Guy
Des Moines, IA

If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan
Church!
http://www.debraheightswesleyan.org

-- 
-- 
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]
To view this message on the web, visit
https://groups.google.com/d/msgid/google-ajax-search-api/CAF4cwg8-K10z4hiFy-mO2rGMGdqZsFA%2BkzXvqNioPRJ-CPzVkQ%40mail.gmail.com
For more options, visit this group at
http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to