Jump to:

23480 Posts in 18951 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » RSS Feeds

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1 2
Go to End
Author Topic: 2627 Views
  • Mackodlak
    Community Member
    95 Posts

    Re: RSS Feeds Link to this post

    probably alrdy boring with this, but can't seem to shorten the size of summary in any way I have tried.
    Neither of LimitWordCount, LimitWordCountXML, FirstParagraph, FirstSentence, FirstParagraph.... don't work.
    Any1 gave this any thought? Any1 has an idea?

  • Mackodlak
    Community Member
    95 Posts

    Re: RSS Feeds Link to this post

    Hey guys, one more thing.

    I am getting a timeout error when getting an RSS feed from Darkreading.org
    Now, I am aware that not RSS feed source will be up at every time, but this prevents me from accesing my site, since the timeout simply give me an error every time. How to get around it?
    Problem is we're displaying 2 random RSS feeds from 2 random sources on hompage and on one more page from Menu(1) . Not being able to access it every time a source is down is gonna be bad for us.

    [Warning] fsockopen(): unable to connect to www.darkreading.com:80 (Connection timed out)
    GET /ss/svijet-sigurnosti/

    Line 6551 in /var/www/ss/sapphire/thirdparty/simplepie/simplepie.inc

    6542             if (isset($url_parts['scheme']) && strtolower($url_parts['scheme']) == 'https')
    6543             {
    6544                $url_parts['host'] = "ssl://$url_parts[host]";
    6545                $url_parts['port'] = 443;
    6546             }
    6547             if (!isset($url_parts['port']))
    6548             {
    6549                $url_parts['port'] = 80;
    6550             }
    6551             $fp = fsockopen($url_parts['host'], $url_parts['port'], $errno, $errstr, $timeout);
    6552             if (!$fp)
    6553             {
    6554                $this->error = 'fsockopen error: ' . $errstr;
    6555                $this->success = false;
    6556             }
    6557             else

Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.