mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 00:36:25 +00:00
01_FHEMWEB.pm: fixing RSS
git-svn-id: https://svn.fhem.de/fhem/trunk@7526 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
0c43ee1450
commit
5fffcb5f19
@ -518,7 +518,7 @@ FW_answerCall($)
|
|||||||
$iconPath =~ m/(.*)\.([^.]*)/;
|
$iconPath =~ m/(.*)\.([^.]*)/;
|
||||||
return FW_serveSpecial($1, $2, $FW_icondir, $cacheable);
|
return FW_serveSpecial($1, $2, $FW_icondir, $cacheable);
|
||||||
|
|
||||||
} elsif($arg =~ m,^$FW_ME/(.*)/([^/]*)$,) { # the "normal" case
|
} elsif($arg =~ m,^$FW_ME/(.*)/([^/]*)$, && !$data{FWEXT}{"/$1"}) {
|
||||||
my ($dir, $ofile, $ext) = ($1, $2, "");
|
my ($dir, $ofile, $ext) = ($1, $2, "");
|
||||||
$dir =~ s/\.\.//g;
|
$dir =~ s/\.\.//g;
|
||||||
$dir =~ s,www/,,g; # Want commandref.html to work from file://...
|
$dir =~ s,www/,,g; # Want commandref.html to work from file://...
|
||||||
|
@ -7,7 +7,10 @@ HOWTO:
|
|||||||
perl fhem.pl fhem.cfg.demo
|
perl fhem.pl fhem.cfg.demo
|
||||||
(typed in a terminal) and point your browser to http://YourFhemHost:8083
|
(typed in a terminal) and point your browser to http://YourFhemHost:8083
|
||||||
Use the startfhemDemo skript on the FritzBox.
|
Use the startfhemDemo skript on the FritzBox.
|
||||||
|
If you'd like to see the RSS demo, you have to install the Perl GD library,
|
||||||
|
e.g. with:
|
||||||
|
sudo apt-get install libgd-gd2-perl
|
||||||
|
sudo apt-get install libgd-text-perl
|
||||||
|
|
||||||
Stopping:
|
Stopping:
|
||||||
- type shutdown in the browser command window, followed by RETURN
|
- type shutdown in the browser command window, followed by RETURN
|
||||||
|
Loading…
Reference in New Issue
Block a user