Closed Thread
Results 1 to 4 of 4




  

Thread: Trying to hard code an rss feed???

      
  1. #1
    Favors Da Nooners! Kaos has a reputation beyond reputeKaos has a reputation beyond reputeKaos has a reputation beyond reputeKaos has a reputation beyond reputeKaos has a reputation beyond reputeKaos has a reputation beyond reputeKaos has a reputation beyond reputeKaos has a reputation beyond reputeKaos has a reputation beyond reputeKaos has a reputation beyond reputeKaos has a reputation beyond repute Kaos's Avatar
    Join Date
    October 28, 2006
    Location
    upstate NY
    Posts
    2,906
    Rep Power
    7
    Feedback Score
    0

    Default Trying to hard code an rss feed???

    I'm trying to pull an rss feed from an event calendar in my site, onto the home page to show some of the upcoming events. I know I can use a file upcoming.php for it, went digging through my event calendar forum to find out how exactly to do this and they only gave me how to do it for joomla... mine and html site. They gave the code as follows:

    PHP Code:
    <?php if ( mosCountModules'CalTrigger' )) { 
    echo 
    '<div class="moduletable"><h3>Upcoming events:</h3>'
    include 
    'calendar/upcoming.php'//The path to where upcoming.php resides 
    echo '</div>';  
    ?>
    I'm assuming the mosCountModules is joomla mod term, anyone have any idea how I can get this accomplish through straight php coding? I have tried installing carp and using that to pull the feed, but I just get nothing but "event calendar created by blah,blah" no events. Now knowing I can pull the feed off a file though, I don't think I can use carp to accomplish this. Anyone have any ideas????

  2. #2
    Jedi Master cwboaze will become famous soon enoughcwboaze will become famous soon enough cwboaze's Avatar
    Join Date
    April 15, 2008
    Location
    Danville, Virginia. USA
    Posts
    90
    Rep Power
    5
    Feedback Score
    0

    Default Re: Trying to hard code an rss feed???

    check this out and see if this will work for you!, So What is "Feed to JavaScript"?

    download it, and see the technology used in the php file.

    I had to re-write this script for a client!, it's killer. But you need to
    break it apart if you just want to use it in a php include instead of
    js include.
    ----------------------------
    :neutral: - Chris Boaze - :neutral:
    Webmaster/Programmer
    http://www.webdevelopmenttechnology.com

  3. #3
    Favors Da Nooners! Kaos has a reputation beyond reputeKaos has a reputation beyond reputeKaos has a reputation beyond reputeKaos has a reputation beyond reputeKaos has a reputation beyond reputeKaos has a reputation beyond reputeKaos has a reputation beyond reputeKaos has a reputation beyond reputeKaos has a reputation beyond reputeKaos has a reputation beyond reputeKaos has a reputation beyond repute Kaos's Avatar
    Join Date
    October 28, 2006
    Location
    upstate NY
    Posts
    2,906
    Rep Power
    7
    Feedback Score
    0

    Default Re: Trying to hard code an rss feed???

    Finally got this working, I pulled the wrong file name like an idiot! But I love the tool you recommended, will definitely use that in future projects!!

  4. #4
    Jedi Master cwboaze will become famous soon enoughcwboaze will become famous soon enough cwboaze's Avatar
    Join Date
    April 15, 2008
    Location
    Danville, Virginia. USA
    Posts
    90
    Rep Power
    5
    Feedback Score
    0

    Default Re: Trying to hard code an rss feed???

    np glad to provide a resource, glad you got it fixed.
    ----------------------------
    :neutral: - Chris Boaze - :neutral:
    Webmaster/Programmer
    http://www.webdevelopmenttechnology.com

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Having a hard time with Wordpress
    By Big Dan in forum Blogging
    Replies: 7
    Last Post: Mar 27th, 2008, 7:21 pm
  2. 20 Hard Core SEO Tips
    By Amit in forum SEO Forum
    Replies: 13
    Last Post: Dec 6th, 2007, 9:07 am
  3. Adsense Giving it to me hard?
    By xsnoboard in forum Adsense
    Replies: 3
    Last Post: Nov 30th, 2007, 6:09 pm
  4. Hard Drive Hell!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! FMR
    By timsdd in forum Computers and Electronics
    Replies: 85
    Last Post: Aug 2nd, 2007, 11:20 am

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
WebTalkForums
WebTalkForums
Recent Forum Threads