+ Reply to Thread
Page 1 of 3
1 2 3 LastLast
Results 1 to 10 of 27

Thread: Script Settings for Rss Feed?

  1. Script Settings for Rss Feed?

    I want to use an rss feed from a site and I just wanted to know if you can use the script settings on an rss feed, like setting the char limit and the number of items to display, the same as forum posts basically or does this script* just pull the rss feed as is??

    Thanks.

  2. Join Date
    Aug 2004
    Posts
    781

    Re: Script Settings for Rss Feed?

    The script settings should work on RSS feeds just fine when they can. For example, smilies won't be formatted because the RSS feed doesn't have a smilie database . However, stuff like char limit, etc, should work fine as they are global features that apply to all news sources.

    Just a little note, I have a newer version of EP-Dev Forum News that has been modified and ready to go for months now (with the exception of a little updater editing). I will release that in a few weeks. The reason I mention it is that it contains an updated XML/RSS class that is compatible with PHP 4. The current version of the script only works with PHP 5. This was a bug that I didn't notice before the last release but I fixed later. If you are using PHP 4 then feel free to reply here and I will provide you the updated class file (that replaces the old, broken one under PHP 4). If your system is using PHP 5 then you do not need the updated file.

  3. Re: Script Settings for Rss Feed?

    Thanks Patiek. My system is running PHP version 4.4.2 . So I guewss I'll need the new core file for the rss feed to work correctly.

    I have another site I'm building now that I want to pull an RSS feed so I'll have to upload your script again to the new site. The rss feed has about 30 news items and I really wanted to chop that down to 5.

    I'm running your news script on my sports site to fetch forum posts and it works great, Thanks.

  4. Join Date
    Aug 2004
    Posts
    781

    Re: Script Settings for Rss Feed?

    Here is the file that you will need to update for the PHP 4.x system.

    This file should replace the current /forum-news/classes/access/xml.php file.

    (file is attached to this post).
    Attached Files

  5. Re: Script Settings for Rss Feed?

    Hi Patiek,

    I uploaded the news script, set the source to rss, put in the rss url and uploaded the xml file, then generated the code and put it in my .php page and got this error.

    Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /public_html/news/classes/sources/RSS/RSS.php on line 108

    BTW, I changed the folder forum-news to just news



  6. Join Date
    Aug 2004
    Posts
    781

    Re: Script Settings for Rss Feed?

    I forgot about the rss.php file as well.

    I know it seems like I am being sloppy, but in truth I am transitioning to a new OS and trying to provide you support at the same time .

    Let me finish switching over to my new operating system and then I will post the updated RSS.php file.

    The problem is the syntax $something->another()->final() that is acceptable in PHP 5 but not PHP 4. I will post the updated RSS.php file here in a bit.

  7. Re: Script Settings for Rss Feed?

    Thanks Patiek, no hurry man. I really appreciate everything

  8. Re: Script Settings for Rss Feed?

    Sorry to be impatient and a pest Patiek, I know your busy, but when can I expect that file brotha. Your script is too good not to be in use

  9. Join Date
    Aug 2004
    Posts
    781

    Re: Script Settings for Rss Feed?

    I will post it later today.

  10. Join Date
    Aug 2004
    Posts
    781

    Re: Script Settings for Rss Feed?

    I guess I didn't post it later that day.

    I haven't tested this yet (other than with PHP 5 parser). Tell me if it works or if it still throws up an error (and post the entire error that it gives).

    (attached again)

    The file replaces /forum-news/classes/sources/RSS/RSS.php

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts