• I activated the RSS feed and it works great for what I need, but is it possible to add the start and end date and times to the RSS feed?

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Guido

    (@guido07111975)

    Hi,

    I don’t have much knowledge about RSS feeds, but as far as I know a feed item has 1 date. That’s why I decided to list the start date only. No end date (if present) and no time. Do you have an example of another feed that includes all time variables of an event?

    Guido

    Thread Starter bbatie

    (@bbatie)

    I think the events calendar one had it where you had to edit the functions.php file, I was hoping got find one that already had it in there. this is their support page for it: https://theeventscalendar.com/knowledgebase/customizing-the-rss-feed/

    Thread Starter bbatie

    (@bbatie)

    Side questions, do you do much php coding on the side? I have a new project I have been working on and I don’t know much php so I might be looking for some help with it.

    Plugin Author Guido

    (@guido07111975)

    Hi,

    What I can do is add an extra setting to include date and time variables in the feed. Will look into this next week.

    About your question regarding PHP coding, it’s against forum guidelines to ask and offer (paid) support outside this forum. Besides that, I only have basic PHP knowledge, just enough to build and maintain several themes and plugins ??

    Guido

    Thread Starter bbatie

    (@bbatie)

    That would be great if you could add that. no problem.

    Plugin Author Guido

    (@guido07111975)

    Because the RSS-feed is using a single date and is listing events by start date, I must look into how to handle multiday events. This part is difficult.

    Guido

    Thread Starter bbatie

    (@bbatie)

    Cool ill have to look at it as well, im not real big on PHP myself but do some stuff for my digital signage business.

    Plugin Author Guido

    (@guido07111975)

    Hi,

    I want to avoid HTML markup being displayed in the feed itself, so hopefully there’s a default RSS-tag I can use for the time value. This way time is being recognised by the reader and the reader takes care of styling. If there’s no such tag, it’s best to add time value to the feed text without any HTML markup (maybe a linebreak is possible).

    Guido

    Thread Starter bbatie

    (@bbatie)

    Yeah, I tried just doing a return on the line but it doesnt show in the feed.

    Thread Starter bbatie

    (@bbatie)

    I was using a couple different RSS feed widget, but I decided to make my own so I don’t have to depend on a third party service so if you get the date added I’ll have to add that to my custom code.

    Plugin Author Guido

    (@guido07111975)

    Do you mean you’ve build your own feed code? If you do, I can also help you to include the event time in your code, instead of adding it to my plugin.

    Guido

    Thread Starter bbatie

    (@bbatie)

    Yes, I just used a little php and javascript to read it. In the WP feed it shows the date and time in the description using CDATA but doesnt format was well as I like. It has a content:encoded section that looks like it might be better if I can find a good way to read and parse that. That would be great if you could help get that reading better.

    Plugin Author Guido

    (@guido07111975)

    Hi,

    Did some testing with CDATA but although feed is valid (checked in the feed validator), the linebreaks <br> are being ignored (stripped) in the default RSS widget from WP.

    Guido

    Thread Starter bbatie

    (@bbatie)

    Yeah im getting the same thing.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘RSS feed event times’ is closed to new replies.