The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
RSS Feed in vB 3.7.4
I'm trying to add an RSS feed to my site which will then populate a forum thread. The feed is here:
http://www.swissinfo.ch/eng/rss/business/index.xmlUnfortunately, when I preview the feed, I get the following message: Warning: fsockopen() [function.fsockopen]: unable to connect to www.swissinfo.ch:80 (Ein Verbindungsversuch ist fehlgeschlagen, da die Gegenstelle nach einer bestimmten Zeitspanne nicht ordnungsgem?? reagiert hat, oder die hergestellte Verbindung war fehlerhaft, da der verbundene Host nicht reagiert hat. ) in [path]\includes\class_rss_poster.php on line 98The German is roughly: the connection attempt failed because the opposing side didn't answer correctly within the given time or the connection was faulty because the connected host didn't respond. I can imagine that there may be some required setting at the server, but could anyone point me in the general direction so that I can let them know where to look? Thanks. |
#2
|
||||
|
||||
Most likely, there may be a firewall in place on the server blocking such connections.
|
#3
|
||||
|
||||
Would a firewall mess with the RSS feed in any other way? I am not getting the feed posted like it is from the source.
|
#4
|
||||
|
||||
View the RSS feed in a RSS feed viewer, see if that matches whats posted in your forum
|
#5
|
||||
|
||||
No, a firewall should either allow something, or block something. It should not alter it.
|
#6
|
|||
|
|||
Just to wrap up my question: it turns out that the hoster was blocking access of this sort back out through the firewall. They've enabled access for the feeds I was after and it seems to work fine.
The problem above ("something not formatted correctly") might be related to something I saw once the feed worked. The default body template which is provided when creating a new feed needed a bit of work. Default is this: PHP Code:
PHP Code:
|
#7
|
||||
|
||||
Quote:
Quote:
|
#8
|
|||
|
|||
Quote:
Keep in mind, if you view the source, it often comes with a DTD which adds formatting information which is rendered by your viewer or browser. Your forum post won't interpret that. It's all about the template and whatever you do with that in the RSS Manager. You can basically count on the text content (is it correct?) but the formatting's up to you. |
#9
|
||||
|
||||
The text is correct, but all links are typed in and showing http:// what ever the link is and they are not links. Just plain text... All links are plain text.
If you were to type a URL in notepad that is what all RSS posts look like for me. Here is a post by my RSS account.....That is what was actually posted. When I look at the feed in IE from the source all is fine with it. But the result is below. Quote:
|
#10
|
|||
|
|||
Ok... I might have the answer for you. I had the same problem. I had thought that it was the quotes in the template (see above). I'm now fairly convinced that it had to do with the forum definition. Check the forum definitions for
Allow BB Code I'm pretty sure you want it set to yes. Otherwise the links come in as [url]. Another question - the template only expands a small set of codes. Does your RSS feed have a <link> element? If it's called something else, the {feed:link} tag (see sample above) won't find it. If the BB Code doesn't solve the problem, you'd need to post a sample item from your feed. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|