• Heya, I’m tying to get a feed to be shown below each post but i just can’t manage to show it the way i want to.
    I want to show a feed for todays date by using fetch_feed linking to http://www.domain.com/y/m/d/feed/atom where ymd is year, month and day.

    What going wrong? I’ve tryid to echo $url.$date.$atom and it shows the correct link to my feed. But it wont work when i use it in the script..

    $atom = ('/feed/atom');
    $date = date('Y/m/d');
    $url = ('http://domain.com/'); 
    
    $rss = fetch_feed ($url.$date.$atom);
    ......

    http://codex.wordpress.org/Function_Reference/fetch_feed

    Regards
    Tobbe

    [No bumping, thank you.]

  • The topic ‘Fetch_feed with todays date?’ is closed to new replies.