Bill

Forum Replies Created

Viewing 15 posts - 31 through 45 (of 64 total)
  • Author
    Posts
  • in reply to: Events to RSS feed #939066
    Bill
    Participant

    This reply is private.

    in reply to: Events to RSS feed #937862
    Bill
    Participant

    I have got this to work per the rss-feed post

    //* ADD TRIBE FEATURED EVENTS TO RSS
    function add_events_to_rss_feed( $args ) {
      if ( isset( $args['feed'] ) && !isset( $args['post_type'] ) )
        $args['post_type'] = array('post', 'tribe_events');
      return $args;
    }
     
    add_filter( 'request', 'add_events_to_rss_feed' );

    I know support can’t help anymore, but if anyone can please give me clue about how to add something like

    if ( ! tribe_is_event() && is_tax('featured-events-calendar') ) return;

    So I can have only a certain category of events be added instead of all, then I can have just important events go to feed rather than all and recurring.

    Any help from the TEC community would be greatly appreciated.

    in reply to: lonk to support doc produces not found #936921
    Bill
    Participant

    This reply is private.

    in reply to: lonk to support doc produces not found #936919
    Bill
    Participant

    I don’t know where that came from.

    in reply to: lonk to support doc produces not found #936832
    Bill
    Participant

    This reply is private.

    in reply to: lonk to support doc produces not found #936831
    Bill
    Participant

    OK, I did an experiment. I finally got my rss feed working between feeders and cloudflare which was the first problem.

    Then circling back to the effort to add certain category of events to rss feed I added the snippet below to themes>magainze pro>>functions.php

    So with that snippet feeders now show error

    Our bots didn’t succeed to retrieve your feed for some time. This could prevent your FeedPress feed to be up to date.

    [2015-01-23 19:39:24] xmlns:ev=”http://purl.org/rss/2.0/modules/event/”rn>
    ————^
    Fatal Error 41: Specification mandate value for attribute rn
    Line: 8
    Column: 12

    In particular see

    function events_rss2_namespace() {
        echo 'xmlns:ev="http://purl.org/rss/2.0/modules/event/"'."rn";
    

    So I have deleted that snippet and expect things to work again.

    That said, can you see anything in the code that needs to be adjusted to not produce that error ?

    Also please advise comments on how I set to grab just events of certain category

    function tribe_rss_feed_add_eventdate() {
      if ( ! tribe_is_event() && is_tax('featured-events-calendar') ) return;
      ?>
      <ev:tribe_event_meta xmlns:ev="Event">
      <?php if (tribe_get_start_date() !== tribe_get_end_date() ) { ?>

    FULL SNIPPET

    /*-----------------------------------------------------------------------------------*/
    /* Add Events to RSS Feed
    /*-----------------------------------------------------------------------------------*/
    function add_events_to_rss_feed( $args ) {
      if ( isset( $args['feed'] ) && !isset( $args['post_type'] ) )
        $args['post_type'] = array('post', 'tribe_events');
      return $args;
    }
     
    add_filter( 'request', 'add_events_to_rss_feed' );
    
    // Add Tribe Event Namespace
    add_filter( 'rss2_ns', 'events_rss2_namespace' );
     
    function events_rss2_namespace() {
        echo 'xmlns:ev="http://purl.org/rss/2.0/modules/event/"'."rn";
    }
     
    // Add Event Date to RSS Feeds
    add_action('rss_item','tribe_rss_feed_add_eventdate');
    add_action('rss2_item','tribe_rss_feed_add_eventdate');
    add_action('commentsrss2_item','tribe_rss_feed_add_eventdate');
     
    function tribe_rss_feed_add_eventdate() {
      if ( ! tribe_is_event() && is_tax('featured-events-calendar') ) return;
      ?>
      <ev:tribe_event_meta xmlns:ev="Event">
      <?php if (tribe_get_start_date() !== tribe_get_end_date() ) { ?>
     
        <ev:startdate><?php echo tribe_get_start_date(); ?></ev:startdate>
        <ev:enddate><?php echo tribe_get_end_date(); ?></ev:enddate>
     
      <?php } else { ?>
     
        <ev:startdate><?php echo tribe_get_start_date(); ?></ev:startdate>
     
      <?php } ?>
      </ev:tribe_event_meta>
     
    <?php }
    in reply to: Posting events in loop on Genesis #936421
    Bill
    Participant

    The part of main snip is causing problems for feedpress

    function events_rss2_namespace() {
    echo ‘xmlns:ev=”http://purl.org/rss/2.0/modules/event/”&#8216;.”rn”;

    ========

    >>>>
    Our bots didn’t succeed to retrieve your feed for some time. This could prevent your FeedPress feed to be up to date.

    [2015-01-23 00:09:41] xmlns:ev=”http://purl.org/rss/2.0/modules/event/”rn&gt;
    ————^
    Fatal Error 41: Specification mandate value for attribute rn
    Line: 8
    Column: 12
    <<<<<

    in reply to: excerpt bar? #935773
    Bill
    Participant

    Ahhhh…scales have fallen from my eyes.

    in reply to: excerpt bar? #935506
    Bill
    Participant

    I’ve checked screen options and there are none available. All that shows is option for how many events per page.

    in reply to: lonk to support doc produces not found #934802
    Bill
    Participant

    This reply is private.

    in reply to: lonk to support doc produces not found #934776
    Bill
    Participant

    Yeah, i found that like right after I posted (LOL), thanks.

    Another question is what can I put in one of those snips, like the middle one(?) to select only a specific event category be sent to feed? I only want o send along “featured events” not every single one.

    in reply to: Posting events in loop on Genesis #930002
    Bill
    Participant

    got it

    [event_embed event=”slug”

    works

    in reply to: Posting events in loop on Genesis #929991
    Bill
    Participant

    Trying to get in touch with Barry on how to embed single event. Tried messaging at Stack as worldviewpr.

    in reply to: Posting events in loop on Genesis #929980
    Bill
    Participant

    Thank you George for your reply. My goal is to not have to make two duplicating posts one as event and one as post. As

    1. I don’t use normal loop, but the Featured Posts widget in Genesis, I have been scrounging for a way to achieve this goal with same look and feel as normal post.

    2. I will look into the theme guide soon.

    3. I have tried checking the box, but then I am not using the loop on front page as blog, but as a news page by category. As well there are some events that are worthy of front page and repeating networking events e.g. that do not, so I need to be able to select by some category.

    EVENTS ROCKET sounds like just what I need, and I will check it out. Thanks for the clue.

    4. I’d be happy to set up an admin account for you so you can to create the issue I have when trying to apply filters to event list widget. Send me an email address I can assign for user Tribe-Support, and I will set that up, thank you.

    in reply to: license key out of installs #913404
    Bill
    Participant

    This reply is private.

Viewing 15 posts - 31 through 45 (of 64 total)