Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.857.833 Times

App::SimpleScan::Plugin::LinkCheck 1.03

  Date Added: January 09, 2010  |  Visits: 705

App::SimpleScan::Plugin::LinkCheck

Report Broken Link
Printer Friendly Version


Product Homepage
Download (74 downloads)



App::SimpleScan::Plugin::LinkCheck is a Perl module with link counting/presence/absence plugin. SYNOPSIS # After this plugin is installed: %%has_link My stuff %%no_link Send email # The has_link and no_link checks will run for every test spec. http://someplace.com /foo/ Y Got my page http://someplace.com/subpage /foo/ Y Got my subpage # Stop checking for the My stuff link %%forget_link My stuff # Now only the "no Send email link test will run. http://someplace.com/map /foo/ Y Get map page # More specific tests can be done: # The page will have exactly one home link %%has_link Home == 1 # The page will have a non-zero number of offsite links. %%has_link offsite > 0 http://someplace.com/links /foo/ Y Get links page # Now both these tests and the send email test will run. Th Linkcheck plugin adds simple link counting and presence/absence checking pragmas to simple_scan. These pragmas are assertions; they will be run for every test spec occurring after the pragma(s) appear in the intput file. You can, for instance, assert that you do not want to see a link named Click here anywhere in the pages referenced by the test specs in this test: %%no_link Click here Additional test specs generated by variable substitution will each have the check made, so for example %%which bar baz quux http://< which >.foo.com /foo.com/ Y Fetch page would check for /foo.com/ on each of bar.foo.com, baz.foo.com, and quux.foo.com, and also check for zero links whose name is Click here on each of these pages. Conversely, you can assert that a link must be present on each page you look at: %%has_link back This means that a link named back must appear on every page you fetch after this pragma occurs in the input. You may want to remove the condition for some pages in your tests; this can easily be done by forgetting the link: %%forget_link back The assertion has now been dropped, and will not be tested through the rest of the file. If you want to forget all of the currently-active link-count assertions, just use %%forget_all_links and all of the link checks will stop. If you want to be more specific about the link counts, you can use the extended syntax for %%has_link: %%has_link beta >= 0 %%has_link up == 2 %%has_link report_problems != 1 Note that you can use any of the numeric operators and a count for this. These work just like the other tests, in that they apply to every test spec following until either the end of the file, or a %%forget_link that drops them..

Requirements: No special requirements
Platforms: Linux
Keyword: Appsimplescanpluginlinkcheck Libraries Link Linkcheck Page Perl Perl Module Programming Simplescan Test Tests Want To
Users rating: 0/10

License: Freeware Size: 8.19 KB
USER REVIEWS
More Reviews or Write Review


APP::SIMPLESCAN::PLUGIN::LINKCHECK RELATED
Libraries  -  Test::STD::PerlSTD 0.23
Test::STD::PerlSTD is a general Perl Software Test Description (STD). TITLE PAGE Gerneral Software Test Description (STD) for Perl Program Modules Revision: - Date: 2004/05/15 Prepared for: General Public Prepared by:...
122.88 KB  
Modules  -  Workflow post-install 6.x-1.2
Workflow post-install is a utility module containing functions you may want to execute on existing content after you have installed the Workflow module.This module was developed in response to various forum discussions, for instance #183133: Set...
10 KB  
Modules  -  Flickr API 5.x-1.x-dev 1.0
You don't need this module unless another module requires it or you want to develop a new Flickr-based module.To use this module a Flickr API key is required.InstallationUnpack in your modules folder (usually /sites/all/modules/) and enable under...
 
Modules  -  Affiliate Products Shop 5.x-1.x-de
This module targets the users who want to use affiliate products on their drupal sites.The module facilitates affiliate products feeds transfer from http://www.commissionjunction.com/ and http://www.linkshare.com/. You just have to fill...
20.48 KB  
Libraries  -  DBD::ODBC::Changes 1.13
DBD::ODBC::Changes is a Perl module with logs of significant changes to the DBD::ODBC..
97.28 KB  
Libraries  -  Class::DispatchToAll 0.11
Class::DispatchToAll Perl module can dispatch a method call to all inherited methods. SYNOPSIS package My::Class; our @ISA=qw(SomeClass SomeOtherClass More::Classes); use Class::DispatchToAll qw(dispatch_to_all); my $self=bless...
5.12 KB  
Networking Tools  -  Showerhead 195
Say youve got a really fat but high latency link, and you want to run something over it that uses tcp... but it cant use the whole link, because of tcp windows or whatever. At least thats what they told me happens, so I wrote this. I dont have any...
45.06 KB  
Education  -  Morse Audio 1.0.1.0
Morse Audio - Morse Code Learning Morse audio is a Morse code learning tools. Two function pages: 1. Character Page: tap "play" and select the Morse key you want to listen. 2. String Page: tap "play" and select the string you...
1024 KB  
Libraries  -  ExtUtils::CBuilder 0.19
ExtUtils::CBuilder is a Perl module to compile and link C code for Perl modules. SYNOPSIS use ExtUtils::CBuilder; my $b = ExtUtils::CBuilder->new(%options); $obj_file = $b->compile(source => MyModule.c); $lib_file = $b->link(objects =>...
19.46 KB  
Libraries  -  Number::Bytes::Human 0.07
Number::Bytes::Human is a Perl module that can convert byte count to human readable format. SYNOPSIS use Number::Bytes::Human qw(format_bytes); $size = format_bytes(0); # 0 $size = format_bytes(2*1024); # 2.0K $size =...
9.22 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.11.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
2.73 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB