Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Maybe a little off-topic, but I think a local feed reader is a nice application for the DNS-323. Attached is a simple script I'm using to make HTML pages from news feeds. It runs via lighttpd and needs the libxml2 ( http://www.inreto.de/dns323/fun-plug/0. … ml#libxml2 ) and newlisp packages ( http://www.inreto.de/dns323/fun-plug/0. … ml#newlisp ).
Installation is simple:
cd /mnt/HD_a2/www/pages tar xzvf /path/to/news-1.tar.gz
You need to make some changes to /ffp/etc/lighttpd.conf. First, be sure you have the cgi module enabled. Then, add 'index.l' to the list of index file names,
and '.l' to the list of cgi extensions:
... server.modules = ( ... "mod_cgi", ... index-file.names = ( "index.php", "index.html", "index.l", "index.htm", "default.htm" ) ... cgi.assign = ( ".pl" => "/ffp/bin/perl", ".cgi" => "/ffp/bin/sh", ".l" => "/ffp/bin/newlisp" )
An example list of feeds is in news/feeds.conf.l. It contains lists of URLs .
Offline
Hi there,
First of all, and you might get this quite a lot, thanx for providing the funplug to the community
Second, I'm having some problem accessing the web feeds with the script you provided. I'm getting an internal server error and when I look in the error.log file, I see:
(mod_cgi.c.734) stat for cgi-handler /ffp/bin/newslisp failed: No such file or directory
could you help me resolve this problem? I've done everything you posted above.
Oh, and I have another question. Does this script also store the old web feed in some sort of file? The reason I ask this is because I'm looking for a feed reader that can store old feeds in some sort of database to make it accessible for later times. If this script doesn't, do you know program/script that could do that and also makes it possible to search old feeds using the webinfterface?
thanx in advance
Last edited by egg_nostic (2009-02-28 13:51:24)
Offline
egg_nostic wrote:
Hi there,
First of all, and you might get this quite a lot, thanx for providing the funplug to the community
Second, I'm having some problem accessing the web feeds with the script you provided. I'm getting an internal server error and when I look in the error.log file, I see:
(mod_cgi.c.734) stat for cgi-handler /ffp/bin/newslisp failed: No such file or directory
could you help me resolve this problem? I've done everything you posted above.
Oh, and I have another question. Does this script also store the old web feed in some sort of file? The reason I ask this is because I'm looking for a feed reader that can store old feeds in some sort of database to make it accessible for later times. If this script doesn't, do you know program/script that could do that and also makes it possible to search old feeds using the webinfterface?
thanx in advance
I fixed this problem. The error message says it all ("newSlips")
Last edited by egg_nostic (2009-02-28 14:07:14)
Offline
I installed according instructions. When i point my browser to the index.l i get following error message:
ERR: problem accessing file in function load : "/usr/share/newlisp/modules/crypto.lsp"
I have no idea what this means.
Offline
knireis wrote:
I installed according instructions. When i point my browser to the index.l i get following error message:
ERR: problem accessing file in function load : "/usr/share/newlisp/modules/crypto.lsp"
I have no idea what this means.
I do.. the index.l file is incorrect. you should do the following changes:
line 1: #!/ffp/bin/newlisp
line 8: (load "/ffp/share/newlisp/modules/crypto.lsp")
The original code is not pointing to the newlisp package which is installed in your ffp directory.
After changing it, however, I dont get any descend RSS feed output; only a bunch of errors. I'm getting the impression that it can only process feeds that are directly pointing to a *.xml file.
tell me, if you got it to work...
good luck
Last edited by egg_nostic (2009-03-02 00:18:19)
Offline
egg_nostic wrote:
tell me, if you got it to work...
good luck
thanks for the help, Now I probably get the same errors as you get. It starts with:
Mon Mar 2 08:43:10 2009 dns323 dns323/de
Error: Could not get http://dns323.kood.org/forum/rss.php Data:
http://dns323.kood.org/forum
DSM-G600, DNS-323 and TS-I300 Hack Forum Rss Feed 18
en
© DSM-G600, DNS-323 and TS-I300 Hack Forum
Mon, 02 Mar 2009 09:43:39 +0200
Fatal error: Call to undefined function makeurl() in /home/omad/5017/forum.source.pri.ee/rss.php on line 91
Error: Could not get http://dns323.kood.org/feed.php Data:
http://dns323.kood.org/
2009-03-02T09:38:10+02:00
Offline
Yes and I have no idea how to fix it... and I have too little knowlegde of writing software nor do I have the time
Offline