Question
I installed
HeadlinesPlugin and was unable to get it to work using its examples and trying some of my own feeble feed attemps... all resulted in the following error:
HeadlinesPlugin ERROR: 500 Can't connect to twiki.org:80 (connect: timeout)
How can you set up an RSS Feed on a TWiki page? I saw another TWiki user asked about this plugin and never got an anwer... so how about getting RSS to work at all? Does anybody know how to do it in TWiki? And if so... how?
Environment
--
JeffreyLovretich - 21 Aug 2007
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
I read that you want to
show an RSS feed in a topic.
First you might want to check if
HeadlinesPlugin is installed correctly. Visit TWiki.InstalledPlugins and see if any errors are displayed. If all is well, proceed here.
At my company we have a page where employee blogs are displayed. This is the code we use:
%STARTINCLUDE%
%INCLUDE{"%TOPIC%" section="blog" url="http://blogger.xs4all.nl/peterned/rss.aspx"}%
%INCLUDE{"%TOPIC%" section="blog" url="http://feeds.feedburner.com/martijndevisser"}%
%STOPINCLUDE%
<!--
%STARTSECTION{"blog"}%%HEADLINES{"%url%" header="---+++!! $title <span class=\"twikiGrayText twikiSmall\">[[$link][#]]</span>" format=" * [[$link][$title]]<span class=\"twikiGrayText twikiHidden\">$date</span>" limit="3"}%%ENDSECTION{"blog"}%
-->
It generates this code (1 shown):
--
ArthurClemens - 21 Aug 2007
I have tried the code you provided and still get the same error as listed in the original question. I have also swapped it out for other RSS Feed URLs and continue to get the same result. A side effect of adding the code you provided is that it breaks my previously working comments field.
I also removed the
HeadLines plugin and reinstalled and got the same results as listed above.
Still looking for a workable solution.
--
JeffreyLovretich - 27 Aug 2007
What does your Apache error log say?
--
ArthurClemens - 27 Aug 2007
[Mon Aug 27 03:27:31 2007] [error] [client 199.81.161.19] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /
[Mon Aug 27 03:27:44 2007] [error] [client 199.81.161.19] Invalid method in request \x16\x03\x01
[Mon Aug 27 03:27:44 2007] [error] [client 199.81.161.19] Invalid method in request \x16\x03
[Mon Aug 27 03:27:44 2007] [error] [client 199.81.161.19] Directory index forbidden by rule: /var/www/html/
[Mon Aug 27 10:11:47 2007] [error] [client 199.82.243.72] File does not exist: /var/www/html/favicon.ico
[Mon Aug 27 10:20:32 2007] [error] [client 199.81.161.19] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /
[Mon Aug 27 10:20:38 2007] [error] [client 199.81.161.19] Directory index forbidden by rule: /var/www/html/
[Mon Aug 27 10:20:49 2007] [error] [client 199.81.161.19] Invalid method in request \x16\x03\x01
[Mon Aug 27 10:20:49 2007] [error] [client 199.81.161.19] Invalid method in request \x16\x03
[Mon Aug 27 10:20:49 2007] [error] [client 199.81.161.19] Directory index forbidden by rule: /var/www/html/
--
JeffreyLovretich - 27 Aug 2007
I'm not sure how to inerpret those log entries, but maybe someone else can.
Re your question about perl version, it's the version of the main perl program, not the extra components. One way of getting the version is by typing on the commandline 'perl --version'.
--
SueBlake - 01 Oct 2007
Does your server computer need to go via a proxy to download something from the web? That's quite likely if it's an intranet.
--
SueBlake - 01 Oct 2007
Sorry, closing this after more than 30 days of inactivity. Please feel free to re-open if needed.
--
PeterThoeny - 02 Dec 2007