Home › Forums › Calendar Products › Events Calendar PRO › Recurring events rss feed
- This topic has 26 replies, 5 voices, and was last updated 8 years, 10 months ago by Support Droid.
-
AuthorPosts
-
April 27, 2012 at 2:01 pm #18374DavidParticipant
On recurring events, the newsfeed displays the date as the original posted date. Is there any way to display the event date? The newsfeed below is what is in question.
http://stoneharborbarandgrill.com/events/category/happy/feed/
April 30, 2012 at 7:36 am #18411RobMemberThanks for the note here, David. We do have some changes coming on the RSS front during the 2.1 lifecycle…as you’ve mentioned the feed is still a basic RSS feed showing date posted, when I’m pushing for it to be beefed up (to include more content) as well as to show events by date they occur rather than by date posted.
I unfortunately don’t have a timetable for that integration beyond that it should be the 2.1 lifecycle, which we’re shifting our focus to after getting 2.0.6 out this week; but have you checked the forum here to see whether any other users have found third-party RSS plugins that can assist with this? I’ve seen a few related threads that may be of value there…
April 30, 2012 at 8:37 am #18432JeremyParticipantThat’s disappointing. I expected that the dates on events in the RSS feed would be correct, that seems basic. Rob, can you point out (or get a developer to point out) the file that builds the RSS feed for events?
April 30, 2012 at 5:12 pm #18445JonahParticipantHey Jeremy, were not really doing anything with the RSS feed so it’s WordPress itself that’s building the RSS feed so you’ll want to look at conditionally modifying RSS feeds in WordPress. I hope that helps!
May 1, 2012 at 12:42 pm #18503DavidParticipantOK, After some trial and error, the following returns the start date for Calendar events type posts and the published date for all other type posts in the main rss2 feed and various calendar category rss2 feeds.
In wp-includes/feed-rss2.php
replace:with:
The ‘-0004’ is for eastern time(GMT minus four hours), adjust yours as necessary.
Similar changes can be made to other rss feed types if necessary.May 1, 2012 at 12:52 pm #18504DavidParticipantSorry, forgot to use code tag.
replace:with:
May 1, 2012 at 12:55 pm #18505DavidParticipantSorry again. Hope this is proper use of code tag.
OK, After some trial and error, the following returns the start date for Calendar events type posts and the published date for all other type posts in the main rss2 feed and various calendar category rss2 feeds.
In wp-includes/feed-rss2.php
replace:
with:
</code
The ‘-0004′ is for eastern time(GMT minus four hours), adjust yours as necessary.
Similar changes can be made to other rss feed types if necessary.
May 1, 2012 at 1:36 pm #18507DavidParticipantSorry Again. Hope I’ve tagged code right this time.
OK, After some trial and error, the following returns the start date for Calendar events type posts and the published date for all other type posts in the main rss2 feed and various calendar category rss2 feeds.
In wp-includes/feed-rss2.phpreplace:
with:
The ‘-0004′ is for eastern time(GMT minus four hours), adjust yours as necessary.
Similar changes can be made to other rss feed types if necessary.May 1, 2012 at 1:38 pm #18508DavidParticipantPlease let me know how to quote code in the comments and I will repost my solution.
May 1, 2012 at 7:58 pm #18530DavidParticipantPastie of solution:
I case I did this wrong, trying standard html comment tag
OK, After some trial and error, the following returns the start date for Calendar events type posts and the published date for all other type posts in the main rss2 feed and various calendar category rss2 feeds.
In wp-includes/feed-rss2.php
<!–
replace:with:
–!>
The ‘-0004′ is for eastern time(GMT minus four hours), adjust yours as necessary.
Similar changes can be made to other rss feed types if necessary.May 1, 2012 at 8:11 pm #18531DavidParticipantDid it wrong and html comment tag didn’t work either, sorry.
Last try.
Pastie http://pastie.org/3846710.js
OK, After some trial and error, the following returns the start date for Calendar events type posts and the published date for all other type posts in the main rss2 feed and various calendar category rss2 feeds.
In wp-includes/feed-rss2.phpreplace:
with:
The ‘-0004′ is for eastern time(GMT minus four hours), adjust yours as necessary.
Similar changes can be made to other rss feed types if necessary.
May 1, 2012 at 8:18 pm #18532DavidParticipantLink to pastie of code
http://pastie.org/3846710
OK, After some trial and error, the following returns the start date for Calendar events type posts and the published date for all other type posts in the main rss2 feed and various calendar category rss2 feeds.
In wp-includes/feed-rss2.php
replace:
[code][/code]
with:
[code][/code]
[code][/code]
[code][/code]
[code][/code]
[code][/code]The ‘-0004′ is for eastern time(GMT minus four hours), adjust yours as necessary.
Similar changes can be made to other rss feed types if necessary.
May 1, 2012 at 8:21 pm #18533DavidParticipantHalleluiah!
The link works. For future reference, exactly what tag should I use to enclose code to keep it from executing?May 1, 2012 at 8:46 pm #18535JonahParticipantHey David, you should be using Pastie.org or Pastebin.com or GitHub Gists – you can also try using ‘code’ and ‘pre’ tags here but no guarantees its going to work very well until we get code highlighting in the forum sorted out.
By the way, thanks for the solution, however it’s not ideal because it does involve hacking core WordPress files which I would never recommend. There’s got to be a way to filter the RSS feeds instead…
Cheers,
JonahMay 2, 2012 at 11:34 am #18563DavidParticipantUntil we see the changes proposed for 2.1, this fulfilled my need for posting events to Facebook thru RSS Graffiti. I did try the code and pre tags but they didn’t work.
-
AuthorPosts
- The topic ‘Recurring events rss feed’ is closed to new replies.