Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: [contrib] Textpattern Planet
colak wrote:
Hi Bert, I started using simplepie as from yesterday in the home page of neme.org site. The idea was that I wanted to create a unifying interface between 2 txp installs and a punBB forum. All is working just fine. The site is hosted in textdrive.
Hey colak,
I’m using the Textpattern plugin made by SimplePie also, we just can’t figure out why it fails to read feeds coming from certain servers. I’m working with the developers on this issue, hopefully we’ll get it working soon.
I figure neme.org and all the sites it’s feeding from are all on Textdrive? Would you mind telling me what version of PHP and Curl your site is using, thanks.
Last edited by hcgtv (2006-08-26 16:52:27)
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
Re: [contrib] Textpattern Planet
hcgtv wrote:
I figure neme.org and all the sites it’s feeding from are all on Textdrive? Would you mind telling me what version of PHP and Curl your site is using, thanks.
here’s the info from the diagnostics
PHP version: 5.1.4
Server Local Time: 2006-08-26 16:58:14
MySQL: 4.1.18-log
Locale: en_GB.ISO_8859-1
Server: Apache
PHP Server API: cgi-fcgi
Server OS: FreeBSD 5.4-STABLE
How do I get the Curl version?
A note: All sites I am getting the feeds from belong to the same domain. Just thought I should clarify that one.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: [contrib] Textpattern Planet
colak wrote:
How do I get the Curl version?
In your PunBB forum, go to the Administration section and click Show info next to the PHP version.
On my laptop, I’m running PHP 5.1.4 and all was running well. It’s only on my VPS running PHP 4.3.10 that I’m having issues.
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
Re: [contrib] Textpattern Planet
Thanks:) Here ya go
libcurl/7.14.0 OpenSSL/0.9.7e zlib/1.2.2
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: [contrib] Textpattern Planet
colak wrote:
libcurl/7.14.0 OpenSSL/0.9.7e zlib/1.2.2
My laptop: libcurl/7.14.0 OpenSSL/0.9.8a zlib/1.2.3
Spent a good part of yesterday reading up on Curl, very powerful capabilities. Didn’t come across anything that would indicate why PHP 4.3.10 would be having issues, but I’ll keep Googling, the answer is out there somewhere.
Once Debian Etch becomes stable later this year, I’ll update the VPS to PHP 5.
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
Re: [contrib] Textpattern Planet
Heya Bert, check on this:
allow_url_fopen (in php – maybe the .ini file?)
Read this
I hope that helps…maybe?
Offline
Re: [contrib] Textpattern Planet
Walker wrote:
Heya Bert, check on this:
allow_url_fopen (in php – maybe the .ini file?)
I have allow_url_fopen set to on in the php.ini file.
I think it’s an issue with Curl running on Debian’s PHP 4.3.10, we haven’t been able to figure out why but we’re still searching for a reason. I’m grabbing SimplePie’s SVN daily, hoping to find a fix included.
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
Re: [contrib] Textpattern Planet
Well, the simplePie guys did say that it falls back to use other methods if curl is not available. Can you force those other methods so that they’re tried first?
Offline
Re: [contrib] Textpattern Planet
Walker wrote:
Well, the simplePie guys did say that it falls back to use other methods if curl is not available. Can you force those other methods so that they’re tried first?
In SimplePie it will use Curl if it finds it loaded but it doesn’t fall back to use fsockopen if the feed fails while using Curl.
fsockopen reads Textdrive feeds just fine cause rss_fetch uses it as it’s preferred method, but rss_fetch freaks out on Textpattern 4.0.3 feeds.
At this point I feel like I’m half way through playing a game of Clue, rather than give up I want to know if it’s Colonel Mustard with the Candlestick in the Observatory ;)
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
Re: [contrib] Textpattern Planet
What the most recent finding means is that it is not your server, and it is not DNS, it is either: SimplePie or the RSS feeds you’re trying to grab. One of the two is at fault. We know this because Zeldman’s feed worked both by IP and by Domain (ruling out curl & DNS).
Offline
Re: [contrib] Textpattern Planet
Solved the mystery, it was my DNS server settings.
It was taking my server about 12 to 15 seconds to resolve any sites hosted on Textdrive and SimplePie had a timeout of 10 seconds. I changed the order of the DNS servers in my /etc/resolv.conf and all is well now.
I’m still tweaking things but Textpattern Planet is working!
Some of the feeds are displaying in reverse order from Textpattern driven sites, they are the ones with no dates, but I think a new version of SimplePie will fix these as would the new rss coming in 4.0.4.
There is an rss.php file that is better suited for PunBB forum feeds, it’s been tweaked by a few of us and I use it on my forums. You can see the difference at the PHPXref forum: extern.php rss.php
The header links to the Dev blog and FAQ return you to Textpattern’s home page, I guess that’s the way it works when feeding a section?
The feeds update every hour, it takes about 10 seconds to refresh them so if you hit the site and have to wait, well you’re the lucky one ;)
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
#48 2006-08-30 20:32:51
- alexandra
- Member
- From: Cologne, Germany
- Registered: 2004-04-02
- Posts: 1,370
Re: [contrib] Textpattern Planet
w00t, Bert you are the man :) way cool you brought this all together!
If you like, you can add the german TXP resource blog too. It´s in german though
http://textpattern.kbbu.de
Some nice styling and Textplanet will look beautiful. Well done!!
Offline