thinib
Forum Replies Created
-
Hi again,
I think I’m on the wrong track with the pubdate. What I need to do is change the scope, as Angelo first suggested, but to a custom scope, that relates to the event_creation_date.
So I’d like to include events that were created up to 3 days prior to today’s date. I have created the following snippet, and added it to my functions.php file, but it’s not working. Any suggestions?
Thanks Caiman,
But that is just giving me a pub date of Thu, 01 Jan 1970 00:00:00 UTC for every item.
I’ve tried all sorts of variations, and can’t seem to get it to work.
Is there a reason why the pubdate is the Event start date? Will the RSS feed not order chronologically if I change it?
Thanks Angelo,
I really appreciate your help.
I think you’re right, the problem is that the pubdate in the RSS field is the Event start date. Can you tell me how to change this line:
<pubDate><?php echo date(‘D, d M Y H:i:s T’, $EM_Event->start); ?></pubDate>
so that the $EM_Event->start is not the start time but the Post time?
Thanks Caimin,
But this seems to give me the same feed as http://www.gleanreport.com/events/feed or even http://www.gleanreport.com/events/categories/wellington/feed/ which I can already use.
What I really want to do is only have newly posted events coming up in the RSS feed, not all future ones.
Thanks angelo,
But I don’t want to change the scope. I still want all future events.
However, I just want to list events in the RSS that have been recently added. A bit like the RSS feed for a blog?
I’m not sure if this is possible if the pubdate is the same as the event date?
Forum: Themes and Templates
In reply to: [Omega] jQuery conflictAnd as an example, the calendar works fine in Twenty Fourteen and Expound.
Forum: Themes and Templates
In reply to: [Omega] jQuery conflictI should say – I’d like to keep Omega on the site if someone can explain how to fix this issue?
Forum: Themes and Templates
In reply to: [Omega] jQuery conflictYes, seems to be. I changed themes and the problem was gone.
Forum: Themes and Templates
In reply to: [Omega] jQuery conflictThe url is http://www.gleanreport.com/wellington-calendar/
Note that it is fine in Explorer, and Firefox – but not Chrome!