Has anyone configured and ran this utility in the misc folder? Looks like a cool tool but I don't know enough about perl to know what needs to be modified. I'll take it to my resident perl expert and have him interpret for me and maybe play with it. Just checking before I spend time on it. -- View this message in context: http://old.nabble.com/check-url.pl-tp27307963p27307963.html Sent from the Koha - Dev mailing list archive at Nabble.com.
David, I found an old email that references: http://git.koha.org/cgi-bin/gitweb.cgi?p=Koha;a=commit;h=37c50c6e34926eb2478... http://git.koha.org/cgi-bin/gitweb.cgi?p=Koha;a=commit;h=64505d71188847dc465... that was the patch that added that feature - but git.koha.org seems to be down right now. Nicole On Mon, Jan 25, 2010 at 10:32 AM, David Schuster <dschust1@tx.rr.com> wrote:
Has anyone configured and ran this utility in the misc folder?
Looks like a cool tool but I don't know enough about perl to know what needs to be modified. I'll take it to my resident perl expert and have him interpret for me and maybe play with it. Just checking before I spend time on it. -- View this message in context: http://old.nabble.com/check-url.pl-tp27307963p27307963.html Sent from the Koha - Dev mailing list archive at Nabble.com.
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha.org http://lists.koha.org/mailman/listinfo/koha-devel
Has anyone configured and ran this utility in the misc folder?
Looks like a cool tool but I don't know enough about perl to know what needs to be modified. I'll take it to my resident perl expert and have him interpret for me and maybe play with it. Just checking before I spend time on it.
Try 'perldoc check-url.pl' to have a documentation: NAME check-url.pl - Check URLs from 856$u field. USAGE check-url.pl [--verbose|--help] [--host=http://default.tld] Scan all URLs found in 856$u of bib records and display if resources are available or not. PARAMETERS --host=http://default.tld Server host used when URL doesn’t have one, ie doesn’t begin with ’http:’. For example, if --host=http://www.mylib.com, then when 856$u contains ’img/image.jpg’, the url checked is: http://www.mylib.com/image.jpg’. --verbose|-v Outputs both successful and failed URLs. --html Formats output in HTML. The result can be redirected to a file accessible by http. This way, it’s possible to link directly to biblio record in edit mode. With this parameter --host-pro is required. --host-pro=http://koha-pro.tld Server host used to link to biblio record editing page. --help|-h Print this help page. -- Frédéric
Thanks again all - I'm going to play with this on my test server to see what happens! ---- Frederic Demians <frederic@tamil.fr> wrote:
Has anyone configured and ran this utility in the misc folder?
Looks like a cool tool but I don't know enough about perl to know what needs to be modified. I'll take it to my resident perl expert and have him interpret for me and maybe play with it. Just checking before I spend time on it.
Try 'perldoc check-url.pl' to have a documentation:
NAME check-url.pl - Check URLs from 856$u field.
USAGE check-url.pl [--verbose|--help] [--host=http://default.tld] Scan all URLs found in 856$u of bib records and display if resources are available or not.
PARAMETERS --host=http://default.tld Server host used when URL doesn’t have one, ie doesn’t begin with ’http:’. For example, if --host=http://www.mylib.com, then when 856$u contains ’img/image.jpg’, the url checked is: http://www.mylib.com/image.jpg’.
--verbose|-v Outputs both successful and failed URLs.
--html Formats output in HTML. The result can be redirected to a file accessible by http. This way, it’s possible to link directly to biblio record in edit mode. With this parameter --host-pro is required.
--host-pro=http://koha-pro.tld Server host used to link to biblio record editing page.
--help|-h Print this help page.
-- Frédéric
participants (4)
-
David Schuster -
dschust1@tx.rr.com -
Frederic Demians -
Nicole Engard