1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

I need a quick code change...

Discussion in 'Hire a Freelancer' started by tarrx3, May 2, 2009.

  1. tarrx3

    tarrx3 Newbie

    Joined:
    Nov 6, 2008
    Messages:
    25
    Likes Received:
    1
    Well this is my first post. Love the site tons of great info here, happy to be here.

    Anyway I have Feed2Post 2.7 for joomla which I got here:D

    The code currently goes to every feed and pulls all the items from the feed with no option to change the number of items you want retrieved.

    I am using this for an automated joomla site and I would like to change the code so that it only pulls the first item in the feed. I have narrowed down the 2 files that need changed. One file is for manually pulling feeds and the other is used by cron as I understand it. With my limited coding knowledge I can't seem to pinpoint the loop that I need the count in. I don't need any implementation in the backend of joomla I just want the the code that processes the feeds changed.

    I am guessing that for a proper coder this would take the about 5 mins to get done. Then at least I would know where it's at and how it's done in case I ever need to increase the number of articles I want from the feed.

    If anyone can help me out please PM and let me know.
     
  2. tarrx3

    tarrx3 Newbie

    Joined:
    Nov 6, 2008
    Messages:
    25
    Likes Received:
    1
    The code is PHP and I think I may have figured it out will have to do some more testing as I have to learn as I go here. Will PM if I can't get this ironed out. Plus I may need some other PHP work done.