{"id":50675,"date":"2013-06-06T05:43:08","date_gmt":"2013-06-06T12:43:08","guid":{"rendered":"http:\/\/tri.be\/support\/forums\/topic\/rss-feed-no-start-or-end-dates\/"},"modified":"2015-07-07T06:26:50","modified_gmt":"2015-07-07T13:26:50","slug":"rss-feed-no-start-or-end-dates","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/rss-feed-no-start-or-end-dates\/","title":{"rendered":"RSS Feed No Start or End Dates"},"content":{"rendered":"<p>I visited your forum and found this page about adding the start and end event dates in a feed: https:\/\/theeventscalendar.com\/how-to-add-events-to-your-rss-feed\/. I tried adding the following code that you provided for the functions.php, at the bottom of the page:<\/p>\n<p>\/\/ Add Tribe Event Namespace<br \/>\nadd_filter( &#8216;rss2_ns&#8217;, &#8216;events_rss2_namespace&#8217; );<br \/>\nfunction events_rss2_namespace() {<br \/>\necho &#8216;xmlns:ev=&#8221;http:\/\/purl.org\/rss\/2.0\/modules\/event\/&#8221;&#8216;;<br \/>\n}<\/p>\n<p>\/\/ Add Event Date to RSS Feeds<br \/>\nadd_action(&#8216;rss_item&#8217;,&#8217;tribe_rss_feed_add_eventdate&#8217;);<br \/>\nadd_action(&#8216;rss2_item&#8217;,&#8217;tribe_rss_feed_add_eventdate&#8217;);<br \/>\nadd_action(&#8216;commentsrss2_item&#8217;,&#8217;tribe_rss_feed_add_eventdate&#8217;);<br \/>\nfunction tribe_rss_feed_add_eventdate() { ?&gt;<\/p>\n<p>&lt;?php }<\/p>\n<p>However, I get a parse error on the last line of functions.php. I had to pull this code out immediately via FTP because the whole site was gone. However, here is a link to my feed: http:\/\/kellysrestaurant.com\/outer-banks-events-entertainment\/feed\/.<br \/>\nAny help is appreciated. Thank you.<br \/>\nhttp:\/\/wordpress.org\/extend\/plugins\/the-events-calendar\/<\/p>\n<p>Will the Pro version automatically pull event start and end dates into the feed?<\/p>\n","protected":false},"template":"","class_list":["post-50675","topic","type-topic","status-closed","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>RSS Feed No Start or End Dates -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/rss-feed-no-start-or-end-dates\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"RSS Feed No Start or End Dates -\" \/>\n<meta property=\"og:description\" content=\"I visited your forum and found this page about adding the start and end event dates in a feed: https:\/\/theeventscalendar.com\/how-to-add-events-to-your-rss-feed\/. I tried adding the following code that you provided for the functions.php, at the bottom of the page: \/\/ Add Tribe Event Namespace add_filter( &#8216;rss2_ns&#8217;, &#8216;events_rss2_namespace&#8217; ); function events_rss2_namespace() { echo &#8216;xmlns:ev=&#8221;http:\/\/purl.org\/rss\/2.0\/modules\/event\/&#8221;&#8216;; } \/\/ Add [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/rss-feed-no-start-or-end-dates\/\" \/>\n<meta property=\"article:modified_time\" content=\"2015-07-07T13:26:50+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/rss-feed-no-start-or-end-dates\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/rss-feed-no-start-or-end-dates\/\",\"name\":\"RSS Feed No Start or End Dates -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2013-06-06T12:43:08+00:00\",\"dateModified\":\"2015-07-07T13:26:50+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/rss-feed-no-start-or-end-dates\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/rss-feed-no-start-or-end-dates\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/rss-feed-no-start-or-end-dates\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/theeventscalendar.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\/\/theeventscalendar.com\/support\/topics\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Welcome!\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/_welcome\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Pre-Sales Questions\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/_welcome\/pre-sales-questions\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"RSS Feed No Start or End Dates\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\",\"url\":\"https:\/\/theeventscalendar.com\/support\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"RSS Feed No Start or End Dates -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/rss-feed-no-start-or-end-dates\/","og_locale":"en_US","og_type":"article","og_title":"RSS Feed No Start or End Dates -","og_description":"I visited your forum and found this page about adding the start and end event dates in a feed: https:\/\/theeventscalendar.com\/how-to-add-events-to-your-rss-feed\/. I tried adding the following code that you provided for the functions.php, at the bottom of the page: \/\/ Add Tribe Event Namespace add_filter( &#8216;rss2_ns&#8217;, &#8216;events_rss2_namespace&#8217; ); function events_rss2_namespace() { echo &#8216;xmlns:ev=&#8221;http:\/\/purl.org\/rss\/2.0\/modules\/event\/&#8221;&#8216;; } \/\/ Add [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/rss-feed-no-start-or-end-dates\/","article_modified_time":"2015-07-07T13:26:50+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/rss-feed-no-start-or-end-dates\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/rss-feed-no-start-or-end-dates\/","name":"RSS Feed No Start or End Dates -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2013-06-06T12:43:08+00:00","dateModified":"2015-07-07T13:26:50+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/rss-feed-no-start-or-end-dates\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/rss-feed-no-start-or-end-dates\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/rss-feed-no-start-or-end-dates\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/theeventscalendar.com\/support\/"},{"@type":"ListItem","position":2,"name":"Topics","item":"https:\/\/theeventscalendar.com\/support\/topics\/"},{"@type":"ListItem","position":3,"name":"Welcome!","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/_welcome\/"},{"@type":"ListItem","position":4,"name":"Pre-Sales Questions","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/_welcome\/pre-sales-questions\/"},{"@type":"ListItem","position":5,"name":"RSS Feed No Start or End Dates"}]},{"@type":"WebSite","@id":"https:\/\/theeventscalendar.com\/support\/#website","url":"https:\/\/theeventscalendar.com\/support\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/50675","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/50675\/revisions"}],"predecessor-version":[{"id":925637,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/50675\/revisions\/925637"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=50675"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}