Hallo!
Ich habe das Forum durchsucht, konnte aber noch kein Posting zu diesem Thema finden. Deshalb möchte ich zur Diskussion stellen, was die Community von einem Modul für die automatische Prüfung der internen und externen Links hält. Je mehr Redakteure eine Webseite mit pflegen, desto schwieriger ist es, den Überblick zu haben und alle Links "sauber" zu halten.
Meine Idee: Das Modul, konfigurierbar in der Admin-Ebene, prüft in einem frei wählbaren Zeitintervall (z.B. täglich, wöchentlich) alle verwendeten Links innerhalb der Webseite durch und schreibt eine Log-Datei. Broken Links könnten so systematisch vom Redakteur oder Admin abgearbeitet werden.
Hat Jemand vielleicht schon in eine ähnliche Richtung gedacht?
Gibt es eventuell Open-Source-Lösungen, die als Zwischenlösung relativ einfach (z.B. als CGI) eingebunden werden könnten?
Gruß aus Herxheim,
TMerz
_____________________________________________________________
This posting in english (and sorry for my limited translation!):
Hello,
I searched the forum but couldn´t find any similar thread. So I suppose to discuss: What´s Your opinion about a automatic running link checker-modul, integrated in PHPWCMS to check all used internal and external links within the website? The more persons writing content, the more difficult is it to keep overview about the used links and keep them "clean".
The idea: A mod, configurable in the admin-section, checks the used links e.g. daily / weekly and writes a log-file. So the users and the admin are able to work simply on broken links.
Has anyone in the community had this idea in similar way?
Are there opensource-solutions available, e.g. as CGI, which are simple to integrate before a full integrated mod exists?
Greetings,
TMerz
Integrate automatic Link Check?
OK
I'v got some snippet:
- an php function to ping an URL (ftp/http) (in use)
with return:
- command for request
- answer from request
- head from side
- summary: ok || !
- time for request
( it's with ideas from: (GPL)
http://www.linuxfibel.de/dns_srv.htm
http://www.scit.wlv.ac.uk/~jphb/comms/dns.html
http://de.selfhtml.org/diverses/httpstatuscodes.htm )
- checks the used links e.g. daily / weekly: I can write an litte sript
- writes a log-file: I can write an litte sript
=================================
We need:
- one side 4 Admin: options/logfile management/...
Next please....
- an php function to ping an URL (ftp/http
with return:
- command for request
- answer from request
- head from side
- summary: ok || !
- time for request
( it's with ideas from: (GPL)
http://www.linuxfibel.de/dns_srv.htm
http://www.scit.wlv.ac.uk/~jphb/comms/dns.html
http://de.selfhtml.org/diverses/httpstatuscodes.htm )
- checks the used links e.g. daily / weekly: I can write an litte sript
- writes a log-file: I can write an litte sript
=================================
We need:
- one side 4 Admin: options/logfile management/...
Next please....
Erfahrung ist das, was man besitzt, kurz nach dem es gebraucht wurde.
Warning: I have no foggiest idea of English/German, but I do
-ha{p}{p}y day/night/dia/noche-
Warning: I have no foggiest idea of English/German, but I do
-ha{p}{p}y day/night/dia/noche-
Re: OK
Neelix wrote:I'v got some snippet:
- an php function to ping an URL (ftp/http) (in use)
with return:
- command for request
- answer from request
- head from side
- summary: ok || !
- time for request
( it's with ideas from: (GPL)
http://www.linuxfibel.de/dns_srv.htm
http://www.scit.wlv.ac.uk/~jphb/comms/dns.html
http://de.selfhtml.org/diverses/httpstatuscodes.htm )
- checks the used links e.g. daily / weekly: I can write an litte sript
- writes a log-file: I can write an litte sript
Sounds great! These are exactly the features for a useful mod!
![Laughing :lol:](./images/smilies/icon_lol.gif)
Neelix wrote:We need:
- one side 4 Admin: options/logfile management/...
Next please....
I´m not sure: What do You mean with that exactly?
![Question :?:](./images/smilies/icon_question.gif)
Unfortunately I have absolut no knowledge in coding such scriptings and can´t support You for that. Testing and documentation is not the question.
Please post here again, if there is a chance You would put some work into an automatic link-checker module. Thanks, Neelix!
Greetings,
TMerz
(sorry again for my english)
Re: OK
We need: ...
I think: one side for the admin with options (in witch interval we scan, all article or mybe an area 1..10), mybe an list 4log-reading (can be an table, not an file)...
...Next please...
other user need/will other features
![Wink :wink:](./images/smilies/icon_wink.gif)
![Cool 8)](./images/smilies/icon_cool.gif)
[Edit:]
Statusreport -> I'v started an MOD - Download will be follow next time...
4Tester: look here --...--/index.php?topic=115.0 + PN me, 4wishes/report/notes/... Thanks
I think: one side for the admin with options (in witch interval we scan, all article or mybe an area 1..10), mybe an list 4log-reading (can be an table, not an file)...
...Next please...
other user need/will other features
... on my way...if there is a chance You would put some work into an automatic link-checker module
![Wink :wink:](./images/smilies/icon_wink.gif)
there is enough to do 4 "not coder"Testing and documentation is not the question.
![Cool 8)](./images/smilies/icon_cool.gif)
[Edit:]
Statusreport -> I'v started an MOD - Download will be follow next time...
4Tester: look here --...--/index.php?topic=115.0 + PN me, 4wishes/report/notes/... Thanks
Erfahrung ist das, was man besitzt, kurz nach dem es gebraucht wurde.
Warning: I have no foggiest idea of English/German, but I do
-ha{p}{p}y day/night/dia/noche-
Warning: I have no foggiest idea of English/German, but I do
-ha{p}{p}y day/night/dia/noche-
I dont understand this:
What to do?#
#-----[ v1.2.1-DEV & Release 1.1-RC4 27-08-2004 ]-------
#-----<START>----------------------------------------
#
#-----[ LINUX: CREATE LINK ]-------------------------
#
in phpwcms_template/inc_script/frontend_init to
include/inc_module/mod_lc/inc_front/lc.interval.scan.php
ln -s ../../../include/inc_module/mod_lc/inc_front/lc.interval.scan.php
#
#-----[ NOT LINUX: COPY ]----------------------------
#
cp include/inc_module/mod_lc/inc_front/lc.interval.scan.php phpwcms_template/inc_script/frontend_init/
#----->END<------------------------------------------
http://www.studmed.dk Portal for doctors and medical students in Denmark